diff --git a/.gitignore b/.gitignore index 2c409481..8aa6d22e 100644 --- a/.gitignore +++ b/.gitignore @@ -60,4 +60,4 @@ dependency-reduced-pom.xml *.mov # CMake -cmake-build-*/ \ No newline at end of file +cmake-build-*/jar/ diff --git a/codegen/input/meos-idl.json b/codegen/input/meos-idl.json index 63196ca2..a30af687 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", @@ -128,12 +258,42 @@ } ] }, + { + "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", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -152,9 +312,9 @@ "canonical": "const void *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" } ] }, @@ -162,8 +322,8 @@ "name": "rtree_search_temporal", "file": "meos.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -182,9 +342,44 @@ "canonical": "const Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + } + ] + }, + { + "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 *" } ] }, @@ -291,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", @@ -391,6 +595,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", @@ -1619,8 +1838,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1644,8 +1863,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1679,8 +1898,8 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" } ] }, @@ -1704,8 +1923,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1729,8 +1948,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1764,8 +1983,8 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" } ] }, @@ -1789,8 +2008,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1814,8 +2033,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -1849,8 +2068,8 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" } ] }, @@ -2334,8 +2553,8 @@ "params": [ { "name": "i", - "cType": "int", - "canonical": "int" + "cType": "int64", + "canonical": "long" } ] }, @@ -2349,8 +2568,38 @@ "params": [ { "name": "i", - "cType": "int", - "canonical": "int" + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "bigintspan_to_intspan", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "bigintspan_to_floatspan", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" } ] }, @@ -2504,6 +2753,21 @@ } ] }, + { + "name": "floatspan_to_bigintspan", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, { "name": "floatspan_to_intspan", "file": "meos.h", @@ -2594,6 +2858,21 @@ } ] }, + { + "name": "intspan_to_bigintspan", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, { "name": "intspan_to_floatspan", "file": "meos.h", @@ -2841,6 +3120,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -3006,6 +3290,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -3226,6 +3515,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -3391,6 +3685,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -3731,6 +4030,11 @@ "name": "ss", "cType": "const SpanSet *", "canonical": "const SpanSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -3831,6 +4135,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -3901,6 +4210,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -5471,6 +5785,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -5536,6 +5855,11 @@ "name": "ss", "cType": "const SpanSet *", "canonical": "const SpanSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -11529,6 +11853,31 @@ } ] }, + { + "name": "super_union_span_span", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, { "name": "union_span_spanset", "file": "meos.h", @@ -13304,8 +13653,8 @@ }, { "name": "size", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -13329,8 +13678,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -13364,8 +13713,8 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" } ] }, @@ -13464,6 +13813,26 @@ } ] }, + { + "name": "bigint_timestamptz_to_tbox", + "file": "meos.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, { "name": "int_tstzspan_to_tbox", "file": "meos.h", @@ -13484,6 +13853,26 @@ } ] }, + { + "name": "bigint_tstzspan_to_tbox", + "file": "meos.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, { "name": "numspan_tstzspan_to_tbox", "file": "meos.h", @@ -13493,12 +13882,12 @@ }, "params": [ { - "name": "span", + "name": "s", "cType": "const Span *", "canonical": "const Span *" }, { - "name": "s", + "name": "p", "cType": "const Span *", "canonical": "const Span *" } @@ -13589,6 +13978,21 @@ } ] }, + { + "name": "bigint_to_tbox", + "file": "meos.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, { "name": "set_to_tbox", "file": "meos.h", @@ -13634,6 +14038,21 @@ } ] }, + { + "name": "tbox_to_bigintspan", + "file": "meos.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, { "name": "tbox_to_intspan", "file": "meos.h", @@ -13795,7 +14214,7 @@ { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -13835,7 +14254,7 @@ { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -13875,7 +14294,7 @@ { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -13915,7 +14334,7 @@ { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -13979,6 +14398,26 @@ } ] }, + { + "name": "tboxbigint_xmax", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "result", + "cType": "int64 *", + "canonical": "long *" + } + ] + }, { "name": "tboxint_xmin", "file": "meos.h", @@ -13999,6 +14438,81 @@ } ] }, + { + "name": "tboxbigint_xmin", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "result", + "cType": "int64 *", + "canonical": "long *" + } + ] + }, + { + "name": "tbigintbox_expand", + "file": "meos.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "i", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "tbigintbox_shift_scale", + "file": "meos.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const 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", @@ -14619,6 +15133,51 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "tbool_from_mfjson", "file": "meos.h", @@ -14684,8 +15243,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -14744,8 +15303,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -14779,8 +15338,368 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" + } + ] + }, + { + "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 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": "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": "Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "meos_spanset_to_arrow", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const 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": "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": "SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "meos_tbox_to_arrow", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const 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": "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": "TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "meos_stbox_to_arrow", + "file": "meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const 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": "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": "STBox *" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" } ] }, @@ -14924,6 +15843,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": "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": "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": "TSequence *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "tbigintseqset_from_base_tstzspanset", + "file": "meos.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "i", + "cType": "int64", + "canonical": "long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, { "name": "tbool_from_base_temp", "file": "meos.h", @@ -15449,6 +16468,36 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "tbool_to_tint", "file": "meos.h", @@ -15479,6 +16528,21 @@ } ] }, + { + "name": "tfloat_to_tbigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, { "name": "tfloat_to_tint", "file": "meos.h", @@ -15509,6 +16573,21 @@ } ] }, + { + "name": "tint_to_tbigint", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, { "name": "tnumber_to_span", "file": "meos.h", @@ -15539,6 +16618,111 @@ } ] }, + { + "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": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "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", @@ -15593,9 +16777,9 @@ "canonical": "bool" }, { - "name": "value", + "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -15620,7 +16804,7 @@ { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -15629,7 +16813,7 @@ "file": "meos.h", "returnType": { "c": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" }, "params": [ { @@ -15764,6 +16948,26 @@ } ] }, + { + "name": "temporal_instants_p", + "file": "meos.h", + "returnType": { + "c": "const TInstant **", + "canonical": "const TInstant **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, { "name": "temporal_interp", "file": "meos.h", @@ -16044,6 +17248,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", @@ -16119,21 +17338,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", @@ -16218,7 +17422,7 @@ "canonical": "bool" }, { - "name": "value", + "name": "result", "cType": "double *", "canonical": "double *" } @@ -16353,7 +17557,7 @@ "canonical": "bool" }, { - "name": "value", + "name": "result", "cType": "int *", "canonical": "int *" } @@ -16548,7 +17752,7 @@ "canonical": "bool" }, { - "name": "value", + "name": "result", "cType": "text **", "canonical": "struct varlena **" } @@ -16619,6 +17823,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", @@ -17885,7 +19154,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 +19262,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", @@ -18113,6 +19402,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", @@ -18173,6 +19482,26 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "always_ge_float_tfloat", "file": "meos.h", @@ -18213,6 +19542,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", @@ -18313,6 +19662,26 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "always_gt_float_tfloat", "file": "meos.h", @@ -18353,6 +19722,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", @@ -18453,6 +19842,26 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "always_le_float_tfloat", "file": "meos.h", @@ -18493,6 +19902,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", @@ -18593,6 +20022,26 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "always_lt_float_tfloat", "file": "meos.h", @@ -18713,6 +20162,26 @@ } ] }, + { + "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_lt_ttext_text", "file": "meos.h", @@ -18793,6 +20262,26 @@ } ] }, + { + "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 +20302,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", @@ -18913,6 +20422,26 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "ever_eq_bool_tbool", "file": "meos.h", @@ -18973,6 +20502,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", @@ -19093,6 +20642,26 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "ever_ge_float_tfloat", "file": "meos.h", @@ -19133,6 +20702,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", @@ -19233,6 +20822,26 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "ever_gt_float_tfloat", "file": "meos.h", @@ -19273,6 +20882,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", @@ -19373,6 +21002,26 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "ever_le_float_tfloat", "file": "meos.h", @@ -19413,6 +21062,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", @@ -19513,6 +21182,26 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "ever_lt_float_tfloat", "file": "meos.h", @@ -19553,6 +21242,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", @@ -19653,6 +21362,26 @@ } ] }, + { + "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 *" + } + ] + }, { "name": "ever_ne_bool_tbool", "file": "meos.h", @@ -19713,6 +21442,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", @@ -22723,6 +24472,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 +24532,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 +24612,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 +24672,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 +24753,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 +24793,7 @@ ] }, { - "name": "mult_int_tint", + "name": "mul_int_tint", "file": "meos.h", "returnType": { "c": "Temporal *", @@ -22964,7 +24813,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 +24853,7 @@ ] }, { - "name": "mult_tint_int", + "name": "mul_tint_int", "file": "meos.h", "returnType": { "c": "Temporal *", @@ -23004,7 +24873,7 @@ ] }, { - "name": "mult_tnumber_tnumber", + "name": "mul_tnumber_tnumber", "file": "meos.h", "returnType": { "c": "Temporal *", @@ -23023,6 +24892,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 +24952,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", @@ -23608,6 +25517,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", @@ -23628,6 +25557,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", @@ -23648,6 +25597,46 @@ } ] }, + { + "name": "temporal_merge_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": "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", @@ -23683,6 +25672,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", @@ -23703,6 +25712,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", @@ -23723,6 +25752,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", @@ -23743,6 +25792,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", @@ -23859,7 +25928,7 @@ ] }, { - "name": "tint_tmin_transfn", + "name": "tint_tmax_combinefn", "file": "meos.h", "returnType": { "c": "SkipList *", @@ -23867,19 +25936,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 *", @@ -23899,7 +25968,7 @@ ] }, { - "name": "tint_wmax_transfn", + "name": "tint_tmin_combinefn", "file": "meos.h", "returnType": { "c": "SkipList *", @@ -23907,24 +25976,19 @@ }, "params": [ { - "name": "state", + "name": "state1", "cType": "SkipList *", "canonical": "struct SkipList *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" } ] }, { - "name": "tint_wmin_transfn", + "name": "tint_tsum_transfn", "file": "meos.h", "returnType": { "c": "SkipList *", @@ -23940,16 +26004,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 Interval *", - "canonical": "const Interval *" + "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 Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "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 Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tint_wsum_transfn", "file": "meos.h", "returnType": { "c": "SkipList *", @@ -24028,6 +26157,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", @@ -24133,6 +26282,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", @@ -24153,6 +26322,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", @@ -24408,6 +26597,86 @@ } ] }, + { + "name": "temporal_average_hausdorff_distance", + "file": "meos.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_lcss_distance", + "file": "meos.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "epsilon", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "temporal_ext_kalman_filter", + "file": "meos.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gate", + "cType": "double", + "canonical": "double" + }, + { + "name": "q", + "cType": "double", + "canonical": "double" + }, + { + "name": "variance", + "cType": "double", + "canonical": "double" + }, + { + "name": "to_drop", + "cType": "bool", + "canonical": "bool" + } + ] + }, { "name": "temporal_time_bins", "file": "meos.h", @@ -24442,8 +26711,8 @@ "name": "temporal_time_split", "file": "meos.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "TimeSplit", + "canonical": "TimeSplit" }, "params": [ { @@ -24460,16 +26729,6 @@ "name": "torigin", "cType": "TimestampTz", "canonical": "long" - }, - { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, @@ -24567,8 +26826,8 @@ "name": "tfloat_value_split", "file": "meos.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "FloatSplit", + "canonical": "FloatSplit" }, "params": [ { @@ -24585,16 +26844,6 @@ "name": "origin", "cType": "double", "canonical": "double" - }, - { - "name": "bins", - "cType": "double **", - "canonical": "double **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, @@ -24642,8 +26891,8 @@ "name": "tfloat_value_time_split", "file": "meos.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "FloatTimeSplit", + "canonical": "FloatTimeSplit" }, "params": [ { @@ -24670,21 +26919,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 *" } ] }, @@ -24882,8 +27116,8 @@ "name": "tint_value_split", "file": "meos.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "IntSplit", + "canonical": "IntSplit" }, "params": [ { @@ -24900,16 +27134,6 @@ "name": "vorigin", "cType": "int", "canonical": "int" - }, - { - "name": "bins", - "cType": "int **", - "canonical": "int **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, @@ -24957,8 +27181,8 @@ "name": "tint_value_time_split", "file": "meos.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "IntTimeSplit", + "canonical": "IntTimeSplit" }, "params": [ { @@ -24985,21 +27209,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 *" } ] }, @@ -25123,8 +27332,8 @@ }, { "name": "size", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -25233,8 +27442,8 @@ }, { "name": "wkb_size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" }, { "name": "srid", @@ -25293,21 +27502,6 @@ } ] }, - { - "name": "geog_from_binary", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ - { - "name": "wkb_bytea", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, { "name": "geog_from_hexewkb", "file": "meos_geo.h", @@ -25423,6 +27617,21 @@ } ] }, + { + "name": "box3d_in", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, { "name": "box3d_out", "file": "meos_geo.h", @@ -25488,6 +27697,21 @@ } ] }, + { + "name": "gbox_in", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, { "name": "gbox_out", "file": "meos_geo.h", @@ -26277,19 +28501,14 @@ "name": "geom_min_bounding_radius", "file": "meos_geo.h", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "MinBoundingCircle", + "canonical": "struct MinBoundingCircle" }, "params": [ { "name": "geom", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "radius", - "cType": "double *", - "canonical": "double *" } ] }, @@ -27015,6 +29234,11 @@ "name": "s", "cType": "const Set *", "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -27303,8 +29527,8 @@ }, { "name": "size", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -27328,8 +29552,8 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, @@ -27363,8 +29587,8 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "unsigned long" } ] }, @@ -27844,7 +30068,7 @@ { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -27884,7 +30108,7 @@ { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "_Bool *" } ] }, @@ -29462,8 +31686,8 @@ "name": "tpoint_as_mvtgeom", "file": "meos_geo.h", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "MvtGeom", + "canonical": "struct MvtGeom" }, "params": [ { @@ -29490,21 +31714,6 @@ "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 *" } ] }, @@ -29727,7 +31936,7 @@ "canonical": "bool" }, { - "name": "value", + "name": "result", "cType": "int **", "canonical": "int **" } @@ -29934,7 +32143,7 @@ ], "ownership": "caller", "nullable": true, - "doc": "Calcule la vitesse instantan\u00e9e d'un point temporel.", + "doc": "Computes the instantaneous speed of a temporal point.", "meos": { "temporalDim": "sequence", "spatialDim": null, @@ -30257,6 +32466,26 @@ } ] }, + { + "name": "tpoint_at_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 Span *" + } + ] + }, { "name": "tpoint_at_geom", "file": "meos_geo.h", @@ -30274,11 +32503,6 @@ "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "zspan", - "cType": "const Span *", - "canonical": "const Span *" } ] }, @@ -30302,6 +32526,26 @@ } ] }, + { + "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 Span *" + } + ] + }, { "name": "tpoint_minus_geom", "file": "meos_geo.h", @@ -30319,11 +32563,6 @@ "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "zspan", - "cType": "const Span *", - "canonical": "const Span *" } ] }, @@ -32167,6 +34406,66 @@ } ] }, + { + "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": "acovers_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", @@ -32684,16 +34983,6 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -32714,16 +35003,6 @@ "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -32744,16 +35023,6 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -32774,16 +35043,6 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -32804,16 +35063,6 @@ "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -32834,16 +35083,6 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -32864,16 +35103,6 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -32894,16 +35123,6 @@ "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -32924,16 +35143,6 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -32959,16 +35168,6 @@ "name": "dist", "cType": "double", "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -32994,16 +35193,6 @@ "name": "dist", "cType": "double", "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -33029,16 +35218,6 @@ "name": "dist", "cType": "double", "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -33059,16 +35238,6 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -33089,16 +35258,6 @@ "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -33119,16 +35278,6 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -33149,16 +35298,6 @@ "name": "temp", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -33179,16 +35318,6 @@ "name": "gs", "cType": "const int *", "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -33209,16 +35338,6 @@ "name": "temp2", "cType": "const Temporal *", "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, @@ -33442,6 +35561,181 @@ } ] }, + { + "name": "mindistance_tgeoarr_tgeoarr", + "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": "edwithin_tgeoarr_tgeoarr", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "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": "dist", + "cType": "double", + "canonical": "double" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tdwithin_tgeoarr_tgeoarr", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "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": "dist", + "cType": "double", + "canonical": "double" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "periods", + "cType": "SpanSet ***", + "canonical": "SpanSet ***" + } + ] + }, + { + "name": "adisjoint_tgeoarr_tgeoarr", + "file": "meos_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "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": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, { "name": "tpoint_tcentroid_finalfn", "file": "meos_geo.h", @@ -33472,8 +35766,8 @@ }, { "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" + "cType": "const Temporal *", + "canonical": "const Temporal *" } ] }, @@ -33746,8 +36040,8 @@ "name": "tgeo_space_split", "file": "meos_geo.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "SpaceSplit", + "canonical": "struct SpaceSplit" }, "params": [ { @@ -33784,16 +36078,6 @@ "name": "border_inc", "cType": "bool", "canonical": "bool" - }, - { - "name": "space_bins", - "cType": "int ***", - "canonical": "int ***" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, @@ -33801,8 +36085,8 @@ "name": "tgeo_space_time_split", "file": "meos_geo.h", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "SpaceTimeSplit", + "canonical": "struct SpaceTimeSplit" }, "params": [ { @@ -33849,21 +36133,6 @@ "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 *" } ] }, @@ -33889,6 +36158,11 @@ "name": "k", "cType": "uint32_t", "canonical": "unsigned int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, @@ -33981,410 +36255,53888 @@ "canonical": "int *" } ] - } - ], - "structs": [ + }, { - "name": "Set", - "file": "meos.h", - "fields": [ - { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 - }, + "name": "geo_wlof", + "file": "meos_geo.h", + "returnType": { + "c": "double *", + "canonical": "double *" + }, + "params": [ { - "name": "settype", - "cType": "uint8", - "offset_bits": 32 + "name": "geoms", + "cType": "const int **", + "canonical": "const int **" }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": 40 + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" }, { - "name": "flags", - "cType": "int16", - "offset_bits": 48 + "name": "k", + "cType": "uint32_t", + "canonical": "unsigned int" }, { - "name": "count", - "cType": "int32", - "offset_bits": 64 + "name": "epsilon", + "cType": "double", + "canonical": "double" }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 + "name": "newcount", + "cType": "uint32_t *", + "canonical": "unsigned int *" }, { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 128 + "name": "clusters", + "cType": "int ***", + "canonical": "int ***" } ] }, { - "name": "Span", - "file": "meos.h", - "fields": [ - { - "name": "spantype", - "cType": "uint8", - "offset_bits": 0 - }, - { - "name": "basetype", - "cType": "uint8", - "offset_bits": 8 - }, - { - "name": "lower_inc", - "cType": "bool", - "offset_bits": 16 - }, - { - "name": "upper_inc", - "cType": "bool", - "offset_bits": 24 - }, - { - "name": "padding", - "cType": "char[4]", - "offset_bits": 32 - }, + "name": "cbuffer_as_ewkt", + "file": "meos_cbuffer.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ { - "name": "lower", - "cType": "Datum", - "offset_bits": 64 + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "upper", - "cType": "Datum", - "offset_bits": 128 + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "SpanSet", - "file": "meos.h", - "fields": [ - { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 - }, + "name": "cbuffer_as_hexwkb", + "file": "meos_cbuffer.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ { - "name": "spansettype", - "cType": "uint8", - "offset_bits": 32 + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "spantype", - "cType": "uint8", - "offset_bits": 40 + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": 48 - }, + "name": "size", + "cType": "size_t *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "cbuffer_as_text", + "file": "meos_cbuffer.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ { - "name": "padding", - "cType": "char", - "offset_bits": 56 + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "count", - "cType": "int32", - "offset_bits": 64 - }, + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_as_wkb", + "file": "meos_cbuffer.h", + "returnType": { + "c": "uint8_t *", + "canonical": "unsigned char *" + }, + "params": [ { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "span", - "cType": "Span", - "offset_bits": 128 + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" }, { - "name": "elems", - "cType": "Span[1]", - "offset_bits": 320 + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" } ] }, { - "name": "TBox", - "file": "meos.h", - "fields": [ + "name": "cbuffer_from_hexwkb", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ { - "name": "period", - "cType": "Span", - "offset_bits": 0 - }, + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "cbuffer_from_wkb", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ { - "name": "span", - "cType": "Span", - "offset_bits": 192 + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" }, { - "name": "flags", - "cType": "int16", - "offset_bits": 384 + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" } ] }, { - "name": "STBox", - "file": "meos.h", - "fields": [ - { - "name": "period", - "cType": "Span", - "offset_bits": 0 - }, + "name": "cbuffer_in", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ { - "name": "xmin", - "cType": "double", - "offset_bits": 192 - }, + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "cbuffer_out", + "file": "meos_cbuffer.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ { - "name": "ymin", - "cType": "double", - "offset_bits": 256 + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "zmin", - "cType": "double", - "offset_bits": 320 - }, + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_copy", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ { - "name": "xmax", - "cType": "double", - "offset_bits": 384 - }, + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_make", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ { - "name": "ymax", - "cType": "double", - "offset_bits": 448 + "name": "point", + "cType": "const int *", + "canonical": "const int *" }, { - "name": "zmax", + "name": "radius", "cType": "double", - "offset_bits": 512 - }, + "canonical": "double" + } + ] + }, + { + "name": "cbuffer_to_geom", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ { - "name": "srid", - "cType": "int32_t", - "offset_bits": 576 - }, + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_to_stbox", + "file": "meos_cbuffer.h", + "returnType": { + "c": "STBox *", + "canonical": "STBox *" + }, + "params": [ { - "name": "flags", - "cType": "int16", - "offset_bits": 608 + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "Temporal", - "file": "meos.h", - "fields": [ + "name": "cbufferarr_to_geom", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 + "name": "cbarr", + "cType": "const Cbuffer **", + "canonical": "const struct Cbuffer **" }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 - }, + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "geom_to_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 - }, + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "cbuffer_hash", + "file": "meos_cbuffer.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ { - "name": "flags", - "cType": "int16", - "offset_bits": 48 + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" } ] }, { - "name": "TInstant", - "file": "meos.h", - "fields": [ + "name": "cbuffer_hash_extended", + "file": "meos_cbuffer.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 - }, + "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": "STBox *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "cbuffer_timestamptz_to_stbox", + "file": "meos_cbuffer.h", + "returnType": { + "c": "STBox *", + "canonical": "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 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 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": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "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": "tcbufferinst_make", + "file": "meos_cbuffer.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "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_from_base_temp", + "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": "tcbufferseq_from_base_tstzset", + "file": "meos_cbuffer.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tcbufferseq_from_base_tstzspan", + "file": "meos_cbuffer.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tcbufferseqset_from_base_tstzspanset", + "file": "meos_cbuffer.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tcbuffer_end_value", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "temp", + "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_traversed_area", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffer_convex_hull", + "file": "meos_cbuffer.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcbuffer_start_value", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcbuffer_value_at_timestamptz", + "file": "meos_cbuffer.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": "Cbuffer **", + "canonical": "struct Cbuffer **" + } + ] + }, + { + "name": "tcbuffer_value_n", + "file": "meos_cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" + } + ] + }, + { + "name": "tcbuffer_values", + "file": "meos_cbuffer.h", + "returnType": { + "c": "Cbuffer **", + "canonical": "struct Cbuffer **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "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 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 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 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": "mindistance_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": "threshold", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "nai_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "returnType": { + "c": "TInstant *", + "canonical": "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": "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": "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": "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": "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_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": "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": "ensure_valid_cbuffer_cbuffer", + "file": "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": "ensure_valid_cbuffer_geo", + "file": "cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_cbuffer_stbox", + "file": "cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "ensure_valid_cbufferset_cbuffer", + "file": "cbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_collinear", + "file": "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": "cbuf3", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "ratio", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "cbuffersegm_interpolate", + "file": "cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "start", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "end", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "ratio", + "cType": "long double", + "canonical": "long double" + } + ] + }, + { + "name": "cbuffersegm_locate", + "file": "cbuffer.h", + "returnType": { + "c": "long double", + "canonical": "long double" + }, + "params": [ + { + "name": "start", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "end", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "value", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_parse", + "file": "cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "cbuffer_wkt_out", + "file": "cbuffer.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "extended", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "cbuffer_point_p", + "file": "cbuffer.h", + "returnType": { + "c": "const int *", + "canonical": "const int *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "datum_cbuffer_round", + "file": "cbuffer.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "buffer", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "cbuffer_transf_pj", + "file": "cbuffer.h", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "srid_to", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "pj", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "cbuffer_distance", + "file": "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": "datum_cbuffer_distance", + "file": "cbuffer.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "cbuffersegm_distance_turnpt", + "file": "cbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "end1", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "start2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "end2", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "cbuffer_contains", + "file": "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_covers", + "file": "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_disjoint", + "file": "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_intersects", + "file": "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_dwithin", + "file": "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": "cbuffer_touches", + "file": "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": "datum_cbuffer_contains", + "file": "cbuffer.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_cbuffer_covers", + "file": "cbuffer.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_cbuffer_disjoint", + "file": "cbuffer.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_cbuffer_intersects", + "file": "cbuffer.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_cbuffer_dwithin", + "file": "cbuffer.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_cbuffer_touches", + "file": "cbuffer.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "temptype_subtype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "subtype", + "cType": "tempSubtype", + "canonical": "tempSubtype" + } + ] + }, + { + "name": "temptype_subtype_all", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "subtype", + "cType": "tempSubtype", + "canonical": "tempSubtype" + } + ] + }, + { + "name": "tempsubtype_name", + "file": "meos_catalog.h", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "subtype", + "cType": "tempSubtype", + "canonical": "tempSubtype" + } + ] + }, + { + "name": "tempsubtype_from_string", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "subtype", + "cType": "int16 *", + "canonical": "short *" + } + ] + }, + { + "name": "meosoper_name", + "file": "meos_catalog.h", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "oper", + "cType": "MeosOper", + "canonical": "MeosOper" + } + ] + }, + { + "name": "meosoper_from_string", + "file": "meos_catalog.h", + "returnType": { + "c": "MeosOper", + "canonical": "MeosOper" + }, + "params": [ + { + "name": "name", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "interptype_name", + "file": "meos_catalog.h", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "interptype_from_string", + "file": "meos_catalog.h", + "returnType": { + "c": "interpType", + "canonical": "interpType" + }, + "params": [ + { + "name": "interp_str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "meos_typeof_hexwkb", + "file": "meos_catalog.h", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "meostype_name", + "file": "meos_catalog.h", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temptype_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "settype_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spantype_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spantype_spansettype", + "file": "meos_catalog.h", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spansettype_spantype", + "file": "meos_catalog.h", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "basetype_spantype", + "file": "meos_catalog.h", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "basetype_settype", + "file": "meos_catalog.h", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tnumber_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "geo_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "meos_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "alphanum_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "alphanum_temptype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "time_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "set_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "set_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "numset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_numset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "timeset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "set_spantype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_set_spantype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "alphanumset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "settype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "geoset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_geoset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spatialset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_spatialset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_canon_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "type_span_bbox", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_tbox_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_span_tbox_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "numspan_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "numspan_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_numspan_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "timespan_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "timespan_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spanset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "timespanset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_timespanset_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temporal_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temporal_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temptype_supports_linear", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "basetype_byvalue", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "basetype_varlength", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "meostype_length", + "file": "meos_catalog.h", + "returnType": { + "c": "int16", + "canonical": "short" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "talphanum_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "talpha_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tnumber_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tnumber_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tnumber_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tnumber_spantype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spatial_basetype", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tspatial_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tspatial_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tpoint_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tpoint_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tgeo_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tgeo_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tgeo_type_all", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tgeo_type_all", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tgeometry_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tgeometry_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tgeodetic_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tgeodetic_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tnumber_tpoint_type", + "file": "meos_catalog.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "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": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_degrees", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "normalize", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_float_round", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_floor", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_hash", + "file": "meos_internal.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_hash_extended", + "file": "meos_internal.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_radians", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "floatspan_round_set", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "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": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "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": "Span *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_out", + "file": "meos_internal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spanset_in", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spanset_out", + "file": "meos_internal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "set_make", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "const Datum *", + "canonical": "const unsigned long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "set_make_exp", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "const Datum *", + "canonical": "const unsigned long *" + }, + { + "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": "set_make_free", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "unsigned long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "span_make", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "lower", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "upper", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_set", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "lower", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "upper", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "Span *" + } + ] + }, + { + "name": "spanset_make_exp", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "spans", + "cType": "Span *", + "canonical": "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": "SpanSet *" + }, + "params": [ + { + "name": "spans", + "cType": "Span *", + "canonical": "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": "Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "set_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "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": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "value_set", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "value_span", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "numspan_width", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "numspanset_width", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "boundspan", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "set_end_value", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "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": "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": "Span *" + } + ] + }, + { + "name": "set_start_value", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "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": "unsigned long *" + } + ] + }, + { + "name": "set_vals", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "unsigned long *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "set_values", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "unsigned long *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "spanset_lower", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "spanset_mem_size", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "spanset_sps", + "file": "meos_internal.h", + "returnType": { + "c": "const Span **", + "canonical": "const Span **" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "spanset_upper", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "bigintspan_set_floatspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "bigintspan_set_intspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "datespan_set_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "floatspan_set_bigintspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "floatspan_set_intspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "intspan_set_bigintspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "intspan_set_floatspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "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": "unsigned long" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "numspan_expand", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "numspan_shift_scale", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "numspanset_shift_scale", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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 Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "spanset_compact", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "tbox_expand_value", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetyp", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "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 text *", + "canonical": "const struct varlena *" + }, + { + "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 Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "adjacent_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "adjacent_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "adjacent_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "contained_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "contained_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const 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": "unsigned long" + } + ] + }, + { + "name": "contains_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "contains_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ovadj_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const 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": "unsigned long" + } + ] + }, + { + "name": "left_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "left_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "left_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "left_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "lfnadj_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const 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": "unsigned long" + } + ] + }, + { + "name": "overleft_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "overleft_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "overleft_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "overleft_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const 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": "unsigned long" + } + ] + }, + { + "name": "overright_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "overright_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "overright_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "overright_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "right_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "right_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "right_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "right_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "right_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "bbox_type", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "bboxtype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "bbox_get_size", + "file": "meos_internal.h", + "returnType": { + "c": "size_t", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "bboxtype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "bbox_max_dims", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "bboxtype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "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": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "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": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "bbox_union_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "inter_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "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": "unsigned long" + } + ] + }, + { + "name": "intersection_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "intersection_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "intersection_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "intersection_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "intersection_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "mi_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "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": "unsigned long" + } + ] + }, + { + "name": "minus_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "minus_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "minus_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "minus_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "minus_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "union_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "union_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "union_value_set", + "file": "meos_internal.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "union_value_span", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "union_value_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "distance_set_set", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "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": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "distance_span_span", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "distance_span_value", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "distance_spanset_span", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "distance_spanset_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "ss1", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "ss2", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "distance_spanset_value", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "distance_value_value", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spanbase_extent_transfn", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "state", + "cType": "Span *", + "canonical": "Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "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": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "number_tstzspan_to_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "number_timestamptz_to_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "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 Span *" + }, + { + "name": "p", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "float_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "d", + "cType": "double", + "canonical": "double" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "int_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "i", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "number_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "number_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "numset_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "numspan_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "span", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "timestamptz_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "tstzset_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "tstzspan_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "tbox_shift_scale_value", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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 TBox *" + }, + { + "name": "box2", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "inter_tbox_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "tboolinst_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tboolinst_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tboolseq_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tboolseq_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tboolseqset_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "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": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "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": "TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tfloatinst_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tfloatseq_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "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": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tinstant_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "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": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tinstant_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tinstant_out", + "file": "meos_internal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tbigintinst_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tbigintinst_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tbigintseq_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tbigintseqset_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tbigintseqset_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tintinst_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tintinst_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tintseq_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tintseq_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tintseqset_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tsequence_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "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 TSequence *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "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": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "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 TSequenceSet *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ttextinst_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "ttextinst_in", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "ttextseq_from_mfjson", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "ttextseq_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "ttextseqset_in", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "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": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temporal_from_base_temp", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tinstant_copy", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tinstant_make", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tinstant_make_free", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tsequence_copy", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_from_base_temp", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_from_base_tstzset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tsequence_from_base_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_make_exp", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tseqsetarr_to_tseqset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seqsets", + "cType": "TSequenceSet **", + "canonical": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_from_base_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_make_exp", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "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": "result", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "tinstant_set_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "tnumber_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "tnumberinst_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "tnumberseq_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "tnumberseqset_set_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "tsequence_set_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "tsequenceset_set_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "temporal_end_inst", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_end_value", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_inst_n", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const 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 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 TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_max_value", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "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 TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_min_value", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_sequences_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TSequence **", + "canonical": "const 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": "result", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "temporal_start_inst", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_start_value", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "temporal_values_p", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "unsigned long *" + }, + "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": "unsigned long *" + } + ] + }, + { + "name": "temporal_values", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "unsigned long *" + }, + "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 TInstant *" + } + ] + }, + { + "name": "tinstant_insts", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant **", + "canonical": "const TInstant **" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const 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 TInstant *" + }, + { + "name": "result", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tinstant_time", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tinstant_timestamps", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz *", + "canonical": "long *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tinstant_value_p", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tinstant_value", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tinstant_value_at_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "tinstant_values_p", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "unsigned long *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const 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": "result", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "tnumberinst_valuespans", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tnumberseq_avg_val", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnumberseq_valuespans", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnumberseqset_avg_val", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_valuespans", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequence_duration", + "file": "meos_internal.h", + "returnType": { + "c": "Interval *", + "canonical": "Interval *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_end_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_hash", + "file": "meos_internal.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_insts_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant **", + "canonical": "const TInstant **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequence_max_inst_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_max_val", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_min_inst_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_min_val", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_segments", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence **", + "canonical": "TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequence_seqs", + "file": "meos_internal.h", + "returnType": { + "c": "const TSequence **", + "canonical": "const TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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 TSequence *" + } + ] + }, + { + "name": "tsequence_time", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_timestamps", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz *", + "canonical": "long *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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 TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "tsequence_values_p", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "unsigned long *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_duration", + "file": "meos_internal.h", + "returnType": { + "c": "Interval *", + "canonical": "Interval *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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 TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_hash", + "file": "meos_internal.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_inst_n", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_insts_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant **", + "canonical": "const TInstant **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_max_inst_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_max_val", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_min_inst_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TInstant *", + "canonical": "const TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_min_val", + "file": "meos_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_num_instants", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_num_timestamps", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_segments", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence **", + "canonical": "TSequence **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_sequences_p", + "file": "meos_internal.h", + "returnType": { + "c": "const TSequence **", + "canonical": "const TSequence **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_start_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_time", + "file": "meos_internal.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_timestamptz_n", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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 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 TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "tsequenceset_value_n", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "tsequenceset_values_p", + "file": "meos_internal.h", + "returnType": { + "c": "Datum *", + "canonical": "unsigned long *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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": "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": "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": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "interv", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tinstant_to_tsequence", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tinstant_to_tsequence_free", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant *", + "canonical": "TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tinstant_to_tsequenceset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const 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": "unsigned long" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_shift_value", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "tnumberseq_shift_scale_value", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "start", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "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 TSequence *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_shift_scale_time", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "shift", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tsequence_subseq", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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": "TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_to_tsequenceset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_to_tsequenceset_free", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "TSequence *" + } + ] + }, + { + "name": "tsequence_to_tsequenceset_interp", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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": "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 TSequenceSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_shift_scale_time", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "start", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tsequenceset_to_discrete", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_linear", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_step", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_tinstant", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_tsequence", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tinstant_merge", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tinstant_merge_array", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "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 TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const 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 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 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 TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const 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 TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const 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 TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const 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 TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_merge_array", + "file": "meos_internal.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_append_tinstant", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_append_tsequence", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_delete_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tsequenceset_delete_tstzset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tsequenceset_delete_tstzspan", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "tsequenceset_delete_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "ps", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "tsequenceset_insert", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_merge", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_merge_array", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seqsets", + "cType": "TSequenceSet **", + "canonical": "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": "TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tsequence_set_bbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "result", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tsequenceset_expand_bbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequenceset_set_bbox", + "file": "meos_internal.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "result", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tcontseq_after_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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 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 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": "unsigned long" + }, + { + "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": "unsigned long *" + } + ] + }, + { + "name": "tinstant_after_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const 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": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const 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": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "period", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const 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": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const 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": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_values", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const 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 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 SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_restrict_span", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_restrict_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseqset_restrict_span", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseqset_restrict_spanset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "spanset", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_at_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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 TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const 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 TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_after_timestamptz", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_tstzspanset", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "ps", + "cType": "const SpanSet *", + "canonical": "const 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 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 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": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_values", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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 TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tinstant_eq", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tsequence_cmp", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_eq", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequenceset_cmp", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_eq", + "file": "meos_internal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "always_eq_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "always_ne_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "always_ge_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "always_gt_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "always_le_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "always_lt_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "ever_eq_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "ever_ne_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "ever_ge_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "ever_gt_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "ever_le_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "ever_lt_base_temporal", + "file": "meos_internal.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "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": "unsigned long" + } + ] + }, + { + "name": "tnumberinst_abs", + "file": "meos_internal.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tnumberinst_distance", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tnumberseq_abs", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnumberseq_angular_difference", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnumberseq_delta_value", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnumberseqset_abs", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_angular_difference", + "file": "meos_internal.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_delta_value", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "distance_span_span_double", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "nad_tbox_tbox", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const 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": "unsigned long" + } + ] + }, + { + "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 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": "unsigned long" + } + ] + }, + { + "name": "tnumberseq_integral", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnumberseq_twavg", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnumberseqset_integral", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_twavg", + "file": "meos_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequenceset_compact", + "file": "meos_internal.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "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": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "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 TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "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 TSequence *" + } + ] + }, + { + "name": "span_bins", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "spanset_bins", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_value_bins", + "file": "meos_internal.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_value_time_boxes", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_value_split", + "file": "meos_internal.h", + "returnType": { + "c": "DatumSplit", + "canonical": "DatumSplit" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "tbox_get_value_time_tile", + "file": "meos_internal.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "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": "unsigned long" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "value_bins", + "cType": "Datum **", + "canonical": "unsigned long **" + }, + { + "name": "time_bins", + "cType": "TimestampTz **", + "canonical": "long **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "double2_out", + "file": "doublen.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "d", + "cType": "const double2 *", + "canonical": "const double2 *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "double2_set", + "file": "doublen.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "double", + "canonical": "double" + }, + { + "name": "b", + "cType": "double", + "canonical": "double" + }, + { + "name": "result", + "cType": "double2 *", + "canonical": "double2 *" + } + ] + }, + { + "name": "double2_add", + "file": "doublen.h", + "returnType": { + "c": "double2 *", + "canonical": "double2 *" + }, + "params": [ + { + "name": "d1", + "cType": "const double2 *", + "canonical": "const double2 *" + }, + { + "name": "d2", + "cType": "const double2 *", + "canonical": "const double2 *" + } + ] + }, + { + "name": "double2_eq", + "file": "doublen.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "d1", + "cType": "const double2 *", + "canonical": "const double2 *" + }, + { + "name": "d2", + "cType": "const double2 *", + "canonical": "const double2 *" + } + ] + }, + { + "name": "double3_out", + "file": "doublen.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "d", + "cType": "const double3 *", + "canonical": "const double3 *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "double3_set", + "file": "doublen.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "double", + "canonical": "double" + }, + { + "name": "b", + "cType": "double", + "canonical": "double" + }, + { + "name": "c", + "cType": "double", + "canonical": "double" + }, + { + "name": "result", + "cType": "double3 *", + "canonical": "double3 *" + } + ] + }, + { + "name": "double3_add", + "file": "doublen.h", + "returnType": { + "c": "double3 *", + "canonical": "double3 *" + }, + "params": [ + { + "name": "d1", + "cType": "const double3 *", + "canonical": "const double3 *" + }, + { + "name": "d2", + "cType": "const double3 *", + "canonical": "const double3 *" + } + ] + }, + { + "name": "double3_eq", + "file": "doublen.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "d1", + "cType": "const double3 *", + "canonical": "const double3 *" + }, + { + "name": "d2", + "cType": "const double3 *", + "canonical": "const double3 *" + } + ] + }, + { + "name": "double4_out", + "file": "doublen.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "d", + "cType": "const double4 *", + "canonical": "const double4 *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "double4_set", + "file": "doublen.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "double", + "canonical": "double" + }, + { + "name": "b", + "cType": "double", + "canonical": "double" + }, + { + "name": "c", + "cType": "double", + "canonical": "double" + }, + { + "name": "d", + "cType": "double", + "canonical": "double" + }, + { + "name": "result", + "cType": "double4 *", + "canonical": "double4 *" + } + ] + }, + { + "name": "double4_add", + "file": "doublen.h", + "returnType": { + "c": "double4 *", + "canonical": "double4 *" + }, + "params": [ + { + "name": "d1", + "cType": "const double4 *", + "canonical": "const double4 *" + }, + { + "name": "d2", + "cType": "const double4 *", + "canonical": "const double4 *" + } + ] + }, + { + "name": "double4_eq", + "file": "doublen.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "d1", + "cType": "const double4 *", + "canonical": "const double4 *" + }, + { + "name": "d2", + "cType": "const double4 *", + "canonical": "const double4 *" + } + ] + }, + { + "name": "double2_collinear", + "file": "doublen.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "x1", + "cType": "const double2 *", + "canonical": "const double2 *" + }, + { + "name": "x2", + "cType": "const double2 *", + "canonical": "const double2 *" + }, + { + "name": "x3", + "cType": "const double2 *", + "canonical": "const double2 *" + }, + { + "name": "ratio", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "double3_collinear", + "file": "doublen.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "x1", + "cType": "const double3 *", + "canonical": "const double3 *" + }, + { + "name": "x2", + "cType": "const double3 *", + "canonical": "const double3 *" + }, + { + "name": "x3", + "cType": "const double3 *", + "canonical": "const double3 *" + }, + { + "name": "ratio", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "double4_collinear", + "file": "doublen.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "x1", + "cType": "const double4 *", + "canonical": "const double4 *" + }, + { + "name": "x2", + "cType": "const double4 *", + "canonical": "const double4 *" + }, + { + "name": "x3", + "cType": "const double4 *", + "canonical": "const double4 *" + }, + { + "name": "ratio", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "double2segm_interpolate", + "file": "doublen.h", + "returnType": { + "c": "double2 *", + "canonical": "double2 *" + }, + "params": [ + { + "name": "start", + "cType": "const double2 *", + "canonical": "const double2 *" + }, + { + "name": "end", + "cType": "const double2 *", + "canonical": "const double2 *" + }, + { + "name": "ratio", + "cType": "long double", + "canonical": "long double" + } + ] + }, + { + "name": "double3segm_interpolate", + "file": "doublen.h", + "returnType": { + "c": "double3 *", + "canonical": "double3 *" + }, + "params": [ + { + "name": "start", + "cType": "const double3 *", + "canonical": "const double3 *" + }, + { + "name": "end", + "cType": "const double3 *", + "canonical": "const double3 *" + }, + { + "name": "ratio", + "cType": "long double", + "canonical": "long double" + } + ] + }, + { + "name": "double4segm_interpolate", + "file": "doublen.h", + "returnType": { + "c": "double4 *", + "canonical": "double4 *" + }, + "params": [ + { + "name": "start", + "cType": "const double4 *", + "canonical": "const double4 *" + }, + { + "name": "end", + "cType": "const double4 *", + "canonical": "const double4 *" + }, + { + "name": "ratio", + "cType": "long double", + "canonical": "long double" + } + ] + }, + { + "name": "pg_atoi", + "file": "temporal.h", + "returnType": { + "c": "int32", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "size", + "cType": "int", + "canonical": "int" + }, + { + "name": "c", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ensure_has_X", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_has_Z", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_has_T", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_has_not_Z", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_not_null", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ptr", + "cType": "const void *", + "canonical": "const void *" + } + ] + }, + { + "name": "ensure_one_not_null", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ptr1", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "ptr2", + "cType": "const void *", + "canonical": "const void *" + } + ] + }, + { + "name": "ensure_one_true", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ensure_valid_interp", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "ensure_continuous", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_same_interp", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_same_continuous_interp", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_linear_interp", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_nonlinear_interp", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_common_dimension", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_temporal_isof_type", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_temporal_isof_basetype", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_temporal_isof_subtype", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "type", + "cType": "tempSubtype", + "canonical": "tempSubtype" + } + ] + }, + { + "name": "ensure_same_temporal_type", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_valid_tnumber_numspan", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "ensure_valid_tnumber_numspanset", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "ensure_valid_tnumber_tbox", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "ensure_valid_temporal_set", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "ensure_valid_temporal_temporal", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_valid_tnumber_tnumber", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_not_negative", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "i", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ensure_positive", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "i", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "not_negative_datum", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_not_negative_datum", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "positive_datum", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_positive_datum", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_valid_day_duration", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "positive_duration", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "ensure_positive_duration", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "temporal_bbox_ptr", + "file": "temporal.h", + "returnType": { + "c": "void *", + "canonical": "void *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "intersection_temporal_temporal", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "mode", + "cType": "SyncMode", + "canonical": "SyncMode" + }, + { + "name": "inter1", + "cType": "Temporal **", + "canonical": "Temporal **" + }, + { + "name": "inter2", + "cType": "Temporal **", + "canonical": "Temporal **" + } + ] + }, + { + "name": "mobilitydb_version", + "file": "temporal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [] + }, + { + "name": "mobilitydb_full_version", + "file": "temporal.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [] + }, + { + "name": "round_fn", + "file": "temporal.h", + "returnType": { + "c": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + "params": [ + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temporal_bbox_restrict_value", + "file": "temporal.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ensure_valid_tcbuffer_cbuffer", + "file": "tcbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "ensure_valid_tcbuffer_geo", + "file": "tcbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_tcbuffer_stbox", + "file": "tcbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "ensure_valid_tcbuffer_tcbuffer", + "file": "tcbuffer.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tcbuffersegm_intersection_value", + "file": "tcbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tcbuffersegm_intersection", + "file": "tcbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tcbuffersegm_dwithin_turnpt", + "file": "tcbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tcbuffersegm_tdwithin_turnpt", + "file": "tcbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tcbuffersegm_distance_turnpt", + "file": "tcbuffer.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "cbuffer_set_stbox", + "file": "tcbuffer_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "cbufferarr_set_stbox", + "file": "tcbuffer_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "const Datum *", + "canonical": "const unsigned long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "cbuffer_timestamptz_set_stbox", + "file": "tcbuffer_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "cbuffer_tstzspan_set_stbox", + "file": "tcbuffer_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tcbufferinst_set_stbox", + "file": "tcbuffer_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tcbufferinstarr_set_stbox", + "file": "tcbuffer_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tcbufferseq_expand_stbox", + "file": "tcbuffer_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tcbufferinst_traversed_area", + "file": "tcbuffer_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tcbufferseq_traversed_area", + "file": "tcbuffer_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbufferseqset_traversed_area", + "file": "tcbuffer_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffersegm_traversed_area", + "file": "tcbuffer_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tcbuffer_restrict_cbuffer", + "file": "tcbuffer_spatialfuncs.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": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffer_restrict_stbox", + "file": "tcbuffer_spatialfuncs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffer_restrict_geom", + "file": "tcbuffer_spatialfuncs.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": "ea_contains_geo_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_tcbuffer_geo", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_tcbuffer_cbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_cbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_geo_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_tcbuffer_geo", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_tcbuffer_cbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_cbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_tcbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_tcbuffer_geo", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_geo_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_tcbuffer_cbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_cbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_tcbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_tcbuffer_geo", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_geo_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_tcbuffer_cbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_cbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_tcbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tcbuffer_geo", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_geo_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tcbuffer_cbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_cbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tcbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinterrel_tcbuffer_cbuffer", + "file": "tcbuffer_tempspatialrels.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": "tinter", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinterrel_tcbuffer_geo", + "file": "tcbuffer_tempspatialrels.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "tinter", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "clipper2_clip_poly_poly", + "file": "clip_clipper2.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "subj", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "clip", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "op", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "clipper2_traj_poly_periods", + "file": "clip_clipper2.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "out_count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "clip_poly_poly", + "file": "geo_poly_clip.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "subj", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "clip", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "operation", + "cType": "ClipOper", + "canonical": "ClipOper" + } + ] + }, + { + "name": "lwproj_lookup", + "file": "meos_transform.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "srid_from", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "srid_to", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "pj", + "cType": "int **", + "canonical": "int **" + } + ] + }, + { + "name": "spheroid_init_from_srid", + "file": "meos_transform.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "s", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "srid_check_latlong", + "file": "meos_transform.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "srid_is_latlong", + "file": "meos_transform.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "geom_serialize", + "file": "postgis_funcs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "lwgeom", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geog_serialize", + "file": "postgis_funcs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "lwgeom", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "meos_postgis_valid_typmod", + "file": "postgis_funcs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "gs", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "typmod", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "geo_as_wkt", + "file": "postgis_funcs.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "precision", + "cType": "int", + "canonical": "int" + }, + { + "name": "extended", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "box2d_to_lwgeom", + "file": "postgis_funcs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "box", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "box3d_to_lwgeom", + "file": "postgis_funcs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "box", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "MEOS_POSTGIS2GEOS", + "file": "postgis_funcs.h", + "returnType": { + "c": "GEOSGeometry *", + "canonical": "struct GEOSGeom_t *" + }, + "params": [ + { + "name": "pglwgeom", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "MEOS_GEOS2POSTGIS", + "file": "postgis_funcs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "geom", + "cType": "GEOSGeom", + "canonical": "struct GEOSGeom_t *" + }, + { + "name": "want3d", + "cType": "char", + "canonical": "char" + } + ] + }, + { + "name": "geom_spatialrel", + "file": "postgis_funcs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "rel", + "cType": "spatialRel", + "canonical": "spatialRel" + } + ] + }, + { + "name": "lwgeom_line_interpolate_point", + "file": "postgis_funcs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "geom", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "fraction", + "cType": "double", + "canonical": "double" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "repeat", + "cType": "char", + "canonical": "char" + } + ] + }, + { + "name": "point_get_coords", + "file": "stbox.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "point", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "hasz", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "x", + "cType": "double *", + "canonical": "double *" + }, + { + "name": "y", + "cType": "double *", + "canonical": "double *" + }, + { + "name": "z", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tstzset_stbox_slice", + "file": "stbox.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "tsdatum", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tstzspanset_stbox_slice", + "file": "stbox.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "psdatum", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "stbox_index_leaf_consistent", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "stbox_gist_inner_consistent", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "stbox_index_recheck", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "stboxnode_copy", + "file": "stbox_index.h", + "returnType": { + "c": "STboxNode *", + "canonical": "STboxNode *" + }, + "params": [ + { + "name": "box", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + } + ] + }, + { + "name": "getQuadrant8D", + "file": "stbox_index.h", + "returnType": { + "c": "uint8", + "canonical": "unsigned char" + }, + "params": [ + { + "name": "centroid", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "inBox", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "stboxnode_init", + "file": "stbox_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "centroid", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "nodebox", + "cType": "STboxNode *", + "canonical": "STboxNode *" + } + ] + }, + { + "name": "stboxnode_quadtree_next", + "file": "stbox_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "centroid", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "quadrant", + "cType": "uint8", + "canonical": "unsigned char" + }, + { + "name": "next_nodebox", + "cType": "STboxNode *", + "canonical": "STboxNode *" + } + ] + }, + { + "name": "stboxnode_kdtree_next", + "file": "stbox_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "centroid", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "node", + "cType": "uint8", + "canonical": "unsigned char" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + }, + { + "name": "next_nodebox", + "cType": "STboxNode *", + "canonical": "STboxNode *" + } + ] + }, + { + "name": "overlap8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "overlapKD", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "contain8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "containKD", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "left8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "overLeft8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "right8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "overRight8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "below8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "overBelow8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "above8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "overAbove8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "front8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "overFront8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "back8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "overBack8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "before8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "overBefore8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "after8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "overAfter8D", + "file": "stbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "distance_stbox_nodebox", + "file": "stbox_index.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "query", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const STboxNode *" + } + ] + }, + { + "name": "tspatial_spgist_get_stbox", + "file": "stbox_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "mobilitydb_init", + "file": "tgeo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [] + }, + { + "name": "geo_stbox", + "file": "tgeo.h", + "returnType": { + "c": "STBox *", + "canonical": "STBox *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "stbox_geo", + "file": "tgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "tcomp_geo_tgeo", + "file": "tgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + } + ] + }, + { + "name": "tcomp_tgeo_geo", + "file": "tgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + } + ] + }, + { + "name": "ensure_geoaggstate", + "file": "tgeo_aggfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "state", + "cType": "const SkipList *", + "canonical": "const struct SkipList *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "hasz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ensure_geoaggstate_state", + "file": "tgeo_aggfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "state1", + "cType": "const SkipList *", + "canonical": "const struct SkipList *" + }, + { + "name": "state2", + "cType": "const SkipList *", + "canonical": "const struct SkipList *" + } + ] + }, + { + "name": "tpoint_transform_tcentroid", + "file": "tgeo_aggfuncs.h", + "returnType": { + "c": "Temporal **", + "canonical": "Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tpointinst_tcentroid_finalfn", + "file": "tgeo_aggfuncs.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpointseq_tcentroid_finalfn", + "file": "tgeo_aggfuncs.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "point3d_min_dist", + "file": "tgeo_distance.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "p1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "p2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "p3", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "p4", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "fraction", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "stbox_spatial_distance", + "file": "tgeo_distance.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "box2", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "tgeompointsegm_distance_turnpt", + "file": "tgeo_distance.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tgeogpointsegm_distance_turnpt", + "file": "tgeo_distance.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tinstant_distance", + "file": "tgeo_distance.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + } + ] + }, + { + "name": "tpointseq_at_geom", + "file": "tgeo_restrict.h", + "returnType": { + "c": "TSequence **", + "canonical": "TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tpointseq_interperiods", + "file": "tgeo_restrict.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "datum_point4d", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "p", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geopoint_cmp", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "geopoint_eq", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "geopoint_same", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "datum_point_eq", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_point_same", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum2_point_eq", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum2_point_ne", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum2_point_same", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum2_point_nsame", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum2_geom_centroid", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geo", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum2_geog_centroid", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geo", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "geo_extract_elements", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int **", + "canonical": "int **" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geo_serialize", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "geom", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "geo_distance_fn", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "point_distance_fn", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "datum_geom_distance2d", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geom_distance3d", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geog_distance", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geog1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geog2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_pt_distance2d", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_pt_distance3d", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "spatial_flags", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int16", + "canonical": "short" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_srid_is_latlong", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "ensure_spatial_validity", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_not_geodetic", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_same_geodetic", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_same_geodetic_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_same_geodetic_tspatial_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_same_geodetic_tspatial_base", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "base", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ensure_srid_known", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "ensure_same_srid", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "srid1", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "srid2", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "ensure_same_dimensionality", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "same_spatial_dimensionality", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_same_spatial_dimensionality", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_same_dimensionality_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "same_dimensionality_tspatial_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_same_dimensionality_tspatial_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_same_spatial_dimensionality_stbox_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_same_geodetic_stbox_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_has_Z_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_has_not_Z_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_has_M_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_has_not_M_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_not_geodetic_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_point_type", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_mline_type", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "circle_type", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_circle_type", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_not_empty", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_stbox_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_tspatial_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_tspatial_base", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "base", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ensure_valid_tspatial_tspatial", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_valid_spatial_stbox_stbox", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "box2", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "ensure_valid_tgeo_stbox", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "ensure_valid_geo_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_tgeo_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_tgeo_tgeo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_valid_tpoint_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_tpoint_tpoint", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "mline_type", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tpoint_get_coord", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "coord", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "eacomp_tgeo_geo", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "closest_point2d_on_segment_ratio", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "long double", + "canonical": "long double" + }, + "params": [ + { + "name": "p", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "A", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "B", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "closest", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "closest_point3dz_on_segment_ratio", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "long double", + "canonical": "long double" + }, + "params": [ + { + "name": "p", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "A", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "B", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "closest", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "closest_point_on_segment_sphere", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "long double", + "canonical": "long double" + }, + "params": [ + { + "name": "p", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "A", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "B", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "closest", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "dist", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "interpolate_point4d_spheroid", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "p1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "p2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "p", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "s", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "f", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "geopoint_make", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "z", + "cType": "double", + "canonical": "double" + }, + { + "name": "hasz", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "geodetic", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "lwcircle_make", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "radius", + "cType": "double", + "canonical": "double" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "geocircle_make", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "radius", + "cType": "double", + "canonical": "double" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "pointsegm_interpolate", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ratio", + "cType": "long double", + "canonical": "long double" + } + ] + }, + { + "name": "pointsegm_locate", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "long double", + "canonical": "long double" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "point", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dist", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tgeompointsegm_intersection", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tgeogpointsegm_intersection", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "geopoint_collinear", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value3", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "ratio", + "cType": "double", + "canonical": "double" + }, + { + "name": "hasz", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "geodetic", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "lwpointarr_remove_duplicates", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int **", + "canonical": "int **" + }, + "params": [ + { + "name": "points", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "newcount", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "lwpointarr_make_trajectory", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "points", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "lwline_make", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "value1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "lwcoll_from_points_lines", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "points", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "lines", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "npoints", + "cType": "int", + "canonical": "int" + }, + { + "name": "nlines", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpointseq_stops_iter", + "file": "tgeo_spatialfuncs.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "mintunits", + "cType": "int64", + "canonical": "long" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "datum_geom_contains", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geom_covers", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geom_disjoint2d", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geom_disjoint3d", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geog_disjoint", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geog1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geog2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geom_intersects2d", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geom_intersects3d", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geog_intersects", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geog1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geog2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geom_touches", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geom_dwithin2d", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geom_dwithin3d", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geog_dwithin", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geog1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geog2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_geom_relate_pattern", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "geog1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "geog2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "p", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "geo_disjoint_fn", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "geo_disjoint_fn_geo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "uint8_t", + "canonical": "unsigned char" + } + ] + }, + { + "name": "geo_intersects_fn", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "geo_intersects_fn_geo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "uint8_t", + "canonical": "unsigned char" + } + ] + }, + { + "name": "geo_dwithin_fn", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "datum_func3", + "canonical": "unsigned long (*)(unsigned long, unsigned long, unsigned long)" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "geo_dwithin_fn_geo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "datum_func3", + "canonical": "unsigned long (*)(unsigned long, unsigned long, unsigned long)" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "uint8_t", + "canonical": "unsigned char" + } + ] + }, + { + "name": "tpointsegm_tdwithin_turnpt", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "spatialrel_geo_geo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "gs2", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "varfunc", + "canonical": "unsigned long (*)(unsigned long, ...)" + }, + { + "name": "numparam", + "cType": "int", + "canonical": "int" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "spatialrel_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "varfunc", + "canonical": "unsigned long (*)(unsigned long, ...)" + }, + { + "name": "numparam", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ea_contains_geo_tgeo", + "file": "tgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_tgeo_geo", + "file": "tgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_geo_tgeo", + "file": "tgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_tgeo_geo", + "file": "tgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_geo_tgeo", + "file": "tgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_tgeo_geo", + "file": "tgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_geo_tgeo", + "file": "tgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_tgeo_geo", + "file": "tgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tpoint_geo", + "file": "tgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tgeo_geo", + "file": "tgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_dwithin_tgeo_geo", + "file": "tgeo_spatialrels.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": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_dwithin_tgeo_tgeo", + "file": "tgeo_spatialrels.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": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_spatialrel_tspatial_geo", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_spatialrel_tspatial_tspatial", + "file": "tgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tspatialrel_tspatial_base", + "file": "tgeo_tempspatialrels.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "base", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "varfunc", + "canonical": "unsigned long (*)(unsigned long, ...)" + }, + { + "name": "numparam", + "cType": "int", + "canonical": "int" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tspatialrel_tspatial_tspatial", + "file": "tgeo_tempspatialrels.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "varfunc", + "canonical": "unsigned long (*)(unsigned long, ...)" + }, + { + "name": "numparam", + "cType": "int", + "canonical": "int" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinterrel_tgeo_geo", + "file": "tgeo_tempspatialrels.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "tinter", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinterrel_tspatial_base", + "file": "tgeo_tempspatialrels.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "base", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "tinter", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + } + ] + }, + { + "name": "tinterrel_tspatial_tspatial", + "file": "tgeo_tempspatialrels.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "tinter", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdwithin_tspatial_tspatial", + "file": "tgeo_tempspatialrels.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "sync1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "sync2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "datum_func3", + "canonical": "unsigned long (*)(unsigned long, unsigned long, unsigned long)" + }, + { + "name": "tpfn", + "cType": "tpfunc_temp", + "canonical": "int (*)(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, long, long, long *, long *)" + } + ] + }, + { + "name": "tdwithin_add_solutions", + "file": "tgeo_tempspatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "solutions", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc1", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "t1", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t2", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tdwithin_tspatial_spatial", + "file": "tgeo_tempspatialrels.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "base", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "datum_func3", + "canonical": "unsigned long (*)(unsigned long, unsigned long, unsigned long)" + }, + { + "name": "tpfn", + "cType": "tpfunc_temp", + "canonical": "int (*)(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, long, long, long *, long *)" + } + ] + }, + { + "name": "bitmatrix_make", + "file": "tgeo_tile.h", + "returnType": { + "c": "BitMatrix *", + "canonical": "BitMatrix *" + }, + "params": [ + { + "name": "count", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "ndims", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpoint_set_tiles", + "file": "tgeo_tile.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "state", + "cType": "const STboxGridState *", + "canonical": "const struct STboxGridState *" + }, + { + "name": "bm", + "cType": "BitMatrix *", + "canonical": "BitMatrix *" + } + ] + }, + { + "name": "tpoint_at_tile", + "file": "tgeo_tile.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "stbox_tile_state_set", + "file": "tgeo_tile.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "z", + "cType": "double", + "canonical": "double" + }, + { + "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": "tunits", + "cType": "int64", + "canonical": "long" + }, + { + "name": "hasx", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hasz", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hast", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32", + "canonical": "int" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "stbox_tile_state_make", + "file": "tgeo_tile.h", + "returnType": { + "c": "STboxGridState *", + "canonical": "struct STboxGridState *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "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": "int", + "canonical": "int" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "stbox_tile_state_next", + "file": "tgeo_tile.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "state", + "cType": "STboxGridState *", + "canonical": "struct STboxGridState *" + } + ] + }, + { + "name": "stbox_tile_state_get", + "file": "tgeo_tile.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "state", + "cType": "STboxGridState *", + "canonical": "struct STboxGridState *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tgeo_space_time_tile_init", + "file": "tgeo_tile.h", + "returnType": { + "c": "STboxGridState *", + "canonical": "struct STboxGridState *" + }, + "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": "ntiles", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "stbox_space_time_tile", + "file": "tgeo_tile.h", + "returnType": { + "c": "STBox *", + "canonical": "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 Interval *", + "canonical": "const Interval *" + }, + { + "name": "sorigin", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "hasx", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hast", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "create_trip", + "file": "tpoint_datagen.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "lines", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "maxSpeeds", + "cType": "const double *", + "canonical": "const double *" + }, + { + "name": "categories", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "noEdges", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "startTime", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "disturbData", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "verbosity", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spatialarr_wkt_out", + "file": "tspatial.h", + "returnType": { + "c": "char **", + "canonical": "char **" + }, + "params": [ + { + "name": "spatialarr", + "cType": "const Datum *", + "canonical": "const unsigned long *" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "extended", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "spatialbase_as_text", + "file": "tspatial.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spatialbase_as_ewkt", + "file": "tspatial.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "point_transf_pj", + "file": "tspatial.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "srid_to", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "pj", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tgeoinst_set_stbox", + "file": "tspatial_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tgeoinstarr_set_stbox", + "file": "tspatial_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tgeoseq_expand_stbox", + "file": "tspatial_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tspatialinst_set_stbox", + "file": "tspatial_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tspatialinstarr_set_stbox", + "file": "tspatial_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tspatialseqarr_set_stbox", + "file": "tspatial_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tspatialseq_expand_stbox", + "file": "tspatial_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "spatialarr_set_bbox", + "file": "tspatial_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "const Datum *", + "canonical": "const unsigned long *" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "boxop_tspatial_stbox", + "file": "tspatial_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "func", + "cType": "bool (*)(const STBox *, const STBox *)", + "canonical": "_Bool (*)(const STBox *, const STBox *)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boxop_tspatial_tspatial", + "file": "tspatial_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "bool (*)(const STBox *, const STBox *)", + "canonical": "_Bool (*)(const STBox *, const STBox *)" + } + ] + }, + { + "name": "srid_parse", + "file": "tspatial_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "srid", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "spatial_parse_elem", + "file": "tspatial_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "delim", + "cType": "char", + "canonical": "char" + }, + { + "name": "temp_srid", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "geo_parse", + "file": "tspatial_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "delim", + "cType": "char", + "canonical": "char" + }, + { + "name": "srid", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "result", + "cType": "int **", + "canonical": "int **" + } + ] + }, + { + "name": "stbox_parse", + "file": "tspatial_parser.h", + "returnType": { + "c": "STBox *", + "canonical": "STBox *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "tpoint_parse", + "file": "tspatial_parser.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tspatialinst_parse", + "file": "tspatial_parser.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "temp_srid", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tspatialseq_disc_parse", + "file": "tspatial_parser.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "temp_srid", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tspatialseq_cont_parse", + "file": "tspatial_parser.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "temp_srid", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tspatialseqset_parse", + "file": "tspatial_parser.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "temp_srid", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tspatial_parse", + "file": "tspatial_parser.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "h3_are_neighbor_cells_meos", + "file": "h3_generated.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "destination", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cells_to_directed_edge_meos", + "file": "h3_generated.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "destination", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_is_valid_directed_edge_meos", + "file": "h3_generated.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "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": "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": "edge", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_parent_meos", + "file": "h3_generated.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "h3_cell_to_center_child_meos", + "file": "h3_generated.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "h3_cell_to_child_pos_meos", + "file": "h3_generated.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "child", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "parentRes", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "h3_child_pos_to_cell_meos", + "file": "h3_generated.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "childPos", + "cType": "int64", + "canonical": "long" + }, + { + "name": "parent", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "childRes", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "h3_get_resolution_meos", + "file": "h3_generated.h", + "returnType": { + "c": "int32", + "canonical": "int" + }, + "params": [ + { + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_get_base_cell_number_meos", + "file": "h3_generated.h", + "returnType": { + "c": "int32", + "canonical": "int" + }, + "params": [ + { + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_is_valid_cell_meos", + "file": "h3_generated.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_is_res_class_iii_meos", + "file": "h3_generated.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_is_pentagon_meos", + "file": "h3_generated.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_get_num_cells_meos", + "file": "h3_generated.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "h3_grid_distance_meos", + "file": "h3_generated.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "originIndex", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "h3Index", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_vertex_meos", + "file": "h3_generated.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "vertexNum", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "h3_is_valid_vertex_meos", + "file": "h3_generated.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "vertex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_parse", + "file": "h3index.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "h3index_to_string", + "file": "h3index.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_eq", + "file": "h3index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_ne", + "file": "h3index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_lt", + "file": "h3index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_le", + "file": "h3index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_gt", + "file": "h3index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_ge", + "file": "h3index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_cmp", + "file": "h3index.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "a", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "b", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_hash", + "file": "h3index.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_grid_disk", + "file": "h3index_sets.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "k", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_grid_ring", + "file": "h3index_sets.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "k", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_grid_path_cells", + "file": "h3index_sets.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "start", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "end", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_children", + "file": "h3index_sets.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "childRes", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_compact_cells", + "file": "h3index_sets.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "cells", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "h3_uncompact_cells", + "file": "h3index_sets.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "cells", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "res", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_origin_to_directed_edges", + "file": "h3index_sets.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_vertexes", + "file": "h3index_sets.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_get_icosahedron_faces", + "file": "h3index_sets.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ensure_valid_th3index_th3index", + "file": "th3index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_valid_th3index_h3index", + "file": "th3index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ensure_valid_th3index_tgeogpoint", + "file": "th3index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "datum2_h3index_eq", + "file": "th3index.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "d2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_h3index_ne", + "file": "th3index.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "d2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "th3indexinst_set_stbox", + "file": "th3index_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "th3indexinstarr_set_stbox", + "file": "th3index_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "th3indexseq_expand_stbox", + "file": "th3index_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "h3_gs_point_to_cell", + "file": "th3index_internal.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "point", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "h3_cell_to_gs_point", + "file": "th3index_internal.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_gs_boundary", + "file": "th3index_internal.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "cell_boundary_to_gs", + "file": "th3index_internal.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "bnd", + "cType": "const CellBoundary *", + "canonical": "const CellBoundary *" + } + ] + }, + { + "name": "h3_sample_step_deg", + "file": "th3index_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "h3_latlng_deg_to_cell", + "file": "th3index_internal.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "lat_deg", + "cType": "double", + "canonical": "double" + }, + { + "name": "lng_deg", + "cType": "double", + "canonical": "double" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "h3_cell_to_parent_next_meos", + "file": "th3index_internal.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_center_child_next_meos", + "file": "th3index_internal.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_directed_edge_to_gs_boundary", + "file": "th3index_internal.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_vertex_to_gs_point", + "file": "th3index_internal.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "vertex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_local_ij_meos", + "file": "th3index_internal.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_local_ij_to_cell_meos", + "file": "th3index_internal.h", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "coord", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "h3_unit_from_cstring", + "file": "th3index_internal.h", + "returnType": { + "c": "H3Unit", + "canonical": "H3Unit" + }, + "params": [ + { + "name": "unit", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "h3_cell_area_meos", + "file": "th3index_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "unit", + "cType": "H3Unit", + "canonical": "H3Unit" + } + ] + }, + { + "name": "h3_edge_length_meos", + "file": "th3index_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "unit", + "cType": "H3Unit", + "canonical": "H3Unit" + } + ] + }, + { + "name": "h3_gs_great_circle_distance_meos", + "file": "th3index_internal.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "a", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "b", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "unit", + "cType": "H3Unit", + "canonical": "H3Unit" + } + ] + }, + { + "name": "datum_h3_get_resolution", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_get_base_cell_number", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_is_valid_cell", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_is_res_class_iii", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_is_pentagon", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cell_to_parent", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "res_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cell_to_parent_next", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cell_to_center_child", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "res_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cell_to_center_child_next", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cell_to_child_pos", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "parent_res_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_child_pos_to_cell", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pos_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "parent_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "child_res_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_are_neighbor_cells", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dest_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cells_to_directed_edge", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dest_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_is_valid_directed_edge", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_get_directed_edge_origin", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_get_directed_edge_destination", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_directed_edge_to_boundary", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cell_to_vertex", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "vnum_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_vertex_to_latlng", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_is_valid_vertex", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_grid_distance", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "dest_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cell_to_local_ij", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "cell_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_local_ij_to_cell", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "coord_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_latlng_to_cell", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "point_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "res_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cell_to_latlng", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cell_to_boundary", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_cell_area", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "unit_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_edge_length", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "edge_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "unit_d", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_h3_great_circle_distance", + "file": "th3index_internal.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "a_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "b_d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "unit_d", + "cType": "Datum", + "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": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "th3indexseq_in", + "file": "meos_h3.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "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": "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": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "const TSequence **", + "canonical": "const 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": "proj_get_context", + "file": "meos_internal_geo.h", + "returnType": { + "c": "PJ_CONTEXT *", + "canonical": "struct pj_ctx *" + }, + "params": [] + }, + { + "name": "geos_get_context", + "file": "meos_internal_geo.h", + "returnType": { + "c": "GEOSContextHandle_t", + "canonical": "struct GEOSContextHandle_HS *" + }, + "params": [] + }, + { + "name": "datum_geo_round", + "file": "meos_internal_geo.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "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 Span *" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "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": "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": "result", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "geoarr_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "const Datum *", + "canonical": "const unsigned long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "spatial_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "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": "result", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "stbox_set_box3d", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "result", + "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 STBox *" + }, + { + "name": "result", + "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": "result", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tstzspan_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tstzspanset_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "stbox_expand", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "box2", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "inter_stbox_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "box2", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tgeogpointinst_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "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": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeogpointseq_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "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": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeompointinst_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "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": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeompointseq_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "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": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeographyinst_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "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": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeographyseq_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "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": "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": "TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeometryinst_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "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": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeometryseq_from_mfjson", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "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": "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": "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": "result", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tspatialseq_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tspatialseqset_set_stbox", + "file": "meos_internal_geo.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "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 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 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": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const 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": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const 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 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 TSequence *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const 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": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const 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": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spatial_set_srid", + "file": "meos_internal_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "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 TInstant *" + } + ] + }, + { + "name": "tpointseq_azimuth", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tpointseq_cumulative_length", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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 TSequence *" + } + ] + }, + { + "name": "tpointseq_length", + "file": "meos_internal_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tpointseq_linear_trajectory", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseq_stboxes", + "file": "meos_internal_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "STBox *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeoseq_split_n_stboxes", + "file": "meos_internal_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "STBox *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tpointseqset_cumulative_length", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tpointseqset_is_simple", + "file": "meos_internal_geo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tpointseqset_length", + "file": "meos_internal_geo.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tgeoseqset_stboxes", + "file": "meos_internal_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "STBox *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeoseqset_split_n_stboxes", + "file": "meos_internal_geo.h", + "returnType": { + "c": "STBox *", + "canonical": "STBox *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "max_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeominst_tgeoginst", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeomseq_tgeogseq", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeomseqset_tgeogseqset", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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": "TInstant *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpointseq_make_simple", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence **", + "canonical": "TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const 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": "TSequence *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpointseqset_make_simple", + "file": "meos_internal_geo.h", + "returnType": { + "c": "TSequence **", + "canonical": "TSequence **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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": "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 TSequence *" + } + ] + }, + { + "name": "tpointseqset_twcentroid", + "file": "meos_internal_geo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const 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": "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": "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": "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": "STBox *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const 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": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "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": "TInstant *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tnpoint_from_base_temp", + "file": "meos_npoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpointseq_from_base_tstzset", + "file": "meos_npoint.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tnpointseq_from_base_tstzspan", + "file": "meos_npoint.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tnpointseqset_from_base_tstzspanset", + "file": "meos_npoint.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "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_end_value", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "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_start_value", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "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_value_at_timestamptz", + "file": "meos_npoint.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": "Npoint **", + "canonical": "Npoint **" + } + ] + }, + { + "name": "tnpoint_value_n", + "file": "meos_npoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Npoint **", + "canonical": "Npoint **" + } + ] + }, + { + "name": "tnpoint_values", + "file": "meos_npoint.h", + "returnType": { + "c": "Npoint **", + "canonical": "Npoint **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "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 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 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_geo", + "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 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": "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": "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": "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": "const Temporal *", + "canonical": "const 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": "pcpoint_hex_in", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpoint_hex_out", + "file": "meos_pointcloud.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpoint_from_hexwkb", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpoint_as_hexwkb", + "file": "meos_pointcloud.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_copy", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_get_pcid", + "file": "meos_pointcloud.h", + "returnType": { + "c": "uint32_t", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_hash", + "file": "meos_pointcloud.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_hash_extended", + "file": "meos_pointcloud.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "pcpoint_get_x", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "schema", + "cType": "PCSCHEMA *", + "canonical": "struct PCSCHEMA *" + }, + { + "name": "out", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "pcpoint_get_y", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "schema", + "cType": "PCSCHEMA *", + "canonical": "struct PCSCHEMA *" + }, + { + "name": "out", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "pcpoint_get_z", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "schema", + "cType": "PCSCHEMA *", + "canonical": "struct PCSCHEMA *" + }, + { + "name": "out", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "pcpoint_get_dim", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "schema", + "cType": "PCSCHEMA *", + "canonical": "struct PCSCHEMA *" + }, + { + "name": "name", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "out", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "pcpoint_to_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "TPCBox *", + "canonical": "TPCBox *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "schema", + "cType": "PCSCHEMA *", + "canonical": "struct PCSCHEMA *" + } + ] + }, + { + "name": "meos_pc_schema", + "file": "meos_pointcloud.h", + "returnType": { + "c": "PCSCHEMA *", + "canonical": "struct PCSCHEMA *" + }, + "params": [ + { + "name": "pcid", + "cType": "uint32_t", + "canonical": "unsigned int" + } + ] + }, + { + "name": "meos_pc_schema_register", + "file": "meos_pointcloud.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "pcid", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "schema", + "cType": "PCSCHEMA *", + "canonical": "struct PCSCHEMA *" + } + ] + }, + { + "name": "meos_pc_schema_register_xml", + "file": "meos_pointcloud.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "pcid", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "schema", + "cType": "PCSCHEMA *", + "canonical": "struct PCSCHEMA *" + }, + { + "name": "xml_text", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "meos_pc_schema_xml", + "file": "meos_pointcloud.h", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "pcid", + "cType": "uint32_t", + "canonical": "unsigned int" + } + ] + }, + { + "name": "meos_pc_schema_clear", + "file": "meos_pointcloud.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [] + }, + { + "name": "pcpoint_cmp", + "file": "meos_pointcloud.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pt1", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "pt2", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_eq", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt1", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "pt2", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_ne", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt1", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "pt2", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_lt", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt1", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "pt2", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_le", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt1", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "pt2", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_gt", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt1", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "pt2", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_ge", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt1", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "pt2", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpatch_hex_in", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpatch_hex_out", + "file": "meos_pointcloud.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpatch_from_hexwkb", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpatch_as_hexwkb", + "file": "meos_pointcloud.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_copy", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_get_pcid", + "file": "meos_pointcloud.h", + "returnType": { + "c": "uint32_t", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_npoints", + "file": "meos_pointcloud.h", + "returnType": { + "c": "uint32_t", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_hash", + "file": "meos_pointcloud.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_hash_extended", + "file": "meos_pointcloud.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "pcpatch_cmp", + "file": "meos_pointcloud.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pa1", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pa2", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_eq", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa1", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pa2", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_ne", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa1", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pa2", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_lt", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa1", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pa2", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_le", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa1", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pa2", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_gt", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa1", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pa2", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_ge", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa1", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pa2", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpointset_in", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpointset_out", + "file": "meos_pointcloud.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpointset_make", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "Pcpoint **", + "canonical": "struct Pcpoint **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpoint_to_set", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpointset_start_value", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "pcpointset_end_value", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "pcpointset_value_n", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Pcpoint **", + "canonical": "struct Pcpoint **" + } + ] + }, + { + "name": "pcpointset_values", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpoint **", + "canonical": "struct Pcpoint **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "contains_set_pcpoint", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pt", + "cType": "Pcpoint *", + "canonical": "struct Pcpoint *" + } + ] + }, + { + "name": "contained_pcpoint_set", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "intersection_pcpoint_set", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "intersection_set_pcpoint", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "minus_pcpoint_set", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "minus_set_pcpoint", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "union_pcpoint_set", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "union_set_pcpoint", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_union_transfn", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "Set *" + }, + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpatchset_in", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpatchset_out", + "file": "meos_pointcloud.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpatchset_make", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "values", + "cType": "Pcpatch **", + "canonical": "struct Pcpatch **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpatch_to_set", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatchset_start_value", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "pcpatchset_end_value", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "pcpatchset_value_n", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Pcpatch **", + "canonical": "struct Pcpatch **" + } + ] + }, + { + "name": "pcpatchset_values", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Pcpatch **", + "canonical": "struct Pcpatch **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "contains_set_pcpatch", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pa", + "cType": "Pcpatch *", + "canonical": "struct Pcpatch *" + } + ] + }, + { + "name": "contained_pcpatch_set", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "intersection_pcpatch_set", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "intersection_set_pcpatch", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "minus_pcpatch_set", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "minus_set_pcpatch", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "union_pcpatch_set", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "union_set_pcpatch", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_union_transfn", + "file": "meos_pointcloud.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "Set *" + }, + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "tpcbox_in", + "file": "meos_pointcloud.h", + "returnType": { + "c": "TPCBox *", + "canonical": "TPCBox *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tpcbox_out", + "file": "meos_pointcloud.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpcbox_make", + "file": "meos_pointcloud.h", + "returnType": { + "c": "TPCBox *", + "canonical": "TPCBox *" + }, + "params": [ + { + "name": "hasx", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hasz", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hast", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "geodetic", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "pcid", + "cType": "uint32_t", + "canonical": "unsigned 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": "period", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "tpcbox_copy", + "file": "meos_pointcloud.h", + "returnType": { + "c": "TPCBox *", + "canonical": "TPCBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "pcpatch_to_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "TPCBox *", + "canonical": "TPCBox *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpcbox_hasx", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_hasz", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_hast", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_geodetic", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_xmin", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_xmax", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_ymin", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_ymax", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_zmin", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_zmax", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_tmin", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "result", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tpcbox_tmax", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "result", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tpcbox_srid", + "file": "meos_pointcloud.h", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_pcid", + "file": "meos_pointcloud.h", + "returnType": { + "c": "uint32_t", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_to_stbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "STBox *", + "canonical": "STBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_expand", + "file": "meos_pointcloud.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "TPCBox *", + "canonical": "TPCBox *" + } + ] + }, + { + "name": "tpcbox_round", + "file": "meos_pointcloud.h", + "returnType": { + "c": "TPCBox *", + "canonical": "TPCBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpcbox_set_srid", + "file": "meos_pointcloud.h", + "returnType": { + "c": "TPCBox *", + "canonical": "TPCBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "union_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "TPCBox *", + "canonical": "TPCBox *" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "inter_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "result", + "cType": "TPCBox *", + "canonical": "TPCBox *" + } + ] + }, + { + "name": "intersection_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "TPCBox *", + "canonical": "TPCBox *" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "contains_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "contained_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "overlaps_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "same_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "adjacent_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_cmp", + "file": "meos_pointcloud.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_eq", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_ne", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_lt", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_le", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_gt", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "tpcbox_ge", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "left_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "overleft_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "right_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "overright_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "below_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "overbelow_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "above_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "overabove_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "front_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "overfront_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "back_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "overback_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "before_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "overbefore_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "after_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "overafter_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "ensure_same_pcid_tpcbox", + "file": "meos_pointcloud.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "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_from_geopose", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "json", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pose_as_geopose", + "file": "meos_pose.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "conformance", + "cType": "int", + "canonical": "int" + }, + { + "name": "precision", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpose_from_geopose", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "json", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tpose_as_geopose", + "file": "meos_pose.h", + "returnType": { + "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": "pose_apply_geo", + "file": "meos_pose.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "body", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tpose_apply_geo", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "body", + "cType": "const int *", + "canonical": "const 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": "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": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "pose_rotation", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_yaw", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_pitch", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_roll", + "file": "meos_pose.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_angular_distance", + "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": "pose_normalise", + "file": "meos_pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "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": "STBox *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "pose_timestamptz_to_stbox", + "file": "meos_pose.h", + "returnType": { + "c": "STBox *", + "canonical": "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 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": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "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_from_mfjson", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tpose_in", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tposeinst_make", + "file": "meos_pose.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tpose_from_base_temp", + "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": "tposeseq_from_base_tstzset", + "file": "meos_pose.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tposeseq_from_base_tstzspan", + "file": "meos_pose.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tposeseqset_from_base_tstzspanset", + "file": "meos_pose.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "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_yaw", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_pitch", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_roll", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_speed", + "file": "meos_pose.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpose_angular_speed", + "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": "result", + "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 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 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_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": "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 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": "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": "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": "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": "trgeometry_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": "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_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": "trgeometry_to_tpose", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_to_tpoint", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_to_tgeometry", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_end_instant", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_end_sequence", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_end_value", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_geom", + "file": "meos_rgeo.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_instant_n", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "trgeometry_instants", + "file": "meos_rgeo.h", + "returnType": { + "c": "TInstant **", + "canonical": "TInstant **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_points", + "file": "meos_rgeo.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_rotation", + "file": "meos_rgeo.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_segments", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence **", + "canonical": "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": "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": "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": "TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeometry_start_sequence", + "file": "meos_rgeo.h", + "returnType": { + "c": "TSequence *", + "canonical": "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": "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": "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 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": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_stboxes", + "file": "meos_rgeo.h", + "returnType": { + "c": "STBox *", + "canonical": "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": "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": "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 TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "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 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 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 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": "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": "unsigned long" + }, + { + "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 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 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 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 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 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 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": "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": "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": "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": "ensure_valid_tnpoint_npoint", + "file": "tnpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "ensure_valid_tnpoint_npointset", + "file": "tnpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "ensure_valid_tnpoint_geo", + "file": "tnpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_tnpoint_stbox", + "file": "tnpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "ensure_valid_tnpoint_tnpoint", + "file": "tnpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tnpointsegm_intersection", + "file": "tnpoint.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "common_rid_tnpoint_npoint", + "file": "tnpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "common_rid_tnpoint_npointset", + "file": "tnpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "common_rid_tnpoint_tnpoint", + "file": "tnpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "npoint_collinear", + "file": "tnpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "np3", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "ratio", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "npointsegm_interpolate", + "file": "tnpoint.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "params": [ + { + "name": "start", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "end", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "ratio", + "cType": "long double", + "canonical": "long double" + } + ] + }, + { + "name": "npointsegm_locate", + "file": "tnpoint.h", + "returnType": { + "c": "long double", + "canonical": "long double" + }, + "params": [ + { + "name": "start", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "end", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "value", + "cType": "const Npoint *", + "canonical": "const Npoint *" + } + ] + }, + { + "name": "npointarr_geom", + "file": "tnpoint.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "points", + "cType": "Npoint **", + "canonical": "Npoint **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "nsegmentarr_geom", + "file": "tnpoint.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "segments", + "cType": "Nsegment **", + "canonical": "Nsegment **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "nsegmentarr_normalize", + "file": "tnpoint.h", + "returnType": { + "c": "Nsegment **", + "canonical": "Nsegment **" + }, + "params": [ + { + "name": "segments", + "cType": "Nsegment **", + "canonical": "Nsegment **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "npoint_wkt_out", + "file": "tnpoint.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_set", + "file": "tnpoint.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "rid", + "cType": "int64", + "canonical": "long" + }, + { + "name": "pos", + "cType": "double", + "canonical": "double" + }, + { + "name": "np", + "cType": "Npoint *", + "canonical": "Npoint *" + } + ] + }, + { + "name": "nsegment_set", + "file": "tnpoint.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "rid", + "cType": "int64", + "canonical": "long" + }, + { + "name": "pos1", + "cType": "double", + "canonical": "double" + }, + { + "name": "pos2", + "cType": "double", + "canonical": "double" + }, + { + "name": "ns", + "cType": "Nsegment *", + "canonical": "Nsegment *" + } + ] + }, + { + "name": "datum_npoint_round", + "file": "tnpoint.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "npoint", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "tnpointinst_tgeompointinst", + "file": "tnpoint.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tnpointseq_tgeompointseq_disc", + "file": "tnpoint.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "is", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnpointseq_tgeompointseq_cont", + "file": "tnpoint.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnpointseqset_tgeompointseqset", + "file": "tnpoint.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tgeompointinst_tnpointinst", + "file": "tnpoint.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tgeompointseq_tnpointseq", + "file": "tnpoint.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tgeompointseqset_tnpointseqset", + "file": "tnpoint.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tnpointinst_positions", + "file": "tnpoint.h", + "returnType": { + "c": "Nsegment **", + "canonical": "Nsegment **" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tnpointseq_positions", + "file": "tnpoint.h", + "returnType": { + "c": "Nsegment **", + "canonical": "Nsegment **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnpointseqset_positions", + "file": "tnpoint.h", + "returnType": { + "c": "Nsegment **", + "canonical": "Nsegment **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnpointinst_route", + "file": "tnpoint.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tnpointinst_routes", + "file": "tnpoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tnpointseq_disc_routes", + "file": "tnpoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "is", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnpointseq_cont_routes", + "file": "tnpoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnpointseqset_routes", + "file": "tnpoint.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "tnpointseq_linear_positions", + "file": "tnpoint.h", + "returnType": { + "c": "Nsegment *", + "canonical": "Nsegment *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tnpoint_restrict_stbox", + "file": "tnpoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnpoint_restrict_npoint", + "file": "tnpoint.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnpoint_restrict_npointset", + "file": "tnpoint.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": "npoint_set_stbox", + "file": "tnpoint_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "npointarr_set_stbox", + "file": "tnpoint_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "const Datum *", + "canonical": "const unsigned long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "nsegment_set_stbox", + "file": "tnpoint_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const Nsegment *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "npoint_timestamptz_set_stbox", + "file": "tnpoint_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "npoint_tstzspan_set_stbox", + "file": "tnpoint_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tnpointinst_set_stbox", + "file": "tnpoint_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tnpointinstarr_set_stbox", + "file": "tnpoint_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tnpointseq_expand_stbox", + "file": "tnpoint_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "datum_npoint_distance", + "file": "tnpoint_distance.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "np1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "np2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "npoint_parse", + "file": "tnpoint_parser.h", + "returnType": { + "c": "Npoint *", + "canonical": "Npoint *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "nsegment_parse", + "file": "tnpoint_parser.h", + "returnType": { + "c": "Nsegment *", + "canonical": "Nsegment *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "contains_rid_tnpoint_bigint", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "rid", + "cType": "int64", + "canonical": "long" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "contained_rid_tnpoint_bigint", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "rid", + "cType": "int64", + "canonical": "long" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "same_rid_tnpoint_bigint", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "rid", + "cType": "int64", + "canonical": "long" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "overlaps_rid_tnpoint_bigintset", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "contains_rid_tnpoint_bigintset", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "contained_rid_tnpoint_bigintset", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "same_rid_tnpoint_bigintset", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "contains_rid_tnpoint_npoint", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "contained_rid_npoint_tnpoint", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "same_rid_tnpoint_npoint", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const Npoint *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "overlaps_rid_tnpoint_tnpoint", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "contains_rid_tnpoint_tnpoint", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "contained_rid_tnpoint_tnpoint", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "same_rid_tnpoint_tnpoint", + "file": "tnpoint_routeops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_same_rid_tnpointinst", + "file": "tnpoint_spatialfuncs.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tnpoint_restrict_geom", + "file": "tnpoint_spatialfuncs.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": "meos_pc_schema_get_srid", + "file": "meos_schema_hook.h", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "pcid", + "cType": "uint32_t", + "canonical": "unsigned int" + } + ] + }, + { + "name": "ensure_same_pcid_pcpatch", + "file": "pcpatch.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa1", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pa2", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "ensure_valid_pcpatchset_pcpatch", + "file": "pcpatch.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_parse", + "file": "pcpatch.h", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "pcpatch_filter_per_point", + "file": "pcpatch_decompose.h", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pred", + "cType": "pcpatch_pointpred_fn", + "canonical": "_Bool (*)(const int *, void *)" + }, + { + "name": "extra", + "cType": "void *", + "canonical": "void *" + }, + { + "name": "keep_when_true", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "pcpatch_any_point_matches", + "file": "pcpatch_decompose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pred", + "cType": "pcpatch_pointpred_fn", + "canonical": "_Bool (*)(const int *, void *)" + }, + { + "name": "extra", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "pcpoint_in_tpcbox", + "file": "pcpatch_decompose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "extra", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "pcpoint_intersects_geometry", + "file": "pcpatch_decompose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "extra", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "ensure_same_pcid_pcpoint", + "file": "pcpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt1", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "pt2", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "ensure_valid_pcpointset_pcpoint", + "file": "pcpoint.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_parse", + "file": "pcpoint.h", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "meos_pc_point_serialize", + "file": "pgsql_compat.h", + "returnType": { + "c": "SERIALIZED_POINT *", + "canonical": "SERIALIZED_POINT *" + }, + "params": [ + { + "name": "pcpt", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "meos_pc_point_deserialize", + "file": "pgsql_compat.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "serpt", + "cType": "const SERIALIZED_POINT *", + "canonical": "const SERIALIZED_POINT *" + }, + { + "name": "schema", + "cType": "const PCSCHEMA *", + "canonical": "const struct PCSCHEMA *" + } + ] + }, + { + "name": "meos_pc_patch_serialized_size", + "file": "pgsql_compat.h", + "returnType": { + "c": "size_t", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "patch", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "meos_pc_patch_serialize", + "file": "pgsql_compat.h", + "returnType": { + "c": "SERIALIZED_PATCH *", + "canonical": "struct SERIALIZED_PATCH *" + }, + "params": [ + { + "name": "patch_in", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "userdata", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "meos_pc_patch_serialize_to_uncompressed", + "file": "pgsql_compat.h", + "returnType": { + "c": "SERIALIZED_PATCH *", + "canonical": "struct SERIALIZED_PATCH *" + }, + "params": [ + { + "name": "patch_in", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "meos_pc_patch_deserialize", + "file": "pgsql_compat.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "serpatch", + "cType": "const SERIALIZED_PATCH *", + "canonical": "const struct SERIALIZED_PATCH *" + }, + { + "name": "schema", + "cType": "const PCSCHEMA *", + "canonical": "const struct PCSCHEMA *" + } + ] + }, + { + "name": "tpointcloudinst_set_tpcbox", + "file": "tpc_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "box", + "cType": "TPCBox *", + "canonical": "TPCBox *" + } + ] + }, + { + "name": "tpointcloudinstarr_set_tpcbox", + "file": "tpc_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "box", + "cType": "TPCBox *", + "canonical": "TPCBox *" + } + ] + }, + { + "name": "tpointcloudseq_expand_tpcbox", + "file": "tpc_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tpointcloudseqarr_set_tpcbox", + "file": "tpc_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "TPCBox *", + "canonical": "TPCBox *" + } + ] + }, + { + "name": "tpcbox_extent_transfn", + "file": "tpc_boxops.h", + "returnType": { + "c": "TPCBox *", + "canonical": "TPCBox *" + }, + "params": [ + { + "name": "state", + "cType": "TPCBox *", + "canonical": "TPCBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "boxop_tpointcloud_tpcbox", + "file": "tpc_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "func", + "cType": "bool (*)(const TPCBox *, const TPCBox *)", + "canonical": "_Bool (*)(const TPCBox *, const TPCBox *)" + }, + { + "name": "inverted", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boxop_tpointcloud_tpointcloud", + "file": "tpc_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "bool (*)(const TPCBox *, const TPCBox *)", + "canonical": "_Bool (*)(const TPCBox *, const TPCBox *)" + } + ] + }, + { + "name": "tpcbox_set_stbox", + "file": "tpc_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "src", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "dst", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "nad_tpcbox_tpcbox", + "file": "tpc_boxops.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "nad_tpointcloud_tpcbox", + "file": "tpc_boxops.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + } + ] + }, + { + "name": "nad_tpointcloud_tpointcloud", + "file": "tpc_boxops.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tpcbox_index_leaf_consistent", + "file": "tpcbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "query", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpcbox_gist_inner_consistent", + "file": "tpcbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "query", + "cType": "const TPCBox *", + "canonical": "const TPCBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpcbox_index_recheck", + "file": "tpcbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ensure_valid_pose_geo", + "file": "pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_pose_stbox", + "file": "pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "ensure_valid_pose_pose", + "file": "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": "ensure_valid_poseset_pose", + "file": "pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_collinear", + "file": "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": "pose3", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "ratio", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "posesegm_interpolate", + "file": "pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "start", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "end", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "ratio", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "posesegm_locate", + "file": "pose.h", + "returnType": { + "c": "long double", + "canonical": "long double" + }, + "params": [ + { + "name": "start", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "end", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "value", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_wkt_out", + "file": "pose.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "extended", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pose_parse", + "file": "pose.h", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "datum_pose_point", + "file": "pose.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_pose_rotation", + "file": "pose.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_pose_yaw", + "file": "pose.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_pose_pitch", + "file": "pose.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_pose_roll", + "file": "pose.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_pose_apply_geo", + "file": "pose.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "body", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_pose_round", + "file": "pose.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "pose_distance", + "file": "pose.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "pose1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "pose2", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "pose_set_stbox", + "file": "pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "posearr_set_stbox", + "file": "pose.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "const Datum *", + "canonical": "const unsigned long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "pose_timestamptz_set_stbox", + "file": "pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "pose_tstzspan_set_stbox", + "file": "pose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "p", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "ensure_valid_tpose_geo", + "file": "tpose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ensure_valid_tpose_pose", + "file": "tpose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "ensure_valid_tpose_stbox", + "file": "tpose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "ensure_valid_tpose_tpose", + "file": "tpose.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "tposesegm_intersection_value", + "file": "tpose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tposesegm_intersection", + "file": "tpose.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tposeinst_set_stbox", + "file": "tpose_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tposeinstarr_set_stbox", + "file": "tpose_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "tposeseq_expand_stbox", + "file": "tpose_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tpose_restrict_geom", + "file": "tpose_spatialfuncs.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": "tpose_restrict_stbox", + "file": "tpose_spatialfuncs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tpose_restrict_elevation", + "file": "tpose_spatialfuncs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "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": "ensure_has_geom", + "file": "trgeo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_valid_trgeo_geo", + "file": "trgeo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_trgeo_stbox", + "file": "trgeo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + } + ] + }, + { + "name": "ensure_valid_trgeo_trgeo", + "file": "trgeo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "ensure_valid_trgeo_tpoint", + "file": "trgeo.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_geom_p", + "file": "trgeo.h", + "returnType": { + "c": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + } + ] + }, + { + "name": "trgeo_wkt_out", + "file": "trgeo.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "extended", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "geo_tposeinst_to_trgeo", + "file": "trgeo.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "geo_tposeseq_to_trgeo", + "file": "trgeo.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "geo_tposeseqset_to_trgeo", + "file": "trgeo.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "trgeo_value_at_timestamptz", + "file": "trgeo.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": "unsigned long *" + } + ] + }, + { + "name": "trgeoinst_geom_p", + "file": "trgeo_inst.h", + "returnType": { + "c": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "trgeoinst_pose_varsize", + "file": "trgeo_inst.h", + "returnType": { + "c": "size_t", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "trgeoinst_set_pose", + "file": "trgeo_inst.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant *", + "canonical": "TInstant *" + } + ] + }, + { + "name": "trgeoinst_tposeinst", + "file": "trgeo_inst.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "trgeoinst_make1", + "file": "trgeo_inst.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "trgeoseq_to_tinstant", + "file": "trgeo_inst.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "trgeoseqset_to_tinstant", + "file": "trgeo_inst.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "ts", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "trgeo_restrict_geom", + "file": "trgeo_spatialfuncs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_restrict_stbox", + "file": "trgeo_spatialfuncs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "spatialrel_trgeo_trav_geo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "varfunc", + "canonical": "unsigned long (*)(unsigned long, ...)" + }, + { + "name": "numparam", + "cType": "int", + "canonical": "int" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_geo_trgeo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_trgeo_geo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_trgeo_trgeo", + "file": "trgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_geo_trgeo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_trgeo_geo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_trgeo_trgeo", + "file": "trgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_geo_trgeo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_trgeo_geo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_trgeo_trgeo", + "file": "trgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_geo_trgeo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_trgeo_geo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_trgeo_trgeo", + "file": "trgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_geo_trgeo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_trgeo_geo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_trgeo_trgeo", + "file": "trgeo_spatialrels.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", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_dwithin_trgeo_geo", + "file": "trgeo_spatialrels.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_dwithin_trgeo_trgeo", + "file": "trgeo_spatialrels.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": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseq_geom_p", + "file": "trgeo_seq.h", + "returnType": { + "c": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "trgeoseq_pose_varsize", + "file": "trgeo_seq.h", + "returnType": { + "c": "size_t", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "trgeoseq_set_pose", + "file": "trgeo_seq.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "TSequence *" + } + ] + }, + { + "name": "trgeoseq_tposeseq", + "file": "trgeo_seq.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "trgeoseq_make_valid", + "file": "trgeo_seq.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "linear", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseq_make1_exp", + "file": "trgeo_seq.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "trgeoseq_make1", + "file": "trgeo_seq.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "trgeoseq_make_exp", + "file": "trgeo_seq.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "trgeoseq_make", + "file": "trgeo_seq.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "trgeoseq_make_free_exp", + "file": "trgeo_seq.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "trgeoseq_make_free", + "file": "trgeo_seq.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "trgeoinst_to_tsequence", + "file": "trgeo_seq.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "trgeoseqset_geom_p", + "file": "trgeo_seqset.h", + "returnType": { + "c": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + "params": [ + { + "name": "ts", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "trgeoseqset_tposeseqset", + "file": "trgeo_seqset.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "trgeoseqset_make1_exp", + "file": "trgeo_seqset.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseqset_make_exp", + "file": "trgeo_seqset.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseqset_make", + "file": "trgeo_seqset.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseqset_make_free", + "file": "trgeo_seqset.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseqset_make_gaps", + "file": "trgeo_seqset.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "maxt", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "trgeoseqset_to_tsequence", + "file": "trgeo_seqset.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + } + ] + }, + { + "name": "trgeo_to_tsequence", + "file": "trgeo_seqset.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interp_str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "trgeo_to_tsequenceset", + "file": "trgeo_seqset.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interp_str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "trgeoinst_set_stbox", + "file": "trgeo_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "trgeoinstarr_static_stbox", + "file": "trgeo_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "trgeoinstarr_rotating_stbox", + "file": "trgeo_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "STBox *" + } + ] + }, + { + "name": "trgeoinstarr_compute_bbox", + "file": "trgeo_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "ensure_span_isof_type", + "file": "span.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_span_isof_basetype", + "file": "span.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_same_span_type", + "file": "span.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "ensure_valid_span_span", + "file": "span.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "span_deserialize", + "file": "span.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "lower", + "cType": "SpanBound *", + "canonical": "SpanBound *" + }, + { + "name": "upper", + "cType": "SpanBound *", + "canonical": "SpanBound *" + } + ] + }, + { + "name": "span_bound_cmp", + "file": "span.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "b1", + "cType": "const SpanBound *", + "canonical": "const SpanBound *" + }, + { + "name": "b2", + "cType": "const SpanBound *", + "canonical": "const SpanBound *" + } + ] + }, + { + "name": "span_bound_qsort_cmp", + "file": "span.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s1", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "s2", + "cType": "const void *", + "canonical": "const void *" + } + ] + }, + { + "name": "span_lower_cmp", + "file": "span.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "span_upper_cmp", + "file": "span.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "span_decr_bound", + "file": "span.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "upper", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_incr_bound", + "file": "span.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "upper", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spanarr_normalize", + "file": "span.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "spans", + "cType": "Span *", + "canonical": "Span *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "sort", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "newcount", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "span_bounds_shift_scale_value", + "file": "span.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "shift", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "lower", + "cType": "Datum *", + "canonical": "unsigned long *" + }, + { + "name": "upper", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "span_bounds_shift_scale_time", + "file": "span.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "shift", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "lower", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "upper", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "floatspan_floor_ceil_iter", + "file": "span.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "Span *", + "canonical": "Span *" + }, + { + "name": "func", + "cType": "datum_func1", + "canonical": "unsigned long (*)(unsigned long)" + } + ] + }, + { + "name": "numspan_delta_scale_iter", + "file": "span.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "Span *", + "canonical": "Span *" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "delta", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "hasdelta", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "scale", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tstzspan_delta_scale_iter", + "file": "span.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "Span *", + "canonical": "Span *" + }, + { + "name": "origin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "delta", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "scale", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "numspan_shift_scale_iter", + "file": "span.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "Span *", + "canonical": "Span *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "delta", + "cType": "Datum *", + "canonical": "unsigned long *" + }, + { + "name": "scale", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tstzspan_shift_scale1", + "file": "span.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "Span *", + "canonical": "Span *" + }, + { + "name": "shift", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "delta", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "scale", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "mi_span_value", + "file": "span.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "dist_double_value_value", + "file": "span.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "trgeo_geom_clip_polygon", + "file": "trgeo_geom_clip.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "a1", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "b1", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "a2", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "b2", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "pa", + "cType": "const POINTARRAY *", + "canonical": "const POINTARRAY *" + }, + { + "name": "intervals_out", + "cType": "Span **", + "canonical": "Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_lwpoly", + "file": "trgeo_geom_clip.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "a1", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "b1", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "a2", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "b2", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "poly", + "cType": "const LWPOLY *", + "canonical": "const LWPOLY *" + }, + { + "name": "intervals_out", + "cType": "Span **", + "canonical": "Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_box", + "file": "trgeo_geom_clip.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "a1", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "b1", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "a2", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "b2", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "xmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymin", + "cType": "double", + "canonical": "double" + }, + { + "name": "xmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "intervals_out", + "cType": "Span **", + "canonical": "Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_polygon_posed", + "file": "trgeo_geom_clip.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "p_a_local", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "p_b_local", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "pose1", + "cType": "const struct Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const struct Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pa", + "cType": "const POINTARRAY *", + "canonical": "const POINTARRAY *" + }, + { + "name": "intervals_out", + "cType": "Span **", + "canonical": "Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_lwpoly_posed", + "file": "trgeo_geom_clip.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "p_a_local", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "p_b_local", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "pose1", + "cType": "const struct Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const struct Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "poly", + "cType": "const LWPOLY *", + "canonical": "const LWPOLY *" + }, + { + "name": "intervals_out", + "cType": "Span **", + "canonical": "Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_box_posed", + "file": "trgeo_geom_clip.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "p_a_local", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "p_b_local", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "pose1", + "cType": "const struct Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const struct Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "xmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymin", + "cType": "double", + "canonical": "double" + }, + { + "name": "xmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "intervals_out", + "cType": "Span **", + "canonical": "Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_lwgeom", + "file": "trgeo_geom_clip.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "a1", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "b1", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "a2", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "b2", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "geom", + "cType": "const LWGEOM *", + "canonical": "const LWGEOM *" + }, + { + "name": "intervals_out", + "cType": "Span **", + "canonical": "Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_lwgeom_posed", + "file": "trgeo_geom_clip.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "p_a_local", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "p_b_local", + "cType": "const POINT2D *", + "canonical": "const POINT2D *" + }, + { + "name": "pose1", + "cType": "const struct Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const struct Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "geom", + "cType": "const LWGEOM *", + "canonical": "const LWGEOM *" + }, + { + "name": "intervals_out", + "cType": "Span **", + "canonical": "Span **" + } + ] + }, + { + "name": "trgeo_parse", + "file": "trgeo_parser.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_same_geom", + "file": "trgeo_utils.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "lwgeom_apply_pose", + "file": "trgeo_utils.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "geom", + "cType": "LWGEOM *", + "canonical": "LWGEOM *" + } + ] + }, + { + "name": "geom_apply_pose", + "file": "trgeo_utils.h", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "geom_radius", + "file": "trgeo_utils.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "v_clip_tpoly_point", + "file": "trgeo_vclip.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "poly", + "cType": "const LWPOLY *", + "canonical": "const LWPOLY *" + }, + { + "name": "point", + "cType": "const LWPOINT *", + "canonical": "const LWPOINT *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "poly_feature", + "cType": "uint32_t *", + "canonical": "unsigned int *" + }, + { + "name": "dist", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "v_clip_tpoly_tpoly", + "file": "trgeo_vclip.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "poly1", + "cType": "const LWPOLY *", + "canonical": "const LWPOLY *" + }, + { + "name": "poly2", + "cType": "const LWPOLY *", + "canonical": "const LWPOLY *" + }, + { + "name": "pose1", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "pose2", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "poly1_feature", + "cType": "uint32_t *", + "canonical": "unsigned int *" + }, + { + "name": "poly2_feature", + "cType": "uint32_t *", + "canonical": "unsigned int *" + }, + { + "name": "dist", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "apply_pose_point4d", + "file": "trgeo_vclip.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "p", + "cType": "POINT4D *", + "canonical": "POINT4D *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tfunc_tinstant", + "file": "lifting.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tsequence", + "file": "lifting.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tsequenceset", + "file": "lifting.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_temporal", + "file": "lifting.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tinstant_base", + "file": "lifting.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tsequence_base", + "file": "lifting.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tsequenceset_base", + "file": "lifting.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_temporal_base", + "file": "lifting.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tinstant_tinstant", + "file": "lifting.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tdiscseq_tdiscseq", + "file": "lifting.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tcontseq_tcontseq", + "file": "lifting.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tsequenceset_tsequenceset", + "file": "lifting.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_temporal_temporal", + "file": "lifting.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "eafunc_temporal_base", + "file": "lifting.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "eafunc_temporal_temporal", + "file": "lifting.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "LiftedFunctionInfo *" + } + ] + }, + { + "name": "int4_in", + "file": "postgres_types.h", + "returnType": { + "c": "int32", + "canonical": "int" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "int4_out", + "file": "postgres_types.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "val", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "int8_in", + "file": "postgres_types.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "int8_out", + "file": "postgres_types.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "val", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "float8_in", + "file": "postgres_types.h", + "returnType": { + "c": "float8", + "canonical": "double" + }, + "params": [ + { + "name": "num", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "type_name", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "orig_string", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "meos_strtod", + "file": "postgres_types.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "endptr", + "cType": "char **", + "canonical": "char **" + } + ] + }, + { + "name": "pg_dsin", + "file": "postgres_types.h", + "returnType": { + "c": "float8", + "canonical": "double" + }, + "params": [ + { + "name": "arg1", + "cType": "float8", + "canonical": "double" + } + ] + }, + { + "name": "pg_dcos", + "file": "postgres_types.h", + "returnType": { + "c": "float8", + "canonical": "double" + }, + "params": [ + { + "name": "arg1", + "cType": "float8", + "canonical": "double" + } + ] + }, + { + "name": "pg_datan", + "file": "postgres_types.h", + "returnType": { + "c": "float8", + "canonical": "double" + }, + "params": [ + { + "name": "arg1", + "cType": "float8", + "canonical": "double" + } + ] + }, + { + "name": "pg_datan2", + "file": "postgres_types.h", + "returnType": { + "c": "float8", + "canonical": "double" + }, + "params": [ + { + "name": "arg1", + "cType": "float8", + "canonical": "double" + }, + { + "name": "arg2", + "cType": "float8", + "canonical": "double" + } + ] + }, + { + "name": "interval_negate", + "file": "postgres_types.h", + "returnType": { + "c": "Interval *", + "canonical": "Interval *" + }, + "params": [ + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "pg_interval_justify_hours", + "file": "postgres_types.h", + "returnType": { + "c": "Interval *", + "canonical": "Interval *" + }, + "params": [ + { + "name": "span", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "hash_bytes_uint32", + "file": "postgres_types.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "k", + "cType": "uint32", + "canonical": "unsigned int" + } + ] + }, + { + "name": "pg_hashint8", + "file": "postgres_types.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "val", + "cType": "int64", + "canonical": "long" + } + ] + }, + { + "name": "pg_hashfloat8", + "file": "postgres_types.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "key", + "cType": "float8", + "canonical": "double" + } + ] + }, + { + "name": "hash_bytes_uint32_extended", + "file": "postgres_types.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "k", + "cType": "uint32", + "canonical": "unsigned int" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "pg_hashint8extended", + "file": "postgres_types.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "val", + "cType": "int64", + "canonical": "long" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "pg_hashfloat8extended", + "file": "postgres_types.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "key", + "cType": "float8", + "canonical": "double" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "pg_hashtext", + "file": "postgres_types.h", + "returnType": { + "c": "uint32", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "key", + "cType": "text *", + "canonical": "struct varlena *" + } + ] + }, + { + "name": "pg_hashtextextended", + "file": "postgres_types.h", + "returnType": { + "c": "uint64", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "key", + "cType": "text *", + "canonical": "struct varlena *" + }, + { + "name": "seed", + "cType": "uint64", + "canonical": "unsigned long" + } + ] + }, + { + "name": "set_out_fn", + "file": "set.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "value_out", + "cType": "outfunc", + "canonical": "char *(*)(unsigned long, MeosType, int)" + } + ] + }, + { + "name": "ensure_set_isof_type", + "file": "set.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "settype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_valid_set_set", + "file": "set.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "s2", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "set_find_value", + "file": "set.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "arg1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "loc", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "set_unnest_state_make", + "file": "set.h", + "returnType": { + "c": "SetUnnestState *", + "canonical": "SetUnnestState *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "set_unnest_state_next", + "file": "set.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "state", + "cType": "SetUnnestState *", + "canonical": "SetUnnestState *" + } + ] + }, + { + "name": "ensure_same_skiplist_subtype", + "file": "skiplist.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "subtype", + "cType": "uint8", + "canonical": "unsigned char" + } + ] + }, + { + "name": "skiplist_set_extra", + "file": "skiplist.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "data", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" + } + ] + }, + { + "name": "skiplist_headval", + "file": "skiplist.h", + "returnType": { + "c": "void *", + "canonical": "void *" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "common_entry_cmp", + "file": "span_index.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i1", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "i2", + "cType": "const void *", + "canonical": "const void *" + } + ] + }, + { + "name": "span_index_leaf_consistent", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "span_gist_inner_consistent", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "span_index_recheck", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "span_lower_qsort_cmp", + "file": "span_index.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "a", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "b", + "cType": "const void *", + "canonical": "const void *" + } + ] + }, + { + "name": "span_upper_qsort_cmp", + "file": "span_index.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "a", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "b", + "cType": "const void *", + "canonical": "const void *" + } + ] + }, + { + "name": "getQuadrant2D", + "file": "span_index.h", + "returnType": { + "c": "uint8", + "canonical": "unsigned char" + }, + "params": [ + { + "name": "centroid", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "overlap2D", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "contain2D", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "left2D", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "overLeft2D", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "right2D", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "overRight2D", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "adjacent2D", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "distance_span_nodespan", + "file": "span_index.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "query", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + } + ] + }, + { + "name": "span_spgist_get_span", + "file": "span_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "spannode_init", + "file": "span_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "SpanNode *", + "canonical": "SpanNode *" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spannode_copy", + "file": "span_index.h", + "returnType": { + "c": "SpanNode *", + "canonical": "SpanNode *" + }, + "params": [ + { + "name": "orig", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + } + ] + }, + { + "name": "spannode_quadtree_next", + "file": "span_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + }, + { + "name": "centroid", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "quadrant", + "cType": "uint8", + "canonical": "unsigned char" + }, + { + "name": "next_nodespan", + "cType": "SpanNode *", + "canonical": "SpanNode *" + } + ] + }, + { + "name": "spannode_kdtree_next", + "file": "span_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const SpanNode *" + }, + { + "name": "centroid", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "node", + "cType": "uint8", + "canonical": "unsigned char" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + }, + { + "name": "next_nodespan", + "cType": "SpanNode *", + "canonical": "SpanNode *" + } + ] + }, + { + "name": "ensure_spanset_isof_type", + "file": "spanset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "spansettype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_same_spanset_type", + "file": "spanset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss1", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "ss2", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "ensure_same_spanset_span_type", + "file": "spanset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "ensure_valid_spanset_span", + "file": "spanset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "ensure_valid_spanset_spanset", + "file": "spanset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss1", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "ss2", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "spanset_find_value", + "file": "spanset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "v", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "loc", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "datum_and", + "file": "tbool_ops.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_or", + "file": "tbool_ops.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "boolop_tbool_bool", + "file": "tbool_ops.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "b", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boolop_tbool_tbool", + "file": "tbool_ops.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + } + ] + }, + { + "name": "ensure_same_dimensionality_tbox", + "file": "tbox.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "set_tbox", + "file": "tbox.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "span_tbox", + "file": "tbox.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "tbox_tstzspan", + "file": "tbox.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "tbox_intspan", + "file": "tbox.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "tbox_floatspan", + "file": "tbox.h", + "returnType": { + "c": "Span *", + "canonical": "Span *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "tbox_index_leaf_consistent", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tbox_gist_inner_consistent", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tbox_index_recheck", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tboxnode_init", + "file": "tbox_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "centroid", + "cType": "TBox *", + "canonical": "TBox *" + }, + { + "name": "nodebox", + "cType": "TboxNode *", + "canonical": "TboxNode *" + } + ] + }, + { + "name": "tboxnode_copy", + "file": "tbox_index.h", + "returnType": { + "c": "TboxNode *", + "canonical": "TboxNode *" + }, + "params": [ + { + "name": "box", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + } + ] + }, + { + "name": "getQuadrant4D", + "file": "tbox_index.h", + "returnType": { + "c": "uint8", + "canonical": "unsigned char" + }, + "params": [ + { + "name": "centroid", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "inBox", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "tboxnode_quadtree_next", + "file": "tbox_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "centroid", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "quadrant", + "cType": "uint8", + "canonical": "unsigned char" + }, + { + "name": "next_nodebox", + "cType": "TboxNode *", + "canonical": "TboxNode *" + } + ] + }, + { + "name": "tboxnode_kdtree_next", + "file": "tbox_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "centroid", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "node", + "cType": "uint8", + "canonical": "unsigned char" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + }, + { + "name": "next_nodebox", + "cType": "TboxNode *", + "canonical": "TboxNode *" + } + ] + }, + { + "name": "overlap4D", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "contain4D", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "left4D", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "overLeft4D", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "right4D", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "overRight4D", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "before4D", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "overBefore4D", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "after4D", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "overAfter4D", + "file": "tbox_index.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "distance_tbox_nodebox", + "file": "tbox_index.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const TboxNode *" + } + ] + }, + { + "name": "tnumber_spgist_get_tbox", + "file": "tbox_index.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "tbox_xmin_cmp", + "file": "tbox_index.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "tbox_xmax_cmp", + "file": "tbox_index.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "tbox_tmin_cmp", + "file": "tbox_index.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "tbox_tmax_cmp", + "file": "tbox_index.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const TBox *" + } + ] + }, + { + "name": "tbox_level_cmp", + "file": "tbox_index.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "centroid", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "datum_min_int32", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_max_int32", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_min_int64", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_max_int64", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_min_float8", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_max_float8", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_sum_int32", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_sum_int64", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_sum_float8", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_min_text", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_max_text", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_sum_double2", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_sum_double3", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_sum_double4", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "temporal_skiplist_common", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "values", + "cType": "void **", + "canonical": "void **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "upper", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "update", + "cType": "int[32]", + "canonical": "int[32]" + } + ] + }, + { + "name": "temporal_skiplist_merge", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "void **", + "canonical": "void **" + }, + "params": [ + { + "name": "spliced", + "cType": "void **", + "canonical": "void **" + }, + { + "name": "spliced_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "values", + "cType": "void **", + "canonical": "void **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "newcount", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "tofree", + "cType": "void ***", + "canonical": "void ***" + }, + { + "name": "nfree", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tinstant_tagg", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "TInstant **", + "canonical": "TInstant **" + }, + "params": [ + { + "name": "instants1", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count1", + "cType": "int", + "canonical": "int" + }, + { + "name": "instants2", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count2", + "cType": "int", + "canonical": "int" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "newcount", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "tofree", + "cType": "void ***", + "canonical": "void ***" + }, + { + "name": "nfree", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequence_tagg", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "TSequence **", + "canonical": "TSequence **" + }, + "params": [ + { + "name": "sequences1", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count1", + "cType": "int", + "canonical": "int" + }, + { + "name": "sequences2", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count2", + "cType": "int", + "canonical": "int" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "newcount", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tcontseq_tagg_transfn", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "interpoint", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_tagg_combinefn", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_tagg_transfn", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + } + ] + }, + { + "name": "tinstant_tavg_finalfn", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequence_tavg_finalfn", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tnumberinst_transform_tavg", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "temporal_transform_tcount", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Temporal **", + "canonical": "Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_transform_tagg", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "Temporal **", + "canonical": "Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "func", + "cType": "TInstant *(*)(const TInstant *)", + "canonical": "TInstant *(*)(const TInstant *)" + } + ] + }, + { + "name": "tsequenceset_tagg_transfn", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_tagg_transfn", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + } + ] + }, + { + "name": "temporal_tagg_transfn", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "arg2", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_tagg_transform_transfn", + "file": "temporal_aggfuncs.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "transform", + "cType": "TInstant *(*)(const TInstant *)", + "canonical": "TInstant *(*)(const TInstant *)" + } + ] + }, + { + "name": "temporal_similarity", + "file": "temporal_analytics.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "simfunc", + "cType": "SimFunc", + "canonical": "SimFunc" + } + ] + }, + { + "name": "temporal_similarity_path", + "file": "temporal_analytics.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": "simfunc", + "cType": "SimFunc", + "canonical": "SimFunc" + } + ] + }, + { + "name": "temporal_bbox_size", + "file": "temporal_boxops.h", + "returnType": { + "c": "size_t", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "tempype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tinstarr_set_bbox", + "file": "temporal_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "bbox", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tsequence_compute_bbox", + "file": "temporal_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "TSequence *" + } + ] + }, + { + "name": "tseqarr_compute_bbox", + "file": "temporal_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "bbox", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tsequenceset_compute_bbox", + "file": "temporal_boxops.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "TSequenceSet *" + } + ] + }, + { + "name": "boxop_temporal_tstzspan", + "file": "temporal_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "func", + "cType": "bool (*)(const Span *, const Span *)", + "canonical": "_Bool (*)(const Span *, const Span *)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boxop_temporal_temporal", + "file": "temporal_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "bool (*)(const Span *, const Span *)", + "canonical": "_Bool (*)(const Span *, const Span *)" + } + ] + }, + { + "name": "boxop_tnumber_numspan", + "file": "temporal_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "func", + "cType": "bool (*)(const Span *, const Span *)", + "canonical": "_Bool (*)(const Span *, const Span *)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boxop_tnumber_tbox", + "file": "temporal_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "func", + "cType": "bool (*)(const TBox *, const TBox *)", + "canonical": "_Bool (*)(const TBox *, const TBox *)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boxop_tnumber_tnumber", + "file": "temporal_boxops.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "bool (*)(const TBox *, const TBox *)", + "canonical": "_Bool (*)(const TBox *, const TBox *)" + } + ] + }, + { + "name": "eacomp_base_temporal", + "file": "temporal_compops.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "eacomp_temporal_base", + "file": "temporal_compops.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "eacomp_temporal_temporal", + "file": "temporal_compops.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcomp_base_temporal", + "file": "temporal_compops.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + } + ] + }, + { + "name": "tcomp_temporal_base", + "file": "temporal_compops.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + } + ] + }, + { + "name": "tcomp_temporal_temporal", + "file": "temporal_compops.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + } + ] + }, + { + "name": "tdiscseq_at_timestamptz", + "file": "temporal_restrict.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tdiscseq_restrict_value", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_restrict_values", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_minus_timestamptz", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tdiscseq_restrict_tstzset", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_restrict_tstzspanset", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcontseq_restrict_value_iter", + "file": "temporal_restrict.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tcontseq_delete_timestamptz", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tcontseq_delete_tstzset", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tcontseq_delete_tstzspanset", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + } + ] + }, + { + "name": "tcontseq_at_tstzset", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tcontseq_minus_timestamptz", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tcontseq_minus_tstzset", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + } + ] + }, + { + "name": "tcontseq_minus_tstzspan", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "tcontseq_restrict_value", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcontseq_restrict_values", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_at_values_iter", + "file": "temporal_restrict.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "set", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tnumberseq_cont_restrict_span_iter", + "file": "temporal_restrict.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tnumberseq_cont_restrict_spanset_iter", + "file": "temporal_restrict.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tsegment_at_timestamptz", + "file": "temporal_restrict.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tcontseq_minus_timestamp_iter", + "file": "temporal_restrict.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tcontseq_minus_tstzset_iter", + "file": "temporal_restrict.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tcontseq_at_tstzspanset1", + "file": "temporal_restrict.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tcontseq_minus_tstzspanset_iter", + "file": "temporal_restrict.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tcontseq_at_tstzspan", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + } + ] + }, + { + "name": "tcontseq_at_timestamptz", + "file": "temporal_restrict.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tcontseq_restrict_tstzspanset", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_value_at_timestamptz", + "file": "temporal_restrict.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "tnumberseq_disc_restrict_span", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseq_disc_restrict_spanset", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseq_cont_restrict_span", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseq_cont_restrict_spanset", + "file": "temporal_restrict.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseq_cont_twavg", + "file": "temporal_restrict.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "span_num_bins", + "file": "temporal_tile.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start_bin", + "cType": "Datum *", + "canonical": "unsigned long *" + }, + { + "name": "end_bin", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "temporal_time_bin_init", + "file": "temporal_tile.h", + "returnType": { + "c": "SpanBinState *", + "canonical": "struct SpanBinState *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "nbins", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tbox_tile_state_make", + "file": "temporal_tile.h", + "returnType": { + "c": "TboxGridState *", + "canonical": "struct TboxGridState *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "box", + "cType": "const TBox *", + "canonical": "const TBox *" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "xorigin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tbox_tile_state_next", + "file": "temporal_tile.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "state", + "cType": "TboxGridState *", + "canonical": "struct TboxGridState *" + } + ] + }, + { + "name": "tbox_tile_state_set", + "file": "temporal_tile.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "tunits", + "cType": "int64", + "canonical": "long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "interval_units", + "file": "temporal_tile.h", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "timestamptz_bin_start", + "file": "temporal_tile.h", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "timestamp", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "tunits", + "cType": "int64", + "canonical": "long" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "datum_bin", + "file": "temporal_tile.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "offset", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tnumber_value_time_tile_init", + "file": "temporal_tile.h", + "returnType": { + "c": "TboxGridState *", + "canonical": "struct TboxGridState *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "ntiles", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tbox_tile_state_get", + "file": "temporal_tile.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "state", + "cType": "TboxGridState *", + "canonical": "struct TboxGridState *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "TBox *" + } + ] + }, + { + "name": "temporal_transform_wcount", + "file": "temporal_waggfuncs.h", + "returnType": { + "c": "TSequence **", + "canonical": "TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_transform_wavg", + "file": "temporal_waggfuncs.h", + "returnType": { + "c": "TSequence **", + "canonical": "TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_wagg_transfn", + "file": "temporal_waggfuncs.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_wagg_transform_transfn", + "file": "temporal_waggfuncs.h", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "transform", + "cType": "TSequence **(*)(const Temporal *, const Interval *, int *)", + "canonical": "TSequence **(*)(const Temporal *, const Interval *, int *)" + } + ] + }, + { + "name": "tinstant_set", + "file": "tinstant.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant *", + "canonical": "TInstant *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tnumberinst_double", + "file": "tinstant.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + } + ] + }, + { + "name": "tinstant_to_string", + "file": "tinstant.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "value_out", + "cType": "outfunc", + "canonical": "char *(*)(unsigned long, MeosType, int)" + } + ] + }, + { + "name": "tinstant_restrict_values_test", + "file": "tinstant.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_restrict_span_test", + "file": "tinstant.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_restrict_spanset_test", + "file": "tinstant.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzset_test", + "file": "tinstant.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzspanset_test", + "file": "tinstant.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "intersection_tinstant_tinstant", + "file": "tinstant.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inter1", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "inter2", + "cType": "TInstant **", + "canonical": "TInstant **" + } + ] + }, + { + "name": "_mulmat", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "b", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "c", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "arows", + "cType": "const int", + "canonical": "const int" + }, + { + "name": "acols", + "cType": "const int", + "canonical": "const int" + }, + { + "name": "bcols", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "_mulvec", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "x", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "y", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "m", + "cType": "const int", + "canonical": "const int" + }, + { + "name": "n", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "_transpose", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "at", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "m", + "cType": "const int", + "canonical": "const int" + }, + { + "name": "n", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "_addmat", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "b", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "c", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "m", + "cType": "const int", + "canonical": "const int" + }, + { + "name": "n", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "_negate", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "m", + "cType": "const int", + "canonical": "const int" + }, + { + "name": "n", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "_addeye", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "n", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "_choldc1", + "file": "tinyekf_meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "a", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "p", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "n", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "_choldcsl", + "file": "tinyekf_meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "A", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "a", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "p", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "n", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "_cholsl", + "file": "tinyekf_meos.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "A", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "a", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "p", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "n", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "_addvec", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "b", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "c", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "n", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "_sub", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "a", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "b", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "c", + "cType": "float *", + "canonical": "float *" + }, + { + "name": "n", + "cType": "const int", + "canonical": "const int" + } + ] + }, + { + "name": "invert", + "file": "tinyekf_meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "ainv", + "cType": "float *", + "canonical": "float *" + } + ] + }, + { + "name": "ekf_initialize", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ekf", + "cType": "ekf_t *", + "canonical": "struct ekf_t *" + }, + { + "name": "pdiag", + "cType": "const float", + "canonical": "const float" + } + ] + }, + { + "name": "ekf_predict", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ekf", + "cType": "ekf_t *", + "canonical": "struct ekf_t *" + }, + { + "name": "fx", + "cType": "const float", + "canonical": "const float" + }, + { + "name": "F", + "cType": "const float", + "canonical": "const float" + }, + { + "name": "Q", + "cType": "const float", + "canonical": "const float" + } + ] + }, + { + "name": "ekf_update_step3", + "file": "tinyekf_meos.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ekf", + "cType": "ekf_t *", + "canonical": "struct ekf_t *" + }, + { + "name": "GH", + "cType": "float", + "canonical": "float" + } + ] + }, + { + "name": "ekf_update", + "file": "tinyekf_meos.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ekf", + "cType": "ekf_t *", + "canonical": "struct ekf_t *" + }, + { + "name": "z", + "cType": "const float", + "canonical": "const float" + }, + { + "name": "hx", + "cType": "const float", + "canonical": "const float" + }, + { + "name": "H", + "cType": "const float", + "canonical": "const float" + }, + { + "name": "R", + "cType": "const float", + "canonical": "const float" + } + ] + }, + { + "name": "tfloat_arithop_turnpt", + "file": "tnumber_mathfuncs.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "arithop_tnumber_number", + "file": "tnumber_mathfuncs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "oper", + "cType": "TArithmetic", + "canonical": "TArithmetic" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "arithop_tnumber_tnumber", + "file": "tnumber_mathfuncs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "oper", + "cType": "TArithmetic", + "canonical": "TArithmetic" + }, + { + "name": "func", + "cType": "Datum (*)(Datum, Datum, MeosType)", + "canonical": "unsigned long (*)(unsigned long, unsigned long, MeosType)" + }, + { + "name": "tpfunc", + "cType": "tpfunc_temp", + "canonical": "int (*)(unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, long, long, long *, long *)" + } + ] + }, + { + "name": "float_collinear", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "x1", + "cType": "double", + "canonical": "double" + }, + { + "name": "x2", + "cType": "double", + "canonical": "double" + }, + { + "name": "x3", + "cType": "double", + "canonical": "double" + }, + { + "name": "ratio", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "floatsegm_interpolate", + "file": "tsequence.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "value1", + "cType": "double", + "canonical": "double" + }, + { + "name": "value2", + "cType": "double", + "canonical": "double" + }, + { + "name": "value", + "cType": "long double", + "canonical": "long double" + } + ] + }, + { + "name": "floatsegm_locate", + "file": "tsequence.h", + "returnType": { + "c": "long double", + "canonical": "long double" + }, + "params": [ + { + "name": "value1", + "cType": "double", + "canonical": "double" + }, + { + "name": "value2", + "cType": "double", + "canonical": "double" + }, + { + "name": "value", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tnumbersegm_intersection", + "file": "tsequence.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tsequence_norm_test", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value3", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "t1", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t2", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t3", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tsequence_join_test", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "removelast", + "cType": "bool *", + "canonical": "_Bool *" + }, + { + "name": "removefirst", + "cType": "bool *", + "canonical": "_Bool *" + } + ] + }, + { + "name": "tsequence_join", + "file": "tsequence.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "removelast", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "removefirst", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstarr_normalize", + "file": "tsequence.h", + "returnType": { + "c": "TInstant **", + "canonical": "TInstant **" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "newcount", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tcontseq_find_timestamptz", + "file": "tsequence.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tdiscseq_find_timestamptz", + "file": "tsequence.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tseqarr2_to_tseqarr", + "file": "tsequence.h", + "returnType": { + "c": "TSequence **", + "canonical": "TSequence **" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence ***", + "canonical": "TSequence ***" + }, + { + "name": "countseqs", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "totalseqs", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ensure_valid_tinstarr_common", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "tsequence_make_exp1", + "file": "tsequence.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "bbox", + "cType": "const void *", + "canonical": "const void *" + } + ] + }, + { + "name": "synchronize_tsequence_tsequence", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "sync1", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "sync2", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "interpoint", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tfloatsegm_intersection_value", + "file": "tsequence.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tsegment_intersection_value", + "file": "tsequence.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tsegment_intersection", + "file": "tsequence.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tsegment_value_at_timestamptz", + "file": "tsequence.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "intersection_tdiscseq_tdiscseq", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "inter1", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "inter2", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "intersection_tcontseq_tdiscseq", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "inter1", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "inter2", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "intersection_tdiscseq_tcontseq", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "is", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "inter1", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "inter2", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "intersection_tsequence_tinstant", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inter1", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "inter2", + "cType": "TInstant **", + "canonical": "TInstant **" + } + ] + }, + { + "name": "intersection_tinstant_tsequence", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "inter1", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "inter2", + "cType": "TInstant **", + "canonical": "TInstant **" + } + ] + }, + { + "name": "tsequence_to_string", + "file": "tsequence.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "component", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "value_out", + "cType": "outfunc", + "canonical": "char *(*)(unsigned long, MeosType, int)" + } + ] + }, + { + "name": "ensure_increasing_timestamps", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "bbox_expand", + "file": "tsequence.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box1", + "cType": "const void *", + "canonical": "const void *" + }, + { + "name": "box2", + "cType": "void *", + "canonical": "void *" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_valid_tinstarr", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "merge", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_make_valid", + "file": "tsequence.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "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": "tnumberseq_shift_scale_value_iter", + "file": "tsequence.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "TSequence *" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "delta", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "hasdelta", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "scale", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tsequence_shift_scale_time_iter", + "file": "tsequence.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "TSequence *" + }, + { + "name": "delta", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "scale", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tstepseq_to_linear_iter", + "file": "tsequence.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tstepseq_to_linear", + "file": "tsequence.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + } + ] + }, + { + "name": "tsequence_segments_iter", + "file": "tsequence.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "tsequence_timestamps_iter", + "file": "tsequence.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "result", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tsequenceset_find_timestamptz", + "file": "tsequenceset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "loc", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tseqarr_normalize", + "file": "tsequenceset.h", + "returnType": { + "c": "TSequence **", + "canonical": "TSequence **" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "newcount", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "datum_distance", + "file": "tsequenceset.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "value1", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "value2", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_valid_tinstarr_gaps", + "file": "tsequenceset.h", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "merge", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "nsplits", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "ensure_valid_tseqarr", + "file": "tsequenceset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "synchronize_tsequenceset_tsequence", + "file": "tsequenceset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "mode", + "cType": "SyncMode", + "canonical": "SyncMode" + }, + { + "name": "inter1", + "cType": "TSequenceSet **", + "canonical": "TSequenceSet **" + }, + { + "name": "inter2", + "cType": "TSequenceSet **", + "canonical": "TSequenceSet **" + } + ] + }, + { + "name": "synchronize_tsequenceset_tsequenceset", + "file": "tsequenceset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "mode", + "cType": "SyncMode", + "canonical": "SyncMode" + }, + { + "name": "inter1", + "cType": "TSequenceSet **", + "canonical": "TSequenceSet **" + }, + { + "name": "inter2", + "cType": "TSequenceSet **", + "canonical": "TSequenceSet **" + } + ] + }, + { + "name": "intersection_tsequenceset_tinstant", + "file": "tsequenceset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "inter1", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "inter2", + "cType": "TInstant **", + "canonical": "TInstant **" + } + ] + }, + { + "name": "intersection_tinstant_tsequenceset", + "file": "tsequenceset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const TInstant *" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "inter1", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "inter2", + "cType": "TInstant **", + "canonical": "TInstant **" + } + ] + }, + { + "name": "intersection_tsequenceset_tdiscseq", + "file": "tsequenceset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "is", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "inter1", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "inter2", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "intersection_tdiscseq_tsequenceset", + "file": "tsequenceset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "is", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "inter1", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "inter2", + "cType": "TSequence **", + "canonical": "TSequence **" + } + ] + }, + { + "name": "intersection_tsequence_tsequenceset", + "file": "tsequenceset.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const TSequence *" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "mode", + "cType": "SyncMode", + "canonical": "SyncMode" + }, + { + "name": "inter1", + "cType": "TSequenceSet **", + "canonical": "TSequenceSet **" + }, + { + "name": "inter2", + "cType": "TSequenceSet **", + "canonical": "TSequenceSet **" + } + ] + }, + { + "name": "tsequenceset_to_string", + "file": "tsequenceset.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const TSequenceSet *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "value_out", + "cType": "outfunc", + "canonical": "char *(*)(unsigned long, MeosType, int)" + } + ] + }, + { + "name": "datum_textcat", + "file": "ttext_funcs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_lower", + "file": "ttext_funcs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_upper", + "file": "ttext_funcs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "datum_initcap", + "file": "ttext_funcs.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + } + ] + }, + { + "name": "textfunc_ttext", + "file": "ttext_funcs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "datum_func1", + "canonical": "unsigned long (*)(unsigned long)" + } + ] + }, + { + "name": "textfunc_ttext_text", + "file": "ttext_funcs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "textfunc_ttext_ttext", + "file": "ttext_funcs.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const Temporal *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "unsigned long (*)(unsigned long, unsigned long)" + } + ] + }, + { + "name": "datum_as_wkb", + "file": "type_inout.h", + "returnType": { + "c": "uint8_t *", + "canonical": "unsigned char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "datum_as_hexwkb", + "file": "type_inout.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size", + "cType": "size_t *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "type_from_wkb", + "file": "type_inout.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "type_from_hexwkb", + "file": "type_inout.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_end_input", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "type", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "p_whitespace", + "file": "type_parser.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "p_delimchar", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "delim", + "cType": "char", + "canonical": "char" + } + ] + }, + { + "name": "p_obrace", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "ensure_obrace", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "type", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "p_cbrace", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "ensure_cbrace", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "type", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "p_obracket", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "p_cbracket", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "p_oparen", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "ensure_oparen", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "type", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "p_cparen", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "ensure_cparen", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "type", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "p_comma", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "basetype_parse", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "basetypid", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "delim", + "cType": "char", + "canonical": "char" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "double_parse", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "elem_parse", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "set_parse", + "file": "type_parser.h", + "returnType": { + "c": "Set *", + "canonical": "Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_parse", + "file": "type_parser.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "span", + "cType": "Span *", + "canonical": "Span *" + } + ] + }, + { + "name": "spanset_parse", + "file": "type_parser.h", + "returnType": { + "c": "SpanSet *", + "canonical": "SpanSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tbox_parse", + "file": "type_parser.h", + "returnType": { + "c": "TBox *", + "canonical": "TBox *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "timestamp_parse", + "file": "type_parser.h", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "tinstant_parse", + "file": "type_parser.h", + "returnType": { + "c": "TInstant *", + "canonical": "TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_parse", + "file": "type_parser.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tcontseq_parse", + "file": "type_parser.h", + "returnType": { + "c": "TSequence *", + "canonical": "TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_parse", + "file": "type_parser.h", + "returnType": { + "c": "TSequenceSet *", + "canonical": "TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "temporal_parse", + "file": "type_parser.h", + "returnType": { + "c": "Temporal *", + "canonical": "Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_copy", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "typid", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_double", + "file": "type_util.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "double_datum", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "d", + "cType": "double", + "canonical": "double" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "bstring2bytea", + "file": "type_util.h", + "returnType": { + "c": "bytea *", + "canonical": "struct varlena *" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "unsigned long" + } + ] + }, + { + "name": "basetype_in", + "file": "type_util.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "basetype_out", + "file": "type_util.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pfree_array", + "file": "type_util.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "array", + "cType": "void **", + "canonical": "void **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "string_escape", + "file": "type_util.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "quotes", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "char **", + "canonical": "char **" + } + ] + }, + { + "name": "stringarr_to_string", + "file": "type_util.h", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "strings", + "cType": "char **", + "canonical": "char **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "prefix", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "open", + "cType": "char", + "canonical": "char" + }, + { + "name": "close", + "cType": "char", + "canonical": "char" + }, + { + "name": "quotes", + "cType": "int", + "canonical": "int" + }, + { + "name": "spaces", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "datumarr_sort", + "file": "type_util.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "unsigned long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tstzarr_sort", + "file": "type_util.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "times", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spanarr_sort", + "file": "type_util.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "spans", + "cType": "Span *", + "canonical": "Span *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tinstarr_sort", + "file": "type_util.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tseqarr_sort", + "file": "type_util.h", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "datumarr_remove_duplicates", + "file": "type_util.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "unsigned long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tstzarr_remove_duplicates", + "file": "type_util.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "values", + "cType": "TimestampTz *", + "canonical": "long *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tinstarr_remove_duplicates", + "file": "type_util.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "datum_add", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_sub", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_mul", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_div", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_cmp", + "file": "type_util.h", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_eq", + "file": "type_util.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_ne", + "file": "type_util.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_lt", + "file": "type_util.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_le", + "file": "type_util.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_gt", + "file": "type_util.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_ge", + "file": "type_util.h", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_eq", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_ne", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_lt", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_le", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_gt", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_ge", + "file": "type_util.h", + "returnType": { + "c": "Datum", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "unsigned long" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "hypot3d", + "file": "type_util.h", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" + }, + { + "name": "z", + "cType": "double", + "canonical": "double" + } + ] + } + ], + "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": 0 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": 8 + }, + { + "name": "lower_inc", + "cType": "_Bool", + "offset_bits": 16 + }, + { + "name": "upper_inc", + "cType": "_Bool", + "offset_bits": 24 + }, + { + "name": "padding", + "cType": "char[4]", + "offset_bits": 32 + }, + { + "name": "lower", + "cType": "Datum", + "offset_bits": 64 + }, + { + "name": "upper", + "cType": "Datum", + "offset_bits": 128 + } + ] + }, + { + "name": "SpanSet", + "file": "meos.h", + "fields": [ + { + "name": "vl_len_", + "cType": "int32", + "offset_bits": 0 + }, + { + "name": "spansettype", + "cType": "uint8", + "offset_bits": 32 + }, + { + "name": "spantype", + "cType": "uint8", + "offset_bits": 40 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": 48 + }, + { + "name": "padding", + "cType": "char", + "offset_bits": 56 + }, + { + "name": "count", + "cType": "int32", + "offset_bits": 64 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": 96 + }, + { + "name": "span", + "cType": "Span", + "offset_bits": 128 + }, + { + "name": "elems", + "cType": "Span[1]", + "offset_bits": 320 + } + ] + }, + { + "name": "TBox", + "file": "meos.h", + "fields": [ + { + "name": "period", + "cType": "Span", + "offset_bits": 0 + }, + { + "name": "span", + "cType": "Span", + "offset_bits": 192 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": 384 + } + ] + }, + { + "name": "STBox", + "file": "meos.h", + "fields": [ + { + "name": "period", + "cType": "Span", + "offset_bits": 0 + }, + { + "name": "xmin", + "cType": "double", + "offset_bits": 192 + }, + { + "name": "ymin", + "cType": "double", + "offset_bits": 256 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": 320 + }, + { + "name": "xmax", + "cType": "double", + "offset_bits": 384 + }, + { + "name": "ymax", + "cType": "double", + "offset_bits": 448 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": 512 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 576 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": 608 + } + ] + }, + { + "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": 0 + }, + { + "name": "temptype", + "cType": "uint8", + "offset_bits": 32 + }, + { + "name": "subtype", + "cType": "uint8", + "offset_bits": 40 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": 48 + }, + { + "name": "t", + "cType": "TimestampTz", + "offset_bits": 64 + }, + { + "name": "value", + "cType": "Datum", + "offset_bits": 128 + } + ], + "meosType": "TPointInst" + }, + { + "name": "TSequence", + "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": "count", + "cType": "int32", + "offset_bits": 64 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": 96 + }, + { + "name": "bboxsize", + "cType": "int16", + "offset_bits": 128 + }, + { + "name": "padding", + "cType": "char[6]", + "offset_bits": 144 + }, + { + "name": "period", + "cType": "Span", + "offset_bits": 192 + } + ], + "meosType": "TPointSeq" + }, + { + "name": "TSequenceSet", + "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": "count", + "cType": "int32", + "offset_bits": 64 + }, + { + "name": "totalcount", + "cType": "int32", + "offset_bits": 96 + }, + { + "name": "maxcount", + "cType": "int32", + "offset_bits": 128 + }, + { + "name": "bboxsize", + "cType": "int16", + "offset_bits": 160 + }, + { + "name": "padding", + "cType": "int16", + "offset_bits": 176 + }, + { + "name": "period", + "cType": "Span", + "offset_bits": 192 + } + ] + }, + { + "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": "STboxNode", + "file": "stbox_index.h", + "fields": [ + { + "name": "left", + "cType": "STBox", + "offset_bits": 0 + }, + { + "name": "right", + "cType": "STBox", + "offset_bits": 640 + } + ] + }, + { + "name": "SortedSTbox", + "file": "stbox_index.h", + "fields": [ + { + "name": "box", + "cType": "STBox", + "offset_bits": 0 + }, + { + "name": "i", + "cType": "int", + "offset_bits": 640 + } + ] + }, + { + "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": 0 + }, + { + "name": "hasx", + "cType": "_Bool", + "offset_bits": 8 + }, + { + "name": "hasz", + "cType": "_Bool", + "offset_bits": 16 + }, + { + "name": "hast", + "cType": "_Bool", + "offset_bits": 24 + }, + { + "name": "i", + "cType": "int", + "offset_bits": 32 + }, + { + "name": "xsize", + "cType": "double", + "offset_bits": 64 + }, + { + "name": "ysize", + "cType": "double", + "offset_bits": 128 + }, + { + "name": "zsize", + "cType": "double", + "offset_bits": 192 + }, + { + "name": "tunits", + "cType": "int64", + "offset_bits": 256 + }, + { + "name": "box", + "cType": "STBox", + "offset_bits": 320 + }, + { + "name": "temp", + "cType": "const Temporal *", + "offset_bits": 960 + }, + { + "name": "bm", + "cType": "BitMatrix *", + "offset_bits": 1024 + }, + { + "name": "x", + "cType": "double", + "offset_bits": 1088 + }, + { + "name": "y", + "cType": "double", + "offset_bits": 1152 + }, + { + "name": "z", + "cType": "double", + "offset_bits": 1216 + }, + { + "name": "t", + "cType": "TimestampTz", + "offset_bits": 1280 + }, + { + "name": "ntiles", + "cType": "int", + "offset_bits": 1344 + }, + { + "name": "max_coords", + "cType": "int[4]", + "offset_bits": 1376 + }, + { + "name": "coords", + "cType": "int[4]", + "offset_bits": 1504 + } + ] + }, + { + "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": 0 + }, + { + "name": "xmin", + "cType": "double", + "offset_bits": 192 + }, + { + "name": "ymin", + "cType": "double", + "offset_bits": 256 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": 320 + }, + { + "name": "xmax", + "cType": "double", + "offset_bits": 384 + }, + { + "name": "ymax", + "cType": "double", + "offset_bits": 448 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": 512 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 576 + }, + { + "name": "pcid", + "cType": "uint32_t", + "offset_bits": 608 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": 640 + }, + { + "name": "padding", + "cType": "char[6]", + "offset_bits": 656 + } + ] + }, + { + "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": "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": "lwflags_t", + "offset_bits": 160 + }, + { + "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": "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": "subtype", - "cType": "uint8", - "offset_bits": 40 + "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": "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": "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": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWTIN", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "geoms", + "cType": "LWTRIANGLE **", + "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": "PJconsts", + "file": "postgis_ext_defs.in.h", + "fields": [] + }, + { + "name": "LWPROJ", + "file": "postgis_ext_defs.in.h", + "fields": [ + { + "name": "pj", + "cType": "PJ *", + "offset_bits": 0 + }, + { + "name": "pipeline_is_forward", + "cType": "_Bool", + "offset_bits": 64 + }, + { + "name": "source_is_latlong", + "cType": "uint8_t", + "offset_bits": 72 + }, + { + "name": "source_semi_major_metre", + "cType": "double", + "offset_bits": 128 + }, + { + "name": "source_semi_minor_metre", + "cType": "double", + "offset_bits": 192 + } + ] + }, + { + "name": "cfp_elem", + "file": "trgeo_distance.h", + "fields": [ + { + "name": "geom_1", + "cType": "LWGEOM *", + "offset_bits": 0 + }, + { + "name": "geom_2", + "cType": "LWGEOM *", + "offset_bits": 64 + }, + { + "name": "pose_1", + "cType": "Pose *", + "offset_bits": 128 + }, + { + "name": "pose_2", + "cType": "Pose *", + "offset_bits": 192 + }, + { + "name": "free_pose_1", + "cType": "_Bool", + "offset_bits": 256 + }, + { + "name": "free_pose_2", + "cType": "_Bool", + "offset_bits": 264 + }, + { + "name": "cf_1", + "cType": "uint32_t", + "offset_bits": 288 + }, + { + "name": "cf_2", + "cType": "uint32_t", + "offset_bits": 320 }, { "name": "t", "cType": "TimestampTz", + "offset_bits": 384 + }, + { + "name": "store", + "cType": "_Bool", + "offset_bits": 448 + } + ] + }, + { + "name": "cfp_array", + "file": "trgeo_distance.h", + "fields": [ + { + "name": "count", + "cType": "size_t", + "offset_bits": 0 + }, + { + "name": "size", + "cType": "size_t", "offset_bits": 64 }, { - "name": "value", - "cType": "Datum", + "name": "arr", + "cType": "cfp_elem *", "offset_bits": 128 } - ], - "meosType": "TPointInst" + ] }, { - "name": "TSequence", - "file": "meos.h", + "name": "tdist_elem", + "file": "trgeo_distance.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", + "name": "dist", + "cType": "double", "offset_bits": 0 }, { - "name": "temptype", + "name": "t", + "cType": "TimestampTz", + "offset_bits": 64 + } + ] + }, + { + "name": "tdist_array", + "file": "trgeo_distance.h", + "fields": [ + { + "name": "count", + "cType": "size_t", + "offset_bits": 0 + }, + { + "name": "size", + "cType": "size_t", + "offset_bits": 64 + }, + { + "name": "arr", + "cType": "tdist_elem *", + "offset_bits": 128 + } + ] + }, + { + "name": "SpanBound", + "file": "span.h", + "fields": [ + { + "name": "val", + "cType": "Datum", + "offset_bits": 0 + }, + { + "name": "inclusive", + "cType": "_Bool", + "offset_bits": 64 + }, + { + "name": "lower", + "cType": "_Bool", + "offset_bits": 72 + }, + { + "name": "spantype", "cType": "uint8", - "offset_bits": 32 + "offset_bits": 80 }, { - "name": "subtype", + "name": "basetype", "cType": "uint8", - "offset_bits": 40 + "offset_bits": 88 + } + ] + }, + { + "name": "LiftedFunctionInfo", + "file": "lifting.h", + "fields": [ + { + "name": "func", + "cType": "varfunc", + "offset_bits": 0 }, { - "name": "flags", - "cType": "int16", - "offset_bits": 48 + "name": "numparam", + "cType": "int", + "offset_bits": 64 + }, + { + "name": "param", + "cType": "Datum[1]", + "offset_bits": 128 + }, + { + "name": "argtype", + "cType": "MeosType[2]", + "offset_bits": 192 + }, + { + "name": "restype", + "cType": "MeosType", + "offset_bits": 256 + }, + { + "name": "reslinear", + "cType": "_Bool", + "offset_bits": 288 + }, + { + "name": "invert", + "cType": "_Bool", + "offset_bits": 296 + }, + { + "name": "discont", + "cType": "_Bool", + "offset_bits": 304 + }, + { + "name": "ever", + "cType": "_Bool", + "offset_bits": 312 + }, + { + "name": "tpfn_unary", + "cType": "tpfunc_unary", + "offset_bits": 320 + }, + { + "name": "cross_type", + "cType": "_Bool", + "offset_bits": 384 + }, + { + "name": "tpfn_base", + "cType": "tpfunc_base", + "offset_bits": 448 + }, + { + "name": "tpfn_temp", + "cType": "tpfunc_temp", + "offset_bits": 512 + } + ] + }, + { + "name": "SetUnnestState", + "file": "set.h", + "fields": [ + { + "name": "done", + "cType": "_Bool", + "offset_bits": 0 + }, + { + "name": "i", + "cType": "int", + "offset_bits": 32 }, { "name": "count", - "cType": "int32", + "cType": "int", "offset_bits": 64 }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 + "name": "set", + "cType": "Set *", + "offset_bits": 128 }, { - "name": "bboxsize", - "cType": "int16", + "name": "values", + "cType": "Datum *", + "offset_bits": 192 + } + ] + }, + { + "name": "SpanNode", + "file": "span_index.h", + "fields": [ + { + "name": "left", + "cType": "Span", + "offset_bits": 0 + }, + { + "name": "right", + "cType": "Span", + "offset_bits": 192 + } + ] + }, + { + "name": "SortedSpan", + "file": "span_index.h", + "fields": [ + { + "name": "s", + "cType": "Span", + "offset_bits": 0 + }, + { + "name": "i", + "cType": "int", + "offset_bits": 192 + } + ] + }, + { + "name": "TboxNode", + "file": "tbox_index.h", + "fields": [ + { + "name": "left", + "cType": "TBox", + "offset_bits": 0 + }, + { + "name": "right", + "cType": "TBox", + "offset_bits": 448 + } + ] + }, + { + "name": "SortedTbox", + "file": "tbox_index.h", + "fields": [ + { + "name": "box", + "cType": "TBox", + "offset_bits": 0 + }, + { + "name": "i", + "cType": "int", + "offset_bits": 448 + } + ] + }, + { + "name": "SimilarityPathState", + "file": "temporal_analytics.h", + "fields": [ + { + "name": "done", + "cType": "_Bool", + "offset_bits": 0 + }, + { + "name": "i", + "cType": "int", + "offset_bits": 32 + }, + { + "name": "size", + "cType": "int", + "offset_bits": 64 + }, + { + "name": "path", + "cType": "Match *", "offset_bits": 128 + } + ] + }, + { + "name": "RTreeNode", + "file": "temporal_rtree.h", + "fields": [ + { + "name": "bboxsize", + "cType": "size_t", + "offset_bits": 0 }, { - "name": "padding", - "cType": "char[6]", - "offset_bits": 144 + "name": "count", + "cType": "int", + "offset_bits": 64 }, { - "name": "period", + "name": "node_type", + "cType": "RTreeNodeType", + "offset_bits": 96 + }, + { + "name": "boxes", + "cType": "char[]", + "offset_bits": 4224 + } + ] + }, + { + "name": "SpanBinState", + "file": "temporal_tile.h", + "fields": [ + { + "name": "done", + "cType": "_Bool", + "offset_bits": 0 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": 8 + }, + { + "name": "i", + "cType": "int", + "offset_bits": 32 + }, + { + "name": "size", + "cType": "Datum", + "offset_bits": 64 + }, + { + "name": "origin", + "cType": "Datum", + "offset_bits": 128 + }, + { + "name": "span", "cType": "Span", "offset_bits": 192 + }, + { + "name": "to_split", + "cType": "const void *", + "offset_bits": 384 + }, + { + "name": "value", + "cType": "Datum", + "offset_bits": 448 + }, + { + "name": "nbins", + "cType": "int", + "offset_bits": 512 } - ], - "meosType": "TPointSeq" + ] }, { - "name": "TSequenceSet", - "file": "meos.h", + "name": "TboxGridState", + "file": "temporal_tile.h", "fields": [ { - "name": "vl_len_", - "cType": "int32", + "name": "done", + "cType": "_Bool", "offset_bits": 0 }, { - "name": "temptype", - "cType": "uint8", + "name": "i", + "cType": "int", "offset_bits": 32 }, { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 + "name": "vsize", + "cType": "Datum", + "offset_bits": 64 + }, + { + "name": "tunits", + "cType": "int64", + "offset_bits": 128 }, { - "name": "flags", - "cType": "int16", - "offset_bits": 48 + "name": "box", + "cType": "TBox", + "offset_bits": 192 }, { - "name": "count", - "cType": "int32", - "offset_bits": 64 + "name": "temp", + "cType": "const Temporal *", + "offset_bits": 640 }, { - "name": "totalcount", - "cType": "int32", - "offset_bits": 96 + "name": "value", + "cType": "Datum", + "offset_bits": 704 }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 128 + "name": "t", + "cType": "TimestampTz", + "offset_bits": 768 }, { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 160 + "name": "ntiles", + "cType": "int", + "offset_bits": 832 }, { - "name": "padding", - "cType": "int16", - "offset_bits": 176 + "name": "max_coords", + "cType": "int[2]", + "offset_bits": 864 }, { - "name": "period", - "cType": "Span", - "offset_bits": 192 + "name": "coords", + "cType": "int[2]", + "offset_bits": 928 } ] }, { - "name": "Match", - "file": "meos.h", + "name": "ekf_t", + "file": "tinyekf_meos.h", "fields": [ { - "name": "i", - "cType": "int", - "offset_bits": 0 + "name": "x", + "cType": "float", + "offset_bits": -1 }, { - "name": "j", - "cType": "int", - "offset_bits": 32 + "name": "P", + "cType": "float", + "offset_bits": -1 } ] - }, - { - "name": "SkipList", - "file": "meos.h", - "fields": [] - }, - { - "name": "RTree", - "file": "meos.h", - "fields": [] } ], "enums": [ @@ -34561,6 +90313,734 @@ "value": 3 } ] + }, + { + "name": "MeosType", + "file": "meos_catalog.h", + "values": [ + { + "name": "T_UNKNOWN", + "value": 0 + }, + { + "name": "T_BOOL", + "value": 1 + }, + { + "name": "T_DATE", + "value": 2 + }, + { + "name": "T_DATEMULTIRANGE", + "value": 3 + }, + { + "name": "T_DATERANGE", + "value": 4 + }, + { + "name": "T_DATESET", + "value": 5 + }, + { + "name": "T_DATESPAN", + "value": 6 + }, + { + "name": "T_DATESPANSET", + "value": 7 + }, + { + "name": "T_DOUBLE2", + "value": 8 + }, + { + "name": "T_DOUBLE3", + "value": 9 + }, + { + "name": "T_DOUBLE4", + "value": 10 + }, + { + "name": "T_FLOAT8", + "value": 11 + }, + { + "name": "T_FLOATSET", + "value": 12 + }, + { + "name": "T_FLOATSPAN", + "value": 13 + }, + { + "name": "T_FLOATSPANSET", + "value": 14 + }, + { + "name": "T_INT4", + "value": 15 + }, + { + "name": "T_INT4MULTIRANGE", + "value": 16 + }, + { + "name": "T_INT4RANGE", + "value": 17 + }, + { + "name": "T_INTSET", + "value": 18 + }, + { + "name": "T_INTSPAN", + "value": 19 + }, + { + "name": "T_INTSPANSET", + "value": 20 + }, + { + "name": "T_INT8", + "value": 21 + }, + { + "name": "T_INT8MULTIRANGE", + "value": 52 + }, + { + "name": "T_INT8RANGE", + "value": 53 + }, + { + "name": "T_BIGINTSET", + "value": 22 + }, + { + "name": "T_BIGINTSPAN", + "value": 23 + }, + { + "name": "T_BIGINTSPANSET", + "value": 24 + }, + { + "name": "T_STBOX", + "value": 25 + }, + { + "name": "T_TBOOL", + "value": 26 + }, + { + "name": "T_TBOX", + "value": 27 + }, + { + "name": "T_TDOUBLE2", + "value": 28 + }, + { + "name": "T_TDOUBLE3", + "value": 29 + }, + { + "name": "T_TDOUBLE4", + "value": 30 + }, + { + "name": "T_TEXT", + "value": 31 + }, + { + "name": "T_TEXTSET", + "value": 32 + }, + { + "name": "T_TFLOAT", + "value": 33 + }, + { + "name": "T_TIMESTAMPTZ", + "value": 34 + }, + { + "name": "T_TINT", + "value": 35 + }, + { + "name": "T_TSTZMULTIRANGE", + "value": 36 + }, + { + "name": "T_TSTZRANGE", + "value": 37 + }, + { + "name": "T_TSTZSET", + "value": 38 + }, + { + "name": "T_TSTZSPAN", + "value": 39 + }, + { + "name": "T_TSTZSPANSET", + "value": 40 + }, + { + "name": "T_TTEXT", + "value": 41 + }, + { + "name": "T_GEOMETRY", + "value": 42 + }, + { + "name": "T_GEOMSET", + "value": 43 + }, + { + "name": "T_GEOGRAPHY", + "value": 44 + }, + { + "name": "T_GEOGSET", + "value": 45 + }, + { + "name": "T_TGEOMPOINT", + "value": 46 + }, + { + "name": "T_TGEOGPOINT", + "value": 47 + }, + { + "name": "T_NPOINT", + "value": 48 + }, + { + "name": "T_NPOINTSET", + "value": 49 + }, + { + "name": "T_NSEGMENT", + "value": 50 + }, + { + "name": "T_TNPOINT", + "value": 51 + }, + { + "name": "T_POSE", + "value": 54 + }, + { + "name": "T_POSESET", + "value": 55 + }, + { + "name": "T_TPOSE", + "value": 56 + }, + { + "name": "T_CBUFFER", + "value": 57 + }, + { + "name": "T_CBUFFERSET", + "value": 58 + }, + { + "name": "T_TCBUFFER", + "value": 59 + }, + { + "name": "T_TGEOMETRY", + "value": 60 + }, + { + "name": "T_TGEOGRAPHY", + "value": 61 + }, + { + "name": "T_TRGEOMETRY", + "value": 62 + }, + { + "name": "T_TBIGINT", + "value": 63 + }, + { + "name": "T_H3INDEX", + "value": 64 + }, + { + "name": "T_H3INDEXSET", + "value": 65 + }, + { + "name": "T_TH3INDEX", + "value": 66 + }, + { + "name": "T_PCPOINT", + "value": 67 + }, + { + "name": "T_PCPOINTSET", + "value": 68 + }, + { + "name": "T_TPCPOINT", + "value": 69 + }, + { + "name": "T_PCPATCH", + "value": 70 + }, + { + "name": "T_PCPATCHSET", + "value": 71 + }, + { + "name": "T_TPCPATCH", + "value": 72 + }, + { + "name": "T_TPCBOX", + "value": 73 + }, + { + "name": "NUM_MEOS_TYPES", + "value": 74 + } + ] + }, + { + "name": "MeosOper", + "file": "meos_catalog.h", + "values": [ + { + "name": "UNKNOWN_OP", + "value": 0 + }, + { + "name": "EQ_OP", + "value": 1 + }, + { + "name": "NE_OP", + "value": 2 + }, + { + "name": "LT_OP", + "value": 3 + }, + { + "name": "LE_OP", + "value": 4 + }, + { + "name": "GT_OP", + "value": 5 + }, + { + "name": "GE_OP", + "value": 6 + }, + { + "name": "ADJACENT_OP", + "value": 7 + }, + { + "name": "UNION_OP", + "value": 8 + }, + { + "name": "MINUS_OP", + "value": 9 + }, + { + "name": "INTERSECT_OP", + "value": 10 + }, + { + "name": "OVERLAPS_OP", + "value": 11 + }, + { + "name": "CONTAINS_OP", + "value": 12 + }, + { + "name": "CONTAINED_OP", + "value": 13 + }, + { + "name": "SAME_OP", + "value": 14 + }, + { + "name": "LEFT_OP", + "value": 15 + }, + { + "name": "OVERLEFT_OP", + "value": 16 + }, + { + "name": "RIGHT_OP", + "value": 17 + }, + { + "name": "OVERRIGHT_OP", + "value": 18 + }, + { + "name": "BELOW_OP", + "value": 19 + }, + { + "name": "OVERBELOW_OP", + "value": 20 + }, + { + "name": "ABOVE_OP", + "value": 21 + }, + { + "name": "OVERABOVE_OP", + "value": 22 + }, + { + "name": "FRONT_OP", + "value": 23 + }, + { + "name": "OVERFRONT_OP", + "value": 24 + }, + { + "name": "BACK_OP", + "value": 25 + }, + { + "name": "OVERBACK_OP", + "value": 26 + }, + { + "name": "BEFORE_OP", + "value": 27 + }, + { + "name": "OVERBEFORE_OP", + "value": 28 + }, + { + "name": "AFTER_OP", + "value": 29 + }, + { + "name": "OVERAFTER_OP", + "value": 30 + }, + { + "name": "EVEREQ_OP", + "value": 31 + }, + { + "name": "EVERNE_OP", + "value": 32 + }, + { + "name": "EVERLT_OP", + "value": 33 + }, + { + "name": "EVERLE_OP", + "value": 34 + }, + { + "name": "EVERGT_OP", + "value": 35 + }, + { + "name": "EVERGE_OP", + "value": 36 + }, + { + "name": "ALWAYSEQ_OP", + "value": 37 + }, + { + "name": "ALWAYSNE_OP", + "value": 38 + }, + { + "name": "ALWAYSLT_OP", + "value": 39 + }, + { + "name": "ALWAYSLE_OP", + "value": 40 + }, + { + "name": "ALWAYSGT_OP", + "value": 41 + }, + { + "name": "ALWAYSGE_OP", + "value": 42 + } + ] + }, + { + "name": "SkipListType", + "file": "meos_internal.h", + "values": [ + { + "name": "SKIPLIST_TEMPORAL", + "value": 0 + }, + { + "name": "SKIPLIST_KEYVALUE", + "value": 1 + } + ] + }, + { + "name": "SyncMode", + "file": "temporal.h", + "values": [ + { + "name": "SYNCHRONIZE_NOCROSS", + "value": 0 + }, + { + "name": "SYNCHRONIZE_CROSS", + "value": 1 + } + ] + }, + { + "name": "TemporalFamily", + "file": "temporal.h", + "values": [ + { + "name": "TEMPORALTYPE", + "value": 0 + }, + { + "name": "TNUMBERTYPE", + "value": 1 + }, + { + "name": "TSPATIALTYPE", + "value": 2 + } + ] + }, + { + "name": "SetOper", + "file": "temporal.h", + "values": [ + { + "name": "UNION", + "value": 0 + }, + { + "name": "INTER", + "value": 1 + }, + { + "name": "MINUS", + "value": 2 + } + ] + }, + { + "name": "CompOper", + "file": "temporal.h", + "values": [ + { + "name": "EQ", + "value": 0 + }, + { + "name": "NE", + "value": 1 + }, + { + "name": "LT", + "value": 2 + }, + { + "name": "LE", + "value": 3 + }, + { + "name": "GT", + "value": 4 + }, + { + "name": "GE", + "value": 5 + } + ] + }, + { + "name": "MEOS_WKB_TSUBTYPE", + "file": "temporal.h", + "values": [ + { + "name": "MEOS_WKB_TINSTANT", + "value": 1 + }, + { + "name": "MEOS_WKB_TSEQUENCE", + "value": 2 + }, + { + "name": "MEOS_WKB_TSEQUENCESET", + "value": 3 + } + ] + }, + { + "name": "ClipOper", + "file": "geo_poly_clip.h", + "values": [ + { + "name": "CL_INTERSECTION", + "value": 0 + }, + { + "name": "CL_UNION", + "value": 1 + }, + { + "name": "CL_DIFFERENCE", + "value": 2 + }, + { + "name": "CL_XOR", + "value": 3 + } + ] + }, + { + "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": "GeoPoseClass", + "file": "pose_geopose.h", + "values": [ + { + "name": "GEOPOSE_BASIC_QUATERNION", + "value": 0 + }, + { + "name": "GEOPOSE_BASIC_YPR", + "value": 1 + } + ] + }, + { + "name": "SimFunc", + "file": "temporal_analytics.h", + "values": [ + { + "name": "FRECHET", + "value": 0 + }, + { + "name": "DYNTIMEWARP", + "value": 1 + }, + { + "name": "HAUSDORFF", + "value": 2 + }, + { + "name": "LCSS", + "value": 3 + }, + { + "name": "AVERAGEHAUSDORFF", + "value": 4 + } + ] + }, + { + "name": "RTreeNodeType", + "file": "temporal_rtree.h", + "values": [ + { + "name": "RTREE_LEAF", + "value": 0 + }, + { + "name": "RTREE_INNER", + "value": 1 + } + ] + }, + { + "name": "TArithmetic", + "file": "tnumber_mathfuncs.h", + "values": [ + { + "name": "ADD", + "value": 0 + }, + { + "name": "SUB", + "value": 1 + }, + { + "name": "MUL", + "value": 2 + }, + { + "name": "DIV", + "value": 3 + }, + { + "name": "DIST", + "value": 4 + } + ] } ] } \ No newline at end of file diff --git a/codegen/input/meos-named-surface.json b/codegen/input/meos-named-surface.json new file mode 100644 index 00000000..1bcc6c1d --- /dev/null +++ b/codegen/input/meos-named-surface.json @@ -0,0 +1,154081 @@ +{ + "source": "MobilityDB SQL catalog + doxygen @sqlfn/@csqlfn chain", + "functionCount": 1285, + "functions": [ + { + "name": "NearestApproachDistance", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "NearestApproachInstant", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "SRID", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Cbuffer_srid", + "meos": "cbuffer_srid" + }, + { + "pg": "Stbox_srid", + "meos": "stbox_srid" + }, + { + "pg": "Spatialset_srid", + "meos": "spatialset_srid" + }, + { + "pg": "Tspatial_srid", + "meos": "tspatial_srid" + }, + { + "pg": "Npoint_srid", + "meos": "npoint_srid" + }, + { + "pg": "Nsegment_srid", + "meos": "nsegment_srid" + } + ] + }, + { + "name": "Temporal_out", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "Tmax", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_tmax", + "meos": "stbox_tmax" + }, + { + "pg": "Tbox_tmax", + "meos": "tbox_tmax" + } + ] + }, + { + "name": "TmaxInc", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "Tmin", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_tmin", + "meos": "stbox_tmin" + }, + { + "pg": "Tbox_tmin", + "meos": "tbox_tmin" + } + ] + }, + { + "name": "TminInc", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "Xmax", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_xmax", + "meos": "stbox_xmax" + }, + { + "pg": "Tbox_xmax", + "meos": "tbox_xmax" + }, + { + "pg": "Tbox_xmax", + "meos": "tboxint_xmax" + }, + { + "pg": "Tbox_xmax", + "meos": "tboxbigint_xmax" + }, + { + "pg": "Tbox_xmax", + "meos": "tboxfloat_xmax" + } + ] + }, + { + "name": "XmaxInc", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "Xmin", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_xmin", + "meos": "stbox_xmin" + }, + { + "pg": "Tbox_xmin", + "meos": "tbox_xmin" + }, + { + "pg": "Tbox_xmin", + "meos": "tboxint_xmin" + }, + { + "pg": "Tbox_xmin", + "meos": "tboxbigint_xmin" + }, + { + "pg": "Tbox_xmin", + "meos": "tboxfloat_xmin" + } + ] + }, + { + "name": "XminInc", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "Ymax", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_ymax", + "meos": "stbox_ymax" + } + ] + }, + { + "name": "Ymin", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_ymin", + "meos": "stbox_ymin" + } + ] + }, + { + "name": "Zmax", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_zmax", + "meos": "stbox_zmax" + } + ] + }, + { + "name": "Zmin", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_zmin", + "meos": "stbox_zmin" + } + ] + }, + { + "name": "_edisjoint", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "_mdb_internal_clip_difference", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "_mdb_internal_clip_intersection", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "_mdb_internal_clip_sym_difference", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "_mdb_internal_clip_union", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "_mobdb_span_joinsel", + "overloads": [ + { + "args": [ + { + "type": "regclass", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "regclass", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "regoper", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "_mobdb_span_sel", + "overloads": [ + { + "args": [ + { + "type": "regclass", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "regoper", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "regclass", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "regoper", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "regclass", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "regoper", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "regclass", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "regoper", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "regclass", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "regoper", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 4, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "_trgeometry_geom_clip_polygon", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "_trgeometry_geom_clip_polygon_posed", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "aContains", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Acontains_geo_trgeometry", + "meos": "econtains_geo_trgeo" + }, + { + "pg": "Acontains_geo_trgeometry", + "meos": "acontains_geo_trgeo" + }, + { + "pg": "Acontains_geo_tcbuffer", + "meos": "ea_contains_geo_tcbuffer" + }, + { + "pg": "Acontains_geo_tcbuffer", + "meos": "acontains_geo_tcbuffer" + }, + { + "pg": "Acontains_tcbuffer_geo", + "meos": "acontains_tcbuffer_geo" + }, + { + "pg": "Acontains_cbuffer_tcbuffer", + "meos": "acontains_cbuffer_tcbuffer" + }, + { + "pg": "Acontains_tcbuffer_cbuffer", + "meos": "acontains_tcbuffer_cbuffer" + }, + { + "pg": "Acontains_geo_tgeo", + "meos": "acontains_geo_tgeo" + }, + { + "pg": "Acontains_tgeo_geo", + "meos": "acontains_tgeo_geo" + }, + { + "pg": "Acontains_tgeo_tgeo", + "meos": "acontains_tgeo_tgeo" + } + ] + }, + { + "name": "aCovers", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Acovers_geo_trgeometry", + "meos": "acovers_geo_trgeo" + }, + { + "pg": "Acovers_trgeometry_geo", + "meos": "acovers_trgeo_geo" + }, + { + "pg": "Acovers_geo_tcbuffer", + "meos": "ea_covers_geo_tcbuffer" + }, + { + "pg": "Acovers_geo_tcbuffer", + "meos": "acovers_geo_tcbuffer" + }, + { + "pg": "Acovers_tcbuffer_geo", + "meos": "acovers_tcbuffer_geo" + }, + { + "pg": "Acovers_cbuffer_tcbuffer", + "meos": "acovers_cbuffer_tcbuffer" + }, + { + "pg": "Acovers_tcbuffer_cbuffer", + "meos": "acovers_tcbuffer_cbuffer" + }, + { + "pg": "Acovers_geo_tgeo", + "meos": "acovers_geo_tgeo" + }, + { + "pg": "Acovers_tgeo_geo", + "meos": "acovers_tgeo_geo" + } + ] + }, + { + "name": "aDisjoint", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Adisjoint_trgeometry_geo", + "meos": "adisjoint_trgeo_geo" + }, + { + "pg": "Adisjoint_trgeometry_trgeometry", + "meos": "adisjoint_trgeo_trgeo" + }, + { + "pg": "Adisjoint_tcbuffer_geo", + "meos": "adisjoint_tcbuffer_geo" + }, + { + "pg": "Adisjoint_tcbuffer_geo", + "meos": "adisjoint_tcbuffer_cbuffer" + }, + { + "pg": "Adisjoint_tcbuffer_tcbuffer", + "meos": "adisjoint_tcbuffer_tcbuffer" + }, + { + "pg": "Adisjoint_tgeo_geo", + "meos": "adisjoint_tgeo_geo" + }, + { + "pg": "Adisjoint_tgeo_tgeo", + "meos": "adisjoint_tgeo_tgeo" + } + ] + }, + { + "name": "aDisjointPairs", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "setof", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "setof", + "minArity": 4, + "maxArity": 4 + } + ], + "c": [ + { + "pg": "Adisjoint_tgeoarr_tgeoarr", + "meos": "adisjoint_tgeoarr_tgeoarr" + } + ] + }, + { + "name": "aDwithin", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Adwithin_trgeometry_geo", + "meos": "adwithin_trgeo_geo" + }, + { + "pg": "Adwithin_trgeometry_trgeometry", + "meos": "adwithin_trgeo_trgeo" + }, + { + "pg": "Adwithin_tcbuffer_geo", + "meos": "adwithin_tcbuffer_geo" + }, + { + "pg": "Adwithin_tcbuffer_cbuffer", + "meos": "adwithin_tcbuffer_cbuffer" + }, + { + "pg": "Adwithin_tcbuffer_tcbuffer", + "meos": "adwithin_tcbuffer_tcbuffer" + }, + { + "pg": "Adwithin_tgeo_geo", + "meos": "adwithin_tgeo_geo" + }, + { + "pg": "Adwithin_tgeo_tgeo", + "meos": "adwithin_tgeo_tgeo" + } + ] + }, + { + "name": "aIntersects", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Aintersects_trgeometry_geo", + "meos": "aintersects_trgeo_geo" + }, + { + "pg": "Aintersects_trgeometry_trgeometry", + "meos": "aintersects_trgeo_trgeo" + }, + { + "pg": "Aintersects_tcbuffer_tcbuffer", + "meos": "ea_spatialrel_tcbuffer_tcbuffer" + }, + { + "pg": "Aintersects_tcbuffer_geo", + "meos": "aintersects_tcbuffer_geo" + }, + { + "pg": "Aintersects_tcbuffer_cbuffer", + "meos": "aintersects_tcbuffer_cbuffer" + }, + { + "pg": "Aintersects_tcbuffer_tcbuffer", + "meos": "aintersects_tcbuffer_tcbuffer" + }, + { + "pg": "Aintersects_tgeo_geo", + "meos": "eintersects_tgeo_geo" + }, + { + "pg": "Aintersects_tgeo_geo", + "meos": "aintersects_tgeo_geo" + }, + { + "pg": "Aintersects_tgeo_tgeo", + "meos": "aintersects_tgeo_tgeo" + } + ] + }, + { + "name": "aTouches", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Atouches_trgeometry_geo", + "meos": "atouches_trgeo_geo" + }, + { + "pg": "Acovers_tcbuffer_tcbuffer", + "meos": "acovers_tcbuffer_tcbuffer" + }, + { + "pg": "Atouches_tcbuffer_geo", + "meos": "etouches_tcbuffer_geo" + }, + { + "pg": "Atouches_tcbuffer_geo", + "meos": "atouches_tcbuffer_geo" + }, + { + "pg": "Atouches_tcbuffer_cbuffer", + "meos": "etouches_tcbuffer_cbuffer" + }, + { + "pg": "Atouches_tcbuffer_cbuffer", + "meos": "atouches_tcbuffer_cbuffer" + }, + { + "pg": "Atouches_tcbuffer_tcbuffer", + "meos": "atouches_tcbuffer_tcbuffer" + }, + { + "pg": "Atouches_tpoint_geo", + "meos": "etouches_tpoint_geo" + }, + { + "pg": "Atouches_tpoint_geo", + "meos": "atouches_tpoint_geo" + }, + { + "pg": "Atouches_tgeo_geo", + "meos": "atouches_tgeo_geo" + }, + { + "pg": "Atouches_tgeo_tgeo", + "meos": "atouches_tgeo_tgeo" + } + ] + }, + { + "name": "above", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "abs", + "overloads": [ + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tnumber_abs", + "meos": "tnumberinst_abs" + }, + { + "pg": "Tnumber_abs", + "meos": "tnumberseq_abs" + }, + { + "pg": "Tnumber_abs", + "meos": "tnumberseqset_abs" + }, + { + "pg": "Tnumber_abs", + "meos": "tnumber_abs" + } + ] + }, + { + "name": "adjacent", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "affine", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 13, + "maxArity": 13 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 7, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 13, + "maxArity": 13 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 7, + "maxArity": 7 + } + ], + "c": [ + { + "pg": "Tgeo_affine", + "meos": "tgeo_affine" + } + ] + }, + { + "name": "after", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "afterTimestamp", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "always_eq", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Always_eq_geo_trgeometry", + "meos": "always_eq_geo_trgeometry" + }, + { + "pg": "Always_eq_trgeometry_geo", + "meos": "always_eq_trgeometry_geo" + }, + { + "pg": "Always_eq_trgeometry_trgeometry", + "meos": "always_eq_trgeometry_trgeometry" + }, + { + "pg": "Always_eq_cbuffer_tcbuffer", + "meos": "always_eq_cbuffer_tcbuffer" + }, + { + "pg": "Always_eq_tcbuffer_cbuffer", + "meos": "always_eq_tcbuffer_cbuffer" + }, + { + "pg": "Always_eq_tcbuffer_tcbuffer", + "meos": "always_eq_tcbuffer_tcbuffer" + }, + { + "pg": "Always_eq_pose_tpose", + "meos": "always_eq_pose_tpose" + }, + { + "pg": "Always_eq_tpose_pose", + "meos": "always_eq_tpose_pose" + }, + { + "pg": "Always_eq_tpose_tpose", + "meos": "always_eq_tpose_tpose" + }, + { + "pg": "Always_eq_geo_tgeo", + "meos": "always_eq_geo_tgeo" + }, + { + "pg": "Always_eq_tgeo_geo", + "meos": "always_eq_tgeo_geo" + }, + { + "pg": "Always_eq_tgeo_tgeo", + "meos": "always_eq_tgeo_tgeo" + }, + { + "pg": "Always_eq_temporal_temporal", + "meos": "always_eq_temporal_temporal" + }, + { + "pg": "Always_eq_base_temporal", + "meos": "always_eq_bigint_tbigint" + }, + { + "pg": "Always_eq_base_temporal", + "meos": "always_eq_bool_tbool" + }, + { + "pg": "Always_eq_base_temporal", + "meos": "always_eq_int_tint" + }, + { + "pg": "Always_eq_base_temporal", + "meos": "always_eq_float_tfloat" + }, + { + "pg": "Always_eq_base_temporal", + "meos": "always_eq_text_ttext" + }, + { + "pg": "Always_eq_temporal_base", + "meos": "always_eq_tbigint_bigint" + }, + { + "pg": "Always_eq_temporal_base", + "meos": "always_eq_tbool_bool" + }, + { + "pg": "Always_eq_temporal_base", + "meos": "always_eq_tint_int" + }, + { + "pg": "Always_eq_temporal_base", + "meos": "always_eq_tfloat_float" + }, + { + "pg": "Always_eq_temporal_base", + "meos": "always_eq_ttext_text" + }, + { + "pg": "Always_eq_npoint_tnpoint", + "meos": "always_eq_npoint_tnpoint" + }, + { + "pg": "Always_eq_tnpoint_npoint", + "meos": "always_eq_tnpoint_npoint" + }, + { + "pg": "Always_eq_tnpoint_tnpoint", + "meos": "always_eq_tnpoint_tnpoint" + } + ] + }, + { + "name": "always_ge", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Always_ge_temporal_temporal", + "meos": "always_ge_temporal_temporal" + }, + { + "pg": "Always_ge_base_temporal", + "meos": "always_ge_bigint_tbigint" + }, + { + "pg": "Always_ge_base_temporal", + "meos": "always_ge_int_tint" + }, + { + "pg": "Always_ge_base_temporal", + "meos": "always_ge_float_tfloat" + }, + { + "pg": "Always_ge_base_temporal", + "meos": "always_ge_text_ttext" + }, + { + "pg": "Always_ge_temporal_base", + "meos": "always_ge_tbigint_bigint" + }, + { + "pg": "Always_ge_temporal_base", + "meos": "always_ge_tint_int" + }, + { + "pg": "Always_ge_temporal_base", + "meos": "always_ge_tfloat_float" + }, + { + "pg": "Always_ge_temporal_base", + "meos": "always_ge_ttext_text" + } + ] + }, + { + "name": "always_gt", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Always_gt_temporal_temporal", + "meos": "always_gt_temporal_temporal" + }, + { + "pg": "Always_gt_base_temporal", + "meos": "always_gt_bigint_tbigint" + }, + { + "pg": "Always_gt_base_temporal", + "meos": "always_gt_int_tint" + }, + { + "pg": "Always_gt_base_temporal", + "meos": "always_gt_float_tfloat" + }, + { + "pg": "Always_gt_base_temporal", + "meos": "always_gt_text_ttext" + }, + { + "pg": "Always_gt_temporal_base", + "meos": "always_gt_tbigint_bigint" + }, + { + "pg": "Always_gt_temporal_base", + "meos": "always_gt_tint_int" + }, + { + "pg": "Always_gt_temporal_base", + "meos": "always_gt_tfloat_float" + }, + { + "pg": "Always_gt_temporal_base", + "meos": "always_gt_ttext_text" + } + ] + }, + { + "name": "always_le", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Always_le_temporal_temporal", + "meos": "always_le_temporal_temporal" + }, + { + "pg": "Always_le_base_temporal", + "meos": "always_le_bigint_tbigint" + }, + { + "pg": "Always_le_base_temporal", + "meos": "always_le_int_tint" + }, + { + "pg": "Always_le_base_temporal", + "meos": "always_le_float_tfloat" + }, + { + "pg": "Always_le_base_temporal", + "meos": "always_le_text_ttext" + }, + { + "pg": "Always_le_temporal_base", + "meos": "always_le_tbigint_bigint" + }, + { + "pg": "Always_le_temporal_base", + "meos": "always_le_tint_int" + }, + { + "pg": "Always_le_temporal_base", + "meos": "always_le_tfloat_float" + }, + { + "pg": "Always_le_temporal_base", + "meos": "always_le_ttext_text" + } + ] + }, + { + "name": "always_lt", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Always_lt_temporal_temporal", + "meos": "always_lt_temporal_temporal" + }, + { + "pg": "Always_lt_base_temporal", + "meos": "always_lt_bigint_tbigint" + }, + { + "pg": "Always_lt_base_temporal", + "meos": "always_lt_int_tint" + }, + { + "pg": "Always_lt_base_temporal", + "meos": "always_lt_float_tfloat" + }, + { + "pg": "Always_lt_base_temporal", + "meos": "always_lt_text_ttext" + }, + { + "pg": "Always_lt_temporal_base", + "meos": "always_lt_tbigint_bigint" + }, + { + "pg": "Always_lt_temporal_base", + "meos": "always_lt_tint_int" + }, + { + "pg": "Always_lt_temporal_base", + "meos": "always_lt_tfloat_float" + }, + { + "pg": "Always_lt_temporal_base", + "meos": "always_lt_ttext_text" + } + ] + }, + { + "name": "always_ne", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Always_ne_geo_trgeometry", + "meos": "always_ne_geo_trgeometry" + }, + { + "pg": "Always_ne_trgeometry_geo", + "meos": "always_ne_trgeometry_geo" + }, + { + "pg": "Always_ne_trgeometry_trgeometry", + "meos": "always_ne_trgeometry_trgeometry" + }, + { + "pg": "Always_ne_cbuffer_tcbuffer", + "meos": "always_ne_cbuffer_tcbuffer" + }, + { + "pg": "Always_ne_tcbuffer_cbuffer", + "meos": "always_ne_tcbuffer_cbuffer" + }, + { + "pg": "Always_ne_tcbuffer_tcbuffer", + "meos": "always_ne_tcbuffer_tcbuffer" + }, + { + "pg": "Always_ne_pose_tpose", + "meos": "always_ne_pose_tpose" + }, + { + "pg": "Always_ne_tpose_pose", + "meos": "always_ne_tpose_pose" + }, + { + "pg": "Always_ne_tpose_tpose", + "meos": "always_ne_tpose_tpose" + }, + { + "pg": "Always_ne_geo_tgeo", + "meos": "always_ne_geo_tgeo" + }, + { + "pg": "Always_ne_tgeo_geo", + "meos": "always_ne_tgeo_geo" + }, + { + "pg": "Always_ne_tgeo_tgeo", + "meos": "always_ne_tgeo_tgeo" + }, + { + "pg": "Always_ne_temporal_temporal", + "meos": "always_ne_temporal_temporal" + }, + { + "pg": "Always_ne_base_temporal", + "meos": "always_ne_bigint_tbigint" + }, + { + "pg": "Always_ne_base_temporal", + "meos": "always_ne_bool_tbool" + }, + { + "pg": "Always_ne_base_temporal", + "meos": "always_ne_int_tint" + }, + { + "pg": "Always_ne_base_temporal", + "meos": "always_ne_float_tfloat" + }, + { + "pg": "Always_ne_base_temporal", + "meos": "always_ne_text_ttext" + }, + { + "pg": "Always_ne_temporal_base", + "meos": "always_ne_tbigint_bigint" + }, + { + "pg": "Always_ne_temporal_base", + "meos": "always_ne_tbool_bool" + }, + { + "pg": "Always_ne_temporal_base", + "meos": "always_ne_tint_int" + }, + { + "pg": "Always_ne_temporal_base", + "meos": "always_ne_tfloat_float" + }, + { + "pg": "Always_ne_temporal_base", + "meos": "always_ne_ttext_text" + }, + { + "pg": "Always_ne_npoint_tnpoint", + "meos": "always_ne_npoint_tnpoint" + }, + { + "pg": "Always_ne_tnpoint_npoint", + "meos": "always_ne_tnpoint_npoint" + }, + { + "pg": "Always_ne_tnpoint_tnpoint", + "meos": "always_ne_tnpoint_tnpoint" + } + ] + }, + { + "name": "angularDifference", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tpoint_angular_difference", + "meos": "tpoint_angular_difference" + }, + { + "pg": "Tpoint_angular_difference", + "meos": "tnumber_angular_difference" + } + ] + }, + { + "name": "angularSpeed", + "overloads": [ + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpose_angular_speed", + "meos": "tpose_angular_speed" + } + ] + }, + { + "name": "appendInstant", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_append_tinstant", + "meos": "trgeometry_append_tinstant" + }, + { + "pg": "Temporal_app_tinst_transfn", + "meos": "temporal_app_tinst_transfn" + }, + { + "pg": "Temporal_append_tinstant", + "meos": "tsequence_append_tinstant" + }, + { + "pg": "Temporal_append_tinstant", + "meos": "tsequenceset_append_tinstant" + }, + { + "pg": "Temporal_append_tinstant", + "meos": "temporal_append_tinstant" + } + ] + }, + { + "name": "appendSequence", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_append_tsequence", + "meos": "trgeometry_append_tsequence" + }, + { + "pg": "Temporal_app_tseq_transfn", + "meos": "temporal_app_tseq_transfn" + }, + { + "pg": "Temporal_append_tsequence", + "meos": "tsequence_append_tsequence" + }, + { + "pg": "Temporal_append_tsequence", + "meos": "tsequenceset_append_tsequence" + }, + { + "pg": "Temporal_append_tsequence", + "meos": "temporal_append_tsequence" + } + ] + }, + { + "name": "applyPose", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Pose_apply_geo", + "meos": "pose_apply_geo" + }, + { + "pg": "Tpose_apply_geo", + "meos": "tpose_apply_geo" + } + ] + }, + { + "name": "area", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_area", + "meos": "stbox_area" + }, + { + "pg": "Stbox_perimeter", + "meos": "stbox_perimeter" + } + ] + }, + { + "name": "arrowRoundtrip", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "asBinary", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "asEWKB", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "asEWKT", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_as_ewkt", + "meos": "cbuffer_as_ewkt" + }, + { + "pg": "Pose_as_ewkt", + "meos": "pose_as_ewkt" + }, + { + "pg": "Spatialset_as_ewkt", + "meos": "spatialset_as_ewkt" + }, + { + "pg": "Tspatial_as_ewkt", + "meos": "tspatial_as_ewkt" + }, + { + "pg": "Npoint_as_ewkt", + "meos": "npoint_as_ewkt" + } + ] + }, + { + "name": "asGeoPose", + "overloads": [ + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "-1" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "-1" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Tpose_as_geopose", + "meos": "tpose_as_geopose" + } + ] + }, + { + "name": "asHexEWKB", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "asHexWKB", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "''" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_as_hexwkb", + "meos": "cbuffer_as_hexwkb" + }, + { + "pg": "Pose_as_hexwkb", + "meos": "pose_as_hexwkb" + }, + { + "pg": "Stbox_as_hexwkb", + "meos": "stbox_as_hexwkb" + }, + { + "pg": "Set_as_hexwkb", + "meos": "set_as_hexwkb" + }, + { + "pg": "Span_as_hexwkb", + "meos": "span_as_hexwkb" + }, + { + "pg": "Spanset_as_hexwkb", + "meos": "spanset_as_hexwkb" + }, + { + "pg": "Tbox_as_hexwkb", + "meos": "tbox_as_hexwkb" + }, + { + "pg": "Temporal_as_hexwkb", + "meos": "temporal_as_hexwkb" + }, + { + "pg": "Npoint_as_hexwkb", + "meos": "npoint_as_hexwkb" + } + ] + }, + { + "name": "asMFJSON", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "0" + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [ + { + "pg": "Temporal_as_mfjson", + "meos": "temporal_as_mfjson" + } + ] + }, + { + "name": "asMVTGeom", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "4096" + }, + { + "type": "int4", + "hasDefault": true, + "default": "256" + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE)\n-- RETURNS tgeompoint\nRETURNS geom_times\nAS 'MODULE_PATHNAME','Tpoint_AsMVTGeom'\nLANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;\n\n/*****************************************************************************/\n\nCREATE TYPE geom_wlof AS (\n geom geometry" + }, + { + "type": "wlocalOutlierFactor(geometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 8 + } + ], + "c": [ + { + "pg": "Tpoint_AsMVTGeom", + "meos": "tpoint_as_mvtgeom" + } + ] + }, + { + "name": "asText", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool[]", + "hasDefault": false, + "default": null + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext[]", + "hasDefault": false, + "default": null + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": true, + "default": "15" + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_as_text", + "meos": "cbuffer_as_text" + }, + { + "pg": "Pose_as_text", + "meos": "pose_as_text" + }, + { + "pg": "Spatialset_as_text", + "meos": "spatialset_as_text" + }, + { + "pg": "Tspatial_as_text", + "meos": "tspatial_as_text" + }, + { + "pg": "Npoint_as_text", + "meos": "npoint_as_text" + } + ] + }, + { + "name": "atElevation", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "atGeometry", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_at_geom", + "meos": "trgeometry_at_geom" + }, + { + "pg": "Tcbuffer_at_geom", + "meos": "tcbuffer_restrict_geom" + }, + { + "pg": "Tcbuffer_at_geom", + "meos": "tcbuffer_at_geom" + }, + { + "pg": "Tpose_trajectory", + "meos": "tpose_trajectory" + }, + { + "pg": "Tpose_at_geom", + "meos": "tpose_at_geom" + }, + { + "pg": "Tgeo_at_geom", + "meos": "tpoint_at_geom" + }, + { + "pg": "Tgeo_at_geom", + "meos": "tgeo_at_geom" + }, + { + "pg": "Tgeo_at_elevation", + "meos": "tpoint_at_elevation" + }, + { + "pg": "Tgeo_at_elevation", + "meos": "tgeo_at_elevation" + }, + { + "pg": "Tnpoint_at_geom", + "meos": "tnpoint_at_geom" + } + ] + }, + { + "name": "atMax", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_at_max", + "meos": "temporal_at_max" + } + ] + }, + { + "name": "atMin", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_at_min", + "meos": "temporal_at_min" + }, + { + "pg": "Temporal_at_min", + "meos": "temporal_restrict_minmax" + }, + { + "pg": "Temporal_at_min", + "meos": "tdiscseq_restrict_minmax" + }, + { + "pg": "Temporal_at_min", + "meos": "tcontseq_restrict_minmax" + }, + { + "pg": "Temporal_at_min", + "meos": "tsequenceset_restrict_minmax" + } + ] + }, + { + "name": "atStbox", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Trgeometry_at_stbox", + "meos": "trgeometry_at_stbox" + }, + { + "pg": "Tgeo_at_stbox", + "meos": "tgeoinst_restrict_stbox" + }, + { + "pg": "Tgeo_at_stbox", + "meos": "tgeoseq_restrict_stbox" + }, + { + "pg": "Tgeo_at_stbox", + "meos": "tgeoseqset_restrict_stbox" + }, + { + "pg": "Tgeo_at_stbox", + "meos": "tgeo_at_stbox" + } + ] + }, + { + "name": "atTbox", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tnumber_at_tbox", + "meos": "tnumber_at_tbox" + } + ] + }, + { + "name": "atTime", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_at_timestamptz", + "meos": "trgeo_at_timestamptz" + }, + { + "pg": "Temporal_at_tstzspanset", + "meos": "trgeo_at_tstzset" + }, + { + "pg": "Temporal_at_tstzspan", + "meos": "trgeo_at_tstzspan" + }, + { + "pg": "Temporal_at_tstzspanset", + "meos": "trgeo_at_tstzspanset" + }, + { + "pg": "Temporal_at_timestamptz", + "meos": "temporal_at_timestamptz" + }, + { + "pg": "Temporal_at_tstzset", + "meos": "temporal_at_tstzset" + }, + { + "pg": "Temporal_at_tstzspan", + "meos": "temporal_at_tstzspan" + }, + { + "pg": "Temporal_at_tstzspanset", + "meos": "temporal_at_tstzspanset" + }, + { + "pg": "Temporal_at_timestamptz", + "meos": "temporal_restrict_timestamptz" + }, + { + "pg": "Temporal_at_tstzset", + "meos": "temporal_restrict_tstzset" + }, + { + "pg": "Temporal_at_tstzspan", + "meos": "temporal_restrict_tstzspan" + }, + { + "pg": "Temporal_at_timestamptz", + "meos": "tinstant_restrict_timestamptz" + }, + { + "pg": "Temporal_at_tstzset", + "meos": "tinstant_restrict_tstzset" + }, + { + "pg": "Temporal_at_tstzspan", + "meos": "tinstant_restrict_tstzspan" + }, + { + "pg": "Temporal_at_tstzspanset", + "meos": "tinstant_restrict_tstzspanset" + }, + { + "pg": "Temporal_at_timestamptz", + "meos": "tsequence_at_timestamptz" + }, + { + "pg": "Temporal_at_tstzspan", + "meos": "tsequence_restrict_tstzspan" + }, + { + "pg": "Temporal_at_timestamptz", + "meos": "tsequenceset_restrict_timestamptz" + }, + { + "pg": "Temporal_at_tstzset", + "meos": "tsequenceset_restrict_tstzset" + }, + { + "pg": "Temporal_at_tstzspan", + "meos": "tsequenceset_restrict_tstzspan" + }, + { + "pg": "Temporal_at_tstzspanset", + "meos": "tsequenceset_restrict_tstzspanset" + } + ] + }, + { + "name": "atTpcbox", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "atTpcboxFine", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "atValue", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_at_value", + "meos": "trgeo_at_value" + }, + { + "pg": "Temporal_at_value", + "meos": "tcbuffer_restrict_cbuffer" + }, + { + "pg": "Temporal_at_value", + "meos": "tcbuffer_at_cbuffer" + }, + { + "pg": "Tcbuffer_at_stbox", + "meos": "tcbuffer_restrict_stbox" + }, + { + "pg": "Tcbuffer_at_stbox", + "meos": "tcbuffer_at_stbox" + }, + { + "pg": "Temporal_at_value", + "meos": "tpose_at_pose" + }, + { + "pg": "Temporal_at_value", + "meos": "tpoint_at_value" + }, + { + "pg": "Temporal_at_value", + "meos": "tgeo_at_value" + }, + { + "pg": "Temporal_at_value", + "meos": "tbool_at_value" + }, + { + "pg": "Temporal_at_value", + "meos": "tint_at_value" + }, + { + "pg": "Temporal_at_value", + "meos": "tfloat_at_value" + }, + { + "pg": "Temporal_at_value", + "meos": "ttext_at_value" + }, + { + "pg": "Temporal_at_value", + "meos": "temporal_restrict_value" + }, + { + "pg": "Temporal_at_value", + "meos": "tinstant_restrict_value" + }, + { + "pg": "Temporal_at_value", + "meos": "tsequenceset_restrict_value" + } + ] + }, + { + "name": "atValues", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography(Point)", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_at_values", + "meos": "trgeo_at_values" + }, + { + "pg": "Temporal_at_values", + "meos": "temporal_at_values" + }, + { + "pg": "Temporal_at_values", + "meos": "temporal_restrict_values" + }, + { + "pg": "Temporal_at_values", + "meos": "tinstant_restrict_values" + }, + { + "pg": "Temporal_at_values", + "meos": "tsequenceset_restrict_values" + }, + { + "pg": "Tnpoint_at_npoint", + "meos": "tnpoint_at_npoint" + }, + { + "pg": "Tnpoint_at_npointset", + "meos": "tnpoint_at_npointset" + } + ] + }, + { + "name": "averageHausdorffDistance", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "avgValue", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tnumber_avg_value", + "meos": "tnumberseqset_avg_val" + }, + { + "pg": "Tnumber_avg_value", + "meos": "tnumber_avg_value" + } + ] + }, + { + "name": "azimuth", + "overloads": [ + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpoint_azimuth", + "meos": "tpointseq_azimuth" + }, + { + "pg": "Tpoint_azimuth", + "meos": "tpointseqset_azimuth" + }, + { + "pg": "Tpoint_azimuth", + "meos": "tpoint_azimuth" + } + ] + }, + { + "name": "back", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "bearing", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "isSimple(tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Bearing_point_point", + "meos": "bearing_point_point" + }, + { + "pg": "Bearing_tpoint_point", + "meos": "bearing_tpoint_point" + }, + { + "pg": "Bearing_tpoint_tpoint", + "meos": "bearing_tpoint_tpoint" + } + ] + }, + { + "name": "before", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "beforeTimestamp", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "below", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "bigintsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintset_out", + "overloads": [ + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintset_send", + "overloads": [ + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintset_spgist_config", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "bigintset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspan", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tbox_to_bigintspan", + "meos": "tbox_bigintspan" + }, + { + "pg": "Tbox_to_bigintspan", + "meos": "tbox_to_bigintspan" + } + ] + }, + { + "name": "bigintspanFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspanFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspan_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspan_out", + "overloads": [ + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspan_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspan_send", + "overloads": [ + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspan_spgist_config", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "bigintspan_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspansetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspansetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspanset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspanset_out", + "overloads": [ + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspanset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bigintspanset_send", + "overloads": [ + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "bins", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": true, + "default": "0" + } + ], + "returns": "intspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": true, + "default": "0" + } + ], + "returns": "intspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + } + ], + "returns": "floatspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": true, + "default": "'2000-01-01'" + } + ], + "returns": "datespan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": true, + "default": "0" + } + ], + "returns": "intspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": true, + "default": "0" + } + ], + "returns": "intspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + } + ], + "returns": "floatspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": true, + "default": "'2000-01-01'" + } + ], + "returns": "datespan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "bodyPointTrajectory", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_body_point_trajectory", + "meos": "trgeometry_body_point_trajectory" + } + ] + }, + { + "name": "box", + "overloads": [ + { + "args": [ + { + "type": "point", + "hasDefault": false, + "default": null + }, + { + "type": "point", + "hasDefault": false, + "default": null + } + ], + "returns": "box", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "box2d", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "box2d", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_to_box2d", + "meos": "stbox_to_gbox" + } + ] + }, + { + "name": "box3d", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "box3d", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_to_box3d", + "meos": "stbox_to_box3d" + } + ] + }, + { + "name": "cbuffer", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Cbuffer_constructor", + "meos": "cbuffer_make" + }, + { + "pg": "Geom_to_cbuffer", + "meos": "geom_to_cbuffer" + } + ] + }, + { + "name": "cbuffer_cmp", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_cmp", + "meos": "cbuffer_cmp" + } + ] + }, + { + "name": "cbuffer_contains", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_contains", + "meos": "cbuffer_contains" + }, + { + "pg": "Cbuffer_contains", + "meos": "contains_cbuffer_cbuffer" + } + ] + }, + { + "name": "cbuffer_covers", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_covers", + "meos": "cbuffer_covers" + }, + { + "pg": "Cbuffer_covers", + "meos": "covers_cbuffer_cbuffer" + } + ] + }, + { + "name": "cbuffer_disjoint", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_disjoint", + "meos": "cbuffer_disjoint" + } + ] + }, + { + "name": "cbuffer_dwithin", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Cbuffer_dwithin", + "meos": "dwithin_cbuffer_cbuffer" + } + ] + }, + { + "name": "cbuffer_eq", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_eq", + "meos": "cbuffer_eq" + } + ] + }, + { + "name": "cbuffer_ge", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_ge", + "meos": "cbuffer_ge" + } + ] + }, + { + "name": "cbuffer_gt", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_gt", + "meos": "cbuffer_gt" + } + ] + }, + { + "name": "cbuffer_hash", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "cbuffer_hash_extended", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "cbuffer_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Cbuffer_in", + "meos": "cbuffer_in" + } + ] + }, + { + "name": "cbuffer_intersects", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_intersects", + "meos": "cbuffer_intersects" + }, + { + "pg": "Cbuffer_intersects", + "meos": "disjoint_cbuffer_cbuffer" + }, + { + "pg": "Cbuffer_intersects", + "meos": "intersects_cbuffer_cbuffer" + } + ] + }, + { + "name": "cbuffer_le", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_le", + "meos": "cbuffer_le" + } + ] + }, + { + "name": "cbuffer_lt", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_lt", + "meos": "cbuffer_lt" + } + ] + }, + { + "name": "cbuffer_ne", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_ne", + "meos": "cbuffer_ne" + } + ] + }, + { + "name": "cbuffer_out", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Cbuffer_out", + "meos": "cbuffer_out" + } + ] + }, + { + "name": "cbuffer_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Cbuffer_recv", + "meos": "cbuffer_from_wkb" + }, + { + "pg": "Cbuffer_recv", + "meos": "cbuffer_as_wkb" + } + ] + }, + { + "name": "cbuffer_same", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "cbuffer_send", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "cbuffer_touches", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_touches", + "meos": "cbuffer_touches" + }, + { + "pg": "Cbuffer_touches", + "meos": "touches_cbuffer_cbuffer" + } + ] + }, + { + "name": "cbuffersetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "cbuffersetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "cbufferset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "cbufferset_out", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "cbufferset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "cbufferset_send", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "cbufferset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "ceil", + "overloads": [ + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Floatset_ceil", + "meos": "floatset_ceil" + }, + { + "pg": "Floatspanset_ceil", + "meos": "floatspanset_ceil" + }, + { + "pg": "Floatspan_ceil", + "meos": "floatspan_ceil" + }, + { + "pg": "Tfloat_ceil", + "meos": "tfloat_ceil" + } + ] + }, + { + "name": "centroid", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_centroid", + "meos": "trgeometry_centroid" + }, + { + "pg": "Tgeo_centroid", + "meos": "tgeo_centroid" + } + ] + }, + { + "name": "circle", + "overloads": [ + { + "args": [ + { + "type": "point", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "circle", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "contained", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "contained_rid", + "overloads": [ + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "contains", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "contains_rid", + "overloads": [ + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "convexHull", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_convex_hull", + "meos": "trgeometry_convex_hull" + }, + { + "pg": "Tcbuffer_convex_hull", + "meos": "tcbuffer_convex_hull" + }, + { + "pg": "Tgeo_convex_hull", + "meos": "tgeo_convex_hull" + } + ] + }, + { + "name": "create_trip", + "overloads": [ + { + "args": [ + { + "type": "record[]", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 4, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "cumulativeLength", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_cumulative_length", + "meos": "trgeometry_cumulative_length" + }, + { + "pg": "Tpoint_cumulative_length", + "meos": "tpointseq_cumulative_length" + }, + { + "pg": "Tpoint_cumulative_length", + "meos": "tpointseqset_cumulative_length" + }, + { + "pg": "Tpoint_cumulative_length", + "meos": "tpoint_cumulative_length" + }, + { + "pg": "Tnpoint_cumulative_length", + "meos": "tnpoint_cumulative_length" + } + ] + }, + { + "name": "dateN", + "overloads": [ + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Datespanset_date_n", + "meos": "datespanset_date_n" + } + ] + }, + { + "name": "dates", + "overloads": [ + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Datespanset_dates", + "meos": "datespanset_dates" + } + ] + }, + { + "name": "dateset", + "overloads": [ + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tstzset_to_dateset", + "meos": "tstzset_to_dateset" + } + ] + }, + { + "name": "datesetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datesetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "dateset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "dateset_out", + "overloads": [ + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "dateset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "dateset_send", + "overloads": [ + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "dateset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespan", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespanFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespanFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespan_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespan_out", + "overloads": [ + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespan_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespan_send", + "overloads": [ + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespan_spgist_config", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "datespan_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespanset", + "overloads": [ + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tstzspanset_to_datespanset", + "meos": "tstzspanset_to_datespanset" + } + ] + }, + { + "name": "datespansetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespansetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespanset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespanset_out", + "overloads": [ + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespanset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "datespanset_send", + "overloads": [ + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "degrees", + "overloads": [ + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Floatset_degrees", + "meos": "floatset_degrees" + }, + { + "pg": "Floatspanset_degrees", + "meos": "floatspanset_degrees" + }, + { + "pg": "Floatspan_degrees", + "meos": "floatspan_degrees" + }, + { + "pg": "Float_degrees", + "meos": "float_degrees" + }, + { + "pg": "Tfloat_degrees", + "meos": "tfloat_degrees" + } + ] + }, + { + "name": "deleteTime", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Temporal_delete_tstzset", + "meos": "trgeometry_delete_tstzset" + }, + { + "pg": "Temporal_delete_tstzspan", + "meos": "trgeometry_delete_tstzspan" + }, + { + "pg": "Temporal_delete_tstzspanset", + "meos": "trgeometry_delete_tstzspanset" + }, + { + "pg": "Temporal_delete_timestamptz", + "meos": "tsequence_delete_timestamptz" + }, + { + "pg": "Temporal_delete_tstzset", + "meos": "tsequence_delete_tstzset" + }, + { + "pg": "Temporal_delete_tstzspan", + "meos": "tsequence_delete_tstzspan" + }, + { + "pg": "Temporal_delete_tstzspanset", + "meos": "tsequence_delete_tstzspanset" + }, + { + "pg": "Temporal_delete_timestamptz", + "meos": "temporal_delete_timestamptz" + }, + { + "pg": "Temporal_delete_tstzset", + "meos": "temporal_delete_tstzset" + }, + { + "pg": "Temporal_delete_tstzspan", + "meos": "temporal_delete_tstzspan" + }, + { + "pg": "Temporal_delete_tstzspanset", + "meos": "temporal_delete_tstzspanset" + } + ] + }, + { + "name": "deltaValue", + "overloads": [ + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tnumber_delta_value", + "meos": "tnumber_delta_value" + } + ] + }, + { + "name": "derivative", + "overloads": [ + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_derivative", + "meos": "tsequence_derivative" + }, + { + "pg": "Temporal_derivative", + "meos": "tsequenceset_derivative" + }, + { + "pg": "Temporal_derivative", + "meos": "temporal_derivative" + } + ] + }, + { + "name": "direction", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpoint_direction", + "meos": "tpointseq_direction" + }, + { + "pg": "Tpoint_direction", + "meos": "tpointseqset_direction" + }, + { + "pg": "Tpoint_direction", + "meos": "tpoint_direction" + } + ] + }, + { + "name": "distance", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "douglasPeuckerSimplify", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Temporal_simplify_dp", + "meos": "temporal_simplify_dp" + } + ] + }, + { + "name": "duration", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "interval", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_duration", + "meos": "tsequence_duration" + }, + { + "pg": "Temporal_duration", + "meos": "tsequenceset_duration" + }, + { + "pg": "Datespanset_duration", + "meos": "datespanset_duration" + }, + { + "pg": "Tstzspanset_duration", + "meos": "tstzspanset_duration" + }, + { + "pg": "Datespan_duration", + "meos": "datespan_duration" + }, + { + "pg": "Tstzspan_duration", + "meos": "tstzspan_duration" + }, + { + "pg": "Temporal_duration", + "meos": "temporal_duration" + } + ] + }, + { + "name": "dynTimeWarpDistance", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_dyntimewarp_distance", + "meos": "trgeometry_dyntimewarp_distance" + }, + { + "pg": "Temporal_dyntimewarp_distance", + "meos": "temporal_dyntimewarp_distance" + } + ] + }, + { + "name": "dynTimeWarpPath", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_dyntimewarp_path", + "meos": "trgeometry_dyntimewarp_path" + }, + { + "pg": "Temporal_dyntimewarp_path", + "meos": "temporal_dyntimewarp_path" + } + ] + }, + { + "name": "eContains", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Econtains_tcbuffer_geo", + "meos": "ea_contains_tcbuffer_geo" + }, + { + "pg": "Econtains_tcbuffer_geo", + "meos": "econtains_tcbuffer_geo" + }, + { + "pg": "Econtains_cbuffer_tcbuffer", + "meos": "econtains_cbuffer_tcbuffer" + }, + { + "pg": "Econtains_tcbuffer_cbuffer", + "meos": "econtains_tcbuffer_cbuffer" + }, + { + "pg": "Econtains_geo_tgeo", + "meos": "econtains_geo_tgeo" + }, + { + "pg": "Econtains_tgeo_geo", + "meos": "econtains_tgeo_geo" + }, + { + "pg": "Econtains_tgeo_tgeo", + "meos": "econtains_tgeo_tgeo" + } + ] + }, + { + "name": "eCovers", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Ecovers_geo_trgeometry", + "meos": "ecovers_geo_trgeo" + }, + { + "pg": "Ecovers_trgeometry_geo", + "meos": "ecovers_trgeo_geo" + }, + { + "pg": "Ecovers_geo_tcbuffer", + "meos": "ecovers_geo_tcbuffer" + }, + { + "pg": "Ecovers_tcbuffer_geo", + "meos": "ea_covers_tcbuffer_geo" + }, + { + "pg": "Ecovers_tcbuffer_geo", + "meos": "ecovers_tcbuffer_geo" + }, + { + "pg": "Ecovers_cbuffer_tcbuffer", + "meos": "ecovers_cbuffer_tcbuffer" + }, + { + "pg": "Ecovers_tcbuffer_cbuffer", + "meos": "ecovers_tcbuffer_cbuffer" + }, + { + "pg": "Ecovers_geo_tgeo", + "meos": "ecovers_geo_tgeo" + }, + { + "pg": "Ecovers_tgeo_geo", + "meos": "ecovers_tgeo_geo" + }, + { + "pg": "Ecovers_tgeo_tgeo", + "meos": "ecovers_tgeo_tgeo" + }, + { + "pg": "Acovers_tgeo_tgeo", + "meos": "acovers_tgeo_tgeo" + } + ] + }, + { + "name": "eDisjoint", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "eDisjoint(tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "eDisjoint(tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "_edisjoint(geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "eDisjoint(tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "eDisjoint(tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "aDisjoint(geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "eDisjoint(tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "eDisjoint(tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "_edisjoint(geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "eDisjoint(tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "eDisjoint(tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "aDisjoint(geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Edisjoint_trgeometry_geo", + "meos": "edisjoint_trgeo_geo" + }, + { + "pg": "Edisjoint_trgeometry_trgeometry", + "meos": "edisjoint_trgeo_trgeo" + }, + { + "pg": "Edisjoint_tcbuffer_geo", + "meos": "ea_disjoint_tcbuffer_geo" + }, + { + "pg": "Edisjoint_tcbuffer_geo", + "meos": "ea_disjoint_geo_tcbuffer" + }, + { + "pg": "Edisjoint_tcbuffer_geo", + "meos": "edisjoint_tcbuffer_geo" + }, + { + "pg": "Edisjoint_tcbuffer_cbuffer", + "meos": "ea_disjoint_tcbuffer_cbuffer" + }, + { + "pg": "Edisjoint_tcbuffer_cbuffer", + "meos": "ea_disjoint_cbuffer_tcbuffer" + }, + { + "pg": "Edisjoint_tcbuffer_cbuffer", + "meos": "edisjoint_tcbuffer_cbuffer" + }, + { + "pg": "Edisjoint_tcbuffer_tcbuffer", + "meos": "ea_disjoint_tcbuffer_tcbuffer" + }, + { + "pg": "Edisjoint_tcbuffer_tcbuffer", + "meos": "edisjoint_tcbuffer_tcbuffer" + }, + { + "pg": "Edisjoint_tgeo_geo", + "meos": "ea_disjoint_tgeo_geo" + }, + { + "pg": "Edisjoint_tgeo_geo", + "meos": "edisjoint_tgeo_geo" + }, + { + "pg": "Edisjoint_tgeo_tgeo", + "meos": "edisjoint_tgeo_tgeo" + } + ] + }, + { + "name": "eDwithin", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Edwithin_trgeometry_geo", + "meos": "edwithin_trgeo_geo" + }, + { + "pg": "Edwithin_trgeometry_trgeometry", + "meos": "edwithin_trgeo_trgeo" + }, + { + "pg": "Edwithin_tcbuffer_geo", + "meos": "ea_dwithin_tcbuffer_geo" + }, + { + "pg": "Edwithin_tcbuffer_geo", + "meos": "edwithin_tcbuffer_geo" + }, + { + "pg": "Edwithin_tcbuffer_cbuffer", + "meos": "edwithin_tcbuffer_cbuffer" + }, + { + "pg": "Edwithin_tcbuffer_tcbuffer", + "meos": "ea_dwithin_tcbuffer_tcbuffer" + }, + { + "pg": "Edwithin_tcbuffer_tcbuffer", + "meos": "edwithin_tcbuffer_tcbuffer" + }, + { + "pg": "Edwithin_tgeo_geo", + "meos": "ea_dwithin_tgeo_geo" + }, + { + "pg": "Edwithin_tgeo_geo", + "meos": "edwithin_tgeo_geo" + }, + { + "pg": "Edwithin_tgeo_tgeo", + "meos": "ea_dwithin_tgeo_tgeo" + }, + { + "pg": "Edwithin_tgeo_tgeo", + "meos": "edwithin_tgeo_tgeo" + } + ] + }, + { + "name": "eDwithinPairs", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "setof", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "setof", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [ + { + "pg": "Edwithin_tgeoarr_tgeoarr", + "meos": "edwithin_tgeoarr_tgeoarr" + } + ] + }, + { + "name": "eIntersects", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Eintersects_trgeometry_geo", + "meos": "eintersects_trgeo_geo" + }, + { + "pg": "Eintersects_trgeometry_trgeometry", + "meos": "eintersects_trgeo_trgeo" + }, + { + "pg": "Eintersects_tcbuffer_geo", + "meos": "ea_intersects_tcbuffer_geo" + }, + { + "pg": "Eintersects_tcbuffer_geo", + "meos": "ea_intersects_geo_tcbuffer" + }, + { + "pg": "Eintersects_tcbuffer_geo", + "meos": "eintersects_tcbuffer_geo" + }, + { + "pg": "Eintersects_tcbuffer_cbuffer", + "meos": "ea_intersects_tcbuffer_cbuffer" + }, + { + "pg": "Eintersects_tcbuffer_cbuffer", + "meos": "ea_intersects_cbuffer_tcbuffer" + }, + { + "pg": "Eintersects_tcbuffer_cbuffer", + "meos": "eintersects_tcbuffer_cbuffer" + }, + { + "pg": "Eintersects_tcbuffer_tcbuffer", + "meos": "ea_intersects_tcbuffer_tcbuffer" + }, + { + "pg": "Eintersects_tcbuffer_tcbuffer", + "meos": "eintersects_tcbuffer_tcbuffer" + }, + { + "pg": "Eintersects_tgeo_tgeo", + "meos": "ea_disjoint_tgeo_tgeo" + }, + { + "pg": "Eintersects_tgeo_geo", + "meos": "ea_intersects_tgeo_geo" + }, + { + "pg": "Eintersects_tgeo_tgeo", + "meos": "ea_intersects_tgeo_tgeo" + }, + { + "pg": "Eintersects_tgeo_tgeo", + "meos": "eintersects_tgeo_tgeo" + } + ] + }, + { + "name": "eTouches", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Etouches_trgeometry_geo", + "meos": "etouches_trgeo_geo" + }, + { + "pg": "Ecovers_tcbuffer_tcbuffer", + "meos": "ea_covers_tcbuffer_tcbuffer" + }, + { + "pg": "Ecovers_tcbuffer_tcbuffer", + "meos": "ecovers_tcbuffer_tcbuffer" + }, + { + "pg": "Etouches_tcbuffer_geo", + "meos": "ea_touches_tcbuffer_geo" + }, + { + "pg": "Etouches_tcbuffer_geo", + "meos": "ea_touches_geo_tcbuffer" + }, + { + "pg": "Etouches_tcbuffer_cbuffer", + "meos": "ea_touches_tcbuffer_cbuffer" + }, + { + "pg": "Etouches_tcbuffer_cbuffer", + "meos": "ea_touches_cbuffer_tcbuffer" + }, + { + "pg": "Etouches_tcbuffer_tcbuffer", + "meos": "ea_touches_tcbuffer_tcbuffer" + }, + { + "pg": "Etouches_tcbuffer_tcbuffer", + "meos": "etouches_tcbuffer_tcbuffer" + }, + { + "pg": "Etouches_tpoint_geo", + "meos": "ea_touches_tpoint_geo" + }, + { + "pg": "Etouches_tgeo_geo", + "meos": "ea_touches_tgeo_geo" + }, + { + "pg": "Etouches_tgeo_geo", + "meos": "etouches_tgeo_geo" + }, + { + "pg": "Etouches_tgeo_tgeo", + "meos": "ea_touches_tgeo_tgeo" + }, + { + "pg": "Etouches_tgeo_tgeo", + "meos": "etouches_tgeo_tgeo" + } + ] + }, + { + "name": "edisjoint", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "eintersects", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "endDate", + "overloads": [ + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Datespanset_end_date", + "meos": "datespanset_end_date" + } + ] + }, + { + "name": "endInstant", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_end_instant", + "meos": "trgeometry_end_instant" + }, + { + "pg": "Temporal_end_instant", + "meos": "temporal_end_instant" + } + ] + }, + { + "name": "endNumPoints", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "endPosition", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "double", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Nsegment_end_position", + "meos": "nsegment_end_position" + } + ] + }, + { + "name": "endSequence", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_end_sequence", + "meos": "trgeometry_end_sequence" + }, + { + "pg": "Temporal_end_sequence", + "meos": "temporal_end_sequence" + } + ] + }, + { + "name": "endSpan", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Spanset_end_span", + "meos": "spanset_end_span" + } + ] + }, + { + "name": "endTimestamp", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_end_timestamptz", + "meos": "tsequence_end_timestamptz" + }, + { + "pg": "Temporal_end_timestamptz", + "meos": "tsequenceset_end_timestamptz" + }, + { + "pg": "Tstzspanset_end_timestamptz", + "meos": "tstzspanset_end_timestamptz" + }, + { + "pg": "Temporal_end_timestamptz", + "meos": "temporal_end_timestamptz" + } + ] + }, + { + "name": "endValue", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Set_end_value", + "meos": "cbufferset_end_value" + }, + { + "pg": "Temporal_end_value", + "meos": "tcbuffer_end_value" + }, + { + "pg": "Set_end_value", + "meos": "pcpointset_end_value" + }, + { + "pg": "Set_end_value", + "meos": "pcpatchset_end_value" + }, + { + "pg": "Set_end_value", + "meos": "poseset_end_value" + }, + { + "pg": "Temporal_end_value", + "meos": "tpose_end_value" + }, + { + "pg": "Temporal_end_value", + "meos": "tgeo_end_value" + }, + { + "pg": "Set_end_value", + "meos": "geoset_end_value" + }, + { + "pg": "Set_end_value", + "meos": "intset_end_value" + }, + { + "pg": "Set_end_value", + "meos": "bigintset_end_value" + }, + { + "pg": "Set_end_value", + "meos": "floatset_end_value" + }, + { + "pg": "Set_end_value", + "meos": "textset_end_value" + }, + { + "pg": "Set_end_value", + "meos": "dateset_end_value" + }, + { + "pg": "Set_end_value", + "meos": "tstzset_end_value" + }, + { + "pg": "Temporal_end_value", + "meos": "tbool_end_value" + }, + { + "pg": "Temporal_end_value", + "meos": "tint_end_value" + }, + { + "pg": "Temporal_end_value", + "meos": "tbigint_end_value" + }, + { + "pg": "Temporal_end_value", + "meos": "tfloat_end_value" + }, + { + "pg": "Temporal_end_value", + "meos": "ttext_end_value" + }, + { + "pg": "Set_end_value", + "meos": "npointset_end_value" + }, + { + "pg": "Temporal_end_value", + "meos": "tnpoint_end_value" + } + ] + }, + { + "name": "ever_eq", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Ever_eq_geo_trgeometry", + "meos": "ever_eq_geo_trgeometry" + }, + { + "pg": "Ever_eq_trgeometry_geo", + "meos": "ever_eq_trgeometry_geo" + }, + { + "pg": "Ever_eq_trgeometry_trgeometry", + "meos": "ever_eq_trgeometry_trgeometry" + }, + { + "pg": "Ever_eq_cbuffer_tcbuffer", + "meos": "ever_eq_cbuffer_tcbuffer" + }, + { + "pg": "Ever_eq_tcbuffer_cbuffer", + "meos": "ever_eq_tcbuffer_cbuffer" + }, + { + "pg": "Ever_eq_tcbuffer_tcbuffer", + "meos": "ever_eq_tcbuffer_tcbuffer" + }, + { + "pg": "Ever_eq_pose_tpose", + "meos": "ever_eq_pose_tpose" + }, + { + "pg": "Ever_eq_tpose_pose", + "meos": "ever_eq_tpose_pose" + }, + { + "pg": "Ever_eq_tpose_tpose", + "meos": "ever_eq_tpose_tpose" + }, + { + "pg": "Ever_eq_geo_tgeo", + "meos": "ever_eq_geo_tgeo" + }, + { + "pg": "Ever_eq_tgeo_geo", + "meos": "ever_eq_tgeo_geo" + }, + { + "pg": "Ever_eq_tgeo_tgeo", + "meos": "ever_eq_tgeo_tgeo" + }, + { + "pg": "Ever_eq_temporal_temporal", + "meos": "ever_eq_temporal_temporal" + }, + { + "pg": "Ever_eq_base_temporal", + "meos": "ever_eq_bigint_tbigint" + }, + { + "pg": "Ever_eq_base_temporal", + "meos": "ever_eq_bool_tbool" + }, + { + "pg": "Ever_eq_base_temporal", + "meos": "ever_eq_int_tint" + }, + { + "pg": "Ever_eq_base_temporal", + "meos": "ever_eq_float_tfloat" + }, + { + "pg": "Ever_eq_base_temporal", + "meos": "ever_eq_text_ttext" + }, + { + "pg": "Ever_eq_temporal_base", + "meos": "ever_eq_tbigint_bigint" + }, + { + "pg": "Ever_eq_temporal_base", + "meos": "ever_eq_tbool_bool" + }, + { + "pg": "Ever_eq_temporal_base", + "meos": "ever_eq_tint_int" + }, + { + "pg": "Ever_eq_temporal_base", + "meos": "ever_eq_tfloat_float" + }, + { + "pg": "Ever_eq_temporal_base", + "meos": "ever_eq_ttext_text" + }, + { + "pg": "Ever_eq_npoint_tnpoint", + "meos": "ever_eq_npoint_tnpoint" + }, + { + "pg": "Ever_eq_tnpoint_npoint", + "meos": "ever_eq_tnpoint_npoint" + }, + { + "pg": "Ever_eq_tnpoint_tnpoint", + "meos": "ever_eq_tnpoint_tnpoint" + } + ] + }, + { + "name": "ever_ge", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Ever_ge_temporal_temporal", + "meos": "ever_ge_temporal_temporal" + }, + { + "pg": "Ever_ge_base_temporal", + "meos": "ever_ge_bigint_tbigint" + }, + { + "pg": "Ever_ge_base_temporal", + "meos": "ever_ge_int_tint" + }, + { + "pg": "Ever_ge_base_temporal", + "meos": "ever_ge_float_tfloat" + }, + { + "pg": "Ever_ge_base_temporal", + "meos": "ever_ge_text_ttext" + }, + { + "pg": "Ever_ge_temporal_base", + "meos": "ever_ge_tbigint_bigint" + }, + { + "pg": "Ever_ge_temporal_base", + "meos": "ever_ge_tint_int" + }, + { + "pg": "Ever_ge_temporal_base", + "meos": "ever_ge_tfloat_float" + }, + { + "pg": "Ever_ge_temporal_base", + "meos": "ever_ge_ttext_text" + } + ] + }, + { + "name": "ever_gt", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Ever_gt_temporal_temporal", + "meos": "ever_gt_temporal_temporal" + }, + { + "pg": "Ever_gt_base_temporal", + "meos": "ever_gt_bigint_tbigint" + }, + { + "pg": "Ever_gt_base_temporal", + "meos": "ever_gt_int_tint" + }, + { + "pg": "Ever_gt_base_temporal", + "meos": "ever_gt_float_tfloat" + }, + { + "pg": "Ever_gt_base_temporal", + "meos": "ever_gt_text_ttext" + }, + { + "pg": "Ever_gt_temporal_base", + "meos": "ever_gt_tbigint_bigint" + }, + { + "pg": "Ever_gt_temporal_base", + "meos": "ever_gt_tint_int" + }, + { + "pg": "Ever_gt_temporal_base", + "meos": "ever_gt_tfloat_float" + }, + { + "pg": "Ever_gt_temporal_base", + "meos": "ever_gt_ttext_text" + } + ] + }, + { + "name": "ever_le", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Ever_le_temporal_temporal", + "meos": "ever_le_temporal_temporal" + }, + { + "pg": "Ever_le_base_temporal", + "meos": "ever_le_bigint_tbigint" + }, + { + "pg": "Ever_le_base_temporal", + "meos": "ever_le_int_tint" + }, + { + "pg": "Ever_le_base_temporal", + "meos": "ever_le_float_tfloat" + }, + { + "pg": "Ever_le_base_temporal", + "meos": "ever_le_text_ttext" + }, + { + "pg": "Ever_le_temporal_base", + "meos": "ever_le_tbigint_bigint" + }, + { + "pg": "Ever_le_temporal_base", + "meos": "ever_le_tint_int" + }, + { + "pg": "Ever_le_temporal_base", + "meos": "ever_le_tfloat_float" + }, + { + "pg": "Ever_le_temporal_base", + "meos": "ever_le_ttext_text" + } + ] + }, + { + "name": "ever_lt", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Ever_lt_temporal_temporal", + "meos": "ever_lt_temporal_temporal" + }, + { + "pg": "Ever_lt_base_temporal", + "meos": "ever_lt_int_tint" + }, + { + "pg": "Ever_lt_base_temporal", + "meos": "ever_lt_bigint_tbigint" + }, + { + "pg": "Ever_lt_base_temporal", + "meos": "ever_lt_float_tfloat" + }, + { + "pg": "Ever_lt_base_temporal", + "meos": "ever_lt_text_ttext" + }, + { + "pg": "Ever_lt_temporal_base", + "meos": "ever_lt_tbigint_bigint" + }, + { + "pg": "Ever_lt_temporal_base", + "meos": "ever_lt_tint_int" + }, + { + "pg": "Ever_lt_temporal_base", + "meos": "ever_lt_tfloat_float" + }, + { + "pg": "Ever_lt_temporal_base", + "meos": "ever_lt_ttext_text" + } + ] + }, + { + "name": "ever_ne", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Ever_ne_geo_trgeometry", + "meos": "ever_ne_geo_trgeometry" + }, + { + "pg": "Ever_ne_trgeometry_geo", + "meos": "ever_ne_trgeometry_geo" + }, + { + "pg": "Ever_ne_trgeometry_trgeometry", + "meos": "ever_ne_trgeometry_trgeometry" + }, + { + "pg": "Ever_ne_cbuffer_tcbuffer", + "meos": "ever_ne_cbuffer_tcbuffer" + }, + { + "pg": "Ever_ne_tcbuffer_cbuffer", + "meos": "ever_ne_tcbuffer_cbuffer" + }, + { + "pg": "Ever_ne_tcbuffer_tcbuffer", + "meos": "ever_ne_tcbuffer_tcbuffer" + }, + { + "pg": "Ever_ne_pose_tpose", + "meos": "ever_ne_pose_tpose" + }, + { + "pg": "Ever_ne_tpose_pose", + "meos": "ever_ne_tpose_pose" + }, + { + "pg": "Ever_ne_tpose_tpose", + "meos": "ever_ne_tpose_tpose" + }, + { + "pg": "Ever_ne_geo_tgeo", + "meos": "ever_ne_geo_tgeo" + }, + { + "pg": "Ever_ne_tgeo_geo", + "meos": "ever_ne_tgeo_geo" + }, + { + "pg": "Ever_ne_tgeo_tgeo", + "meos": "ever_ne_tgeo_tgeo" + }, + { + "pg": "Ever_ne_temporal_temporal", + "meos": "ever_ne_temporal_temporal" + }, + { + "pg": "Ever_ne_base_temporal", + "meos": "ever_ne_bigint_tbigint" + }, + { + "pg": "Ever_ne_base_temporal", + "meos": "ever_ne_bool_tbool" + }, + { + "pg": "Ever_ne_base_temporal", + "meos": "ever_ne_int_tint" + }, + { + "pg": "Ever_ne_base_temporal", + "meos": "ever_ne_float_tfloat" + }, + { + "pg": "Ever_ne_base_temporal", + "meos": "ever_ne_text_ttext" + }, + { + "pg": "Ever_ne_temporal_base", + "meos": "ever_ne_tbigint_bigint" + }, + { + "pg": "Ever_ne_temporal_base", + "meos": "ever_ne_tbool_bool" + }, + { + "pg": "Ever_ne_temporal_base", + "meos": "ever_ne_tint_int" + }, + { + "pg": "Ever_ne_temporal_base", + "meos": "ever_ne_tfloat_float" + }, + { + "pg": "Ever_ne_temporal_base", + "meos": "ever_ne_ttext_text" + }, + { + "pg": "Ever_ne_npoint_tnpoint", + "meos": "ever_ne_npoint_tnpoint" + }, + { + "pg": "Ever_ne_tnpoint_npoint", + "meos": "ever_ne_tnpoint_npoint" + }, + { + "pg": "Ever_ne_tnpoint_tnpoint", + "meos": "ever_ne_tnpoint_tnpoint" + } + ] + }, + { + "name": "exp", + "overloads": [ + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "expand", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tcbuffer_expand", + "meos": "tcbuffer_expand" + }, + { + "pg": "Tstzspan_expand", + "meos": "tstzspan_expand" + } + ] + }, + { + "name": "expandSpace", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_expand_space", + "meos": "stbox_expand_space" + } + ] + }, + { + "name": "expandTime", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_expand_time", + "meos": "tbox_expand_time" + } + ] + }, + { + "name": "expandValue", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_expand_value", + "meos": "tbigintbox_expand" + }, + { + "pg": "Tbox_expand_value", + "meos": "tintbox_expand" + }, + { + "pg": "Tbox_expand_value", + "meos": "tfloatbox_expand" + }, + { + "pg": "Tbox_expand_value", + "meos": "tbox_expand_value" + } + ] + }, + { + "name": "extendedKalmanFilter", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 4, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 4, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "fill_oid_cache", + "overloads": [ + { + "args": [], + "returns": "VOID", + "minArity": 0, + "maxArity": 0 + } + ], + "c": [] + }, + { + "name": "floatset", + "overloads": [ + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Intset_to_floatset", + "meos": "intset_to_floatset" + } + ] + }, + { + "name": "floatsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatset_out", + "overloads": [ + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatset_send", + "overloads": [ + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatset_spgist_config", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "floatset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspan", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tbox_to_intspan", + "meos": "tbox_intspan" + }, + { + "pg": "Tbox_to_intspan", + "meos": "tbox_to_intspan" + }, + { + "pg": "Tbox_to_floatspan", + "meos": "tbox_floatspan" + }, + { + "pg": "Tbox_to_floatspan", + "meos": "tbox_to_floatspan" + } + ] + }, + { + "name": "floatspanFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspanFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspan_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspan_out", + "overloads": [ + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspan_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspan_send", + "overloads": [ + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspan_spgist_config", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "floatspan_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspanset", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Intspanset_to_floatspanset", + "meos": "intspanset_to_floatspanset" + } + ] + }, + { + "name": "floatspansetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspansetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspanset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspanset_out", + "overloads": [ + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspanset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floatspanset_send", + "overloads": [ + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "floor", + "overloads": [ + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Floatset_floor", + "meos": "floatset_floor" + }, + { + "pg": "Floatspanset_floor", + "meos": "floatspanset_floor" + }, + { + "pg": "Floatspan_floor", + "meos": "floatspan_floor" + }, + { + "pg": "Tfloat_floor", + "meos": "tfloat_floor" + } + ] + }, + { + "name": "frechetDistance", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_frechet_distance", + "meos": "trgeometry_frechet_distance" + }, + { + "pg": "Temporal_frechet_distance", + "meos": "temporal_frechet_distance" + } + ] + }, + { + "name": "frechetDistancePath", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_frechet_path", + "meos": "trgeometry_frechet_path" + }, + { + "pg": "Temporal_frechet_path", + "meos": "temporal_frechet_path" + } + ] + }, + { + "name": "front", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "geoMeasure", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "geoToH3Cell", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "geoToH3IndexSet", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "geodstboxT", + "overloads": [ + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geodstboxZ", + "overloads": [ + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "4326" + } + ], + "returns": "stbox", + "minArity": 6, + "maxArity": 7 + } + ], + "c": [] + }, + { + "name": "geodstboxZT", + "overloads": [ + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "4326" + } + ], + "returns": "stbox", + "minArity": 7, + "maxArity": 8 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "4326" + } + ], + "returns": "stbox", + "minArity": 7, + "maxArity": 8 + } + ], + "c": [] + }, + { + "name": "geography", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "geogsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geogsetFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geogsetFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geogsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geogsetFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geogset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geogset_out", + "overloads": [ + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geogset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geogset_send", + "overloads": [ + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geogset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geometry", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Cbuffer_to_geom", + "meos": "cbuffer_to_geom" + }, + { + "pg": "Stbox_to_geo", + "meos": "stbox_geo" + }, + { + "pg": "Stbox_to_geo", + "meos": "stbox_to_geo" + }, + { + "pg": "Tpoint_to_geomeas", + "meos": "tpoint_tfloat_to_geomeas" + }, + { + "pg": "Npoint_to_geompoint", + "meos": "npoint_to_geompoint" + }, + { + "pg": "Nsegment_to_geom", + "meos": "nsegment_to_geom" + } + ] + }, + { + "name": "geomsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geomsetFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geomsetFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geomsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geomsetFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geomset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geomset_out", + "overloads": [ + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geomset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geomset_send", + "overloads": [ + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geomset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geopose_frame_is_geographic", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geopose_frame_name", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "geopose_frame_srid", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "getBin", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": true, + "default": "0" + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "getDim", + "overloads": [ + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Pcpoint_get_dim", + "meos": "pcpoint_get_dim" + } + ] + }, + { + "name": "getPosition", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "double", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "getSpace", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_get_space", + "meos": "stbox_get_space" + } + ] + }, + { + "name": "getSpaceTile", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + } + ], + "returns": "stbox", + "minArity": 4, + "maxArity": 5 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + } + ], + "returns": "stbox", + "minArity": 3, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "getSpaceTimeTile", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "stbox", + "minArity": 6, + "maxArity": 8 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "stbox", + "minArity": 4, + "maxArity": 6 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "stbox", + "minArity": 5, + "maxArity": 7 + } + ], + "c": [] + }, + { + "name": "getStboxTimeTile", + "overloads": [ + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "getTBoxTimeTile", + "overloads": [ + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "getTime", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_time", + "meos": "tinstant_time" + }, + { + "pg": "Temporal_time", + "meos": "tsequence_time" + }, + { + "pg": "Temporal_time", + "meos": "tsequenceset_time" + }, + { + "pg": "Temporal_time", + "meos": "temporal_time" + } + ] + }, + { + "name": "getTimestamp", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "getValue", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tinstant_value", + "meos": "tinstant_value_p" + } + ] + }, + { + "name": "getValueTile", + "overloads": [ + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "getValueTimeTile", + "overloads": [ + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tbox", + "minArity": 4, + "maxArity": 6 + } + ], + "c": [] + }, + { + "name": "getValues", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "pose[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "geography[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "float[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "text[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "date[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Set_values", + "meos": "cbufferset_values" + }, + { + "pg": "Temporal_valueset", + "meos": "tcbuffer_values" + }, + { + "pg": "Set_values", + "meos": "pcpointset_values" + }, + { + "pg": "Set_values", + "meos": "pcpatchset_values" + }, + { + "pg": "Set_values", + "meos": "poseset_values" + }, + { + "pg": "Temporal_valueset", + "meos": "tpose_values" + }, + { + "pg": "Temporal_valueset", + "meos": "tgeo_values" + }, + { + "pg": "Set_values", + "meos": "geoset_values" + }, + { + "pg": "Set_values", + "meos": "intset_values" + }, + { + "pg": "Set_values", + "meos": "bigintset_values" + }, + { + "pg": "Set_values", + "meos": "floatset_values" + }, + { + "pg": "Set_values", + "meos": "textset_values" + }, + { + "pg": "Set_values", + "meos": "dateset_values" + }, + { + "pg": "Set_values", + "meos": "tstzset_values" + }, + { + "pg": "Temporal_valueset", + "meos": "tinstant_values_p" + }, + { + "pg": "Temporal_valueset", + "meos": "tnumberinst_valuespans" + }, + { + "pg": "Temporal_valueset", + "meos": "tsequence_values_p" + }, + { + "pg": "Tnumber_valuespans", + "meos": "tnumberseq_valuespans" + }, + { + "pg": "Set_values", + "meos": "set_vals" + }, + { + "pg": "Set_values", + "meos": "set_values" + }, + { + "pg": "Temporal_valueset", + "meos": "tsequenceset_values_p" + }, + { + "pg": "Tnumber_valuespans", + "meos": "tnumberseqset_valuespans" + }, + { + "pg": "Temporal_valueset", + "meos": "tbool_values" + }, + { + "pg": "Temporal_valueset", + "meos": "tint_values" + }, + { + "pg": "Temporal_valueset", + "meos": "tbigint_values" + }, + { + "pg": "Temporal_valueset", + "meos": "tfloat_values" + }, + { + "pg": "Temporal_valueset", + "meos": "ttext_values" + }, + { + "pg": "Temporal_valueset", + "meos": "temporal_values" + }, + { + "pg": "Tnumber_valuespans", + "meos": "tnumber_valuespans" + }, + { + "pg": "Set_values", + "meos": "npointset_values" + }, + { + "pg": "Temporal_valueset", + "meos": "tnpoint_values" + } + ] + }, + { + "name": "getX", + "overloads": [ + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pcpoint_get_x", + "meos": "pcpoint_get_x" + }, + { + "pg": "Tpoint_get_x", + "meos": "tpoint_get_x" + } + ] + }, + { + "name": "getY", + "overloads": [ + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pcpoint_get_y", + "meos": "pcpoint_get_y" + }, + { + "pg": "Tpoint_get_y", + "meos": "tpoint_get_y" + } + ] + }, + { + "name": "getZ", + "overloads": [ + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pcpoint_get_z", + "meos": "pcpoint_get_z" + }, + { + "pg": "Tpoint_get_z", + "meos": "tpoint_get_z" + } + ] + }, + { + "name": "h3_are_neighbor_cells", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_cell_area", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'km2'" + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_cell_to_boundary", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_cell_to_center_child", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_cell_to_child_pos", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_cell_to_children", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_cell_to_latlng", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_cell_to_latlng_tgeompoint", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_cell_to_local_ij", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_cell_to_parent", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_cell_to_vertex", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_cell_to_vertexes", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_cells_to_directed_edge", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_child_pos_to_cell", + "overloads": [ + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "h3_compact_cells", + "overloads": [ + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_directed_edge_to_boundary", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_edge_length", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'km'" + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_get_base_cell_number", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_get_directed_edge_destination", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_get_directed_edge_origin", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_get_icosahedron_faces", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_get_resolution", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_great_circle_distance", + "overloads": [ + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'km'" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "h3_grid_disk", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_grid_distance", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_grid_path_cells", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_grid_ring", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_is_pentagon", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_is_res_class_iii", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_is_valid_cell", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_is_valid_directed_edge", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_is_valid_vertex", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_local_ij_to_cell", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_origin_to_directed_edges", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3_uncompact_cells", + "overloads": [ + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3_vertex_to_latlng", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3index_cmp", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3index_eq", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3index_ge", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3index_gt", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3index_hash", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3index_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3index_le", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3index_lt", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3index_ne", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "h3index_out", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3index_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3index_send", + "overloads": [ + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3indexsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3indexsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3indexset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3indexset_out", + "overloads": [ + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3indexset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3indexset_send", + "overloads": [ + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "h3indexset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "hasT", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_hast", + "meos": "stbox_hast" + }, + { + "pg": "Tbox_hast", + "meos": "tbox_hast" + } + ] + }, + { + "name": "hasX", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_hasx", + "meos": "stbox_hasx" + }, + { + "pg": "Tbox_hasx", + "meos": "tbox_hasx" + } + ] + }, + { + "name": "hasZ", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_hasz", + "meos": "stbox_hasz" + } + ] + }, + { + "name": "hausdorffDistance", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_hausdorff_distance", + "meos": "trgeometry_hausdorff_distance" + } + ] + }, + { + "name": "initcap", + "overloads": [ + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Textset_initcap", + "meos": "textset_initcap" + } + ] + }, + { + "name": "insert", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Temporal_insert", + "meos": "temporal_insert" + } + ] + }, + { + "name": "instantN", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_instant_n", + "meos": "trgeometry_instant_n" + }, + { + "pg": "Temporal_instant_n", + "meos": "tsequenceset_inst_n" + }, + { + "pg": "Temporal_instant_n", + "meos": "temporal_instant_n" + } + ] + }, + { + "name": "instants", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_instants", + "meos": "trgeometry_instants" + }, + { + "pg": "Temporal_instants", + "meos": "tinstant_insts" + }, + { + "pg": "Temporal_instants", + "meos": "temporal_instants" + } + ] + }, + { + "name": "integral", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "interp", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_interp", + "meos": "temporal_interp" + } + ] + }, + { + "name": "intset", + "overloads": [ + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Floatset_to_intset", + "meos": "floatset_to_intset" + } + ] + }, + { + "name": "intsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Set_from_hexwkb", + "meos": "set_from_hexwkb" + } + ] + }, + { + "name": "intset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Set_in", + "meos": "cbufferset_in" + }, + { + "pg": "Set_in", + "meos": "pcpointset_in" + }, + { + "pg": "Set_in", + "meos": "pcpatchset_in" + }, + { + "pg": "Set_in", + "meos": "poseset_in" + }, + { + "pg": "Set_in", + "meos": "geomset_in" + }, + { + "pg": "Set_in", + "meos": "geogset_in" + }, + { + "pg": "Set_in", + "meos": "intset_in" + }, + { + "pg": "Set_in", + "meos": "bigintset_in" + }, + { + "pg": "Set_in", + "meos": "floatset_in" + }, + { + "pg": "Set_in", + "meos": "textset_in" + }, + { + "pg": "Set_in", + "meos": "dateset_in" + }, + { + "pg": "Set_in", + "meos": "tstzset_in" + }, + { + "pg": "Set_in", + "meos": "set_in" + }, + { + "pg": "Set_in", + "meos": "npointset_in" + } + ] + }, + { + "name": "intset_out", + "overloads": [ + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Set_out", + "meos": "cbufferset_out" + }, + { + "pg": "Set_out", + "meos": "pcpointset_out" + }, + { + "pg": "Set_out", + "meos": "pcpatchset_out" + }, + { + "pg": "Set_out", + "meos": "poseset_out" + }, + { + "pg": "Set_out", + "meos": "spatialset_out" + }, + { + "pg": "Set_out", + "meos": "intset_out" + }, + { + "pg": "Set_out", + "meos": "bigintset_out" + }, + { + "pg": "Set_out", + "meos": "floatset_out" + }, + { + "pg": "Set_out", + "meos": "textset_out" + }, + { + "pg": "Set_out", + "meos": "dateset_out" + }, + { + "pg": "Set_out", + "meos": "tstzset_out" + }, + { + "pg": "Set_out", + "meos": "set_out" + }, + { + "pg": "Set_out", + "meos": "npointset_out" + } + ] + }, + { + "name": "intset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Set_recv", + "meos": "set_from_wkb" + } + ] + }, + { + "name": "intset_send", + "overloads": [ + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Set_send", + "meos": "set_as_wkb" + } + ] + }, + { + "name": "intset_spgist_config", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "intset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspan", + "overloads": [ + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Span_constructor", + "meos": "intspan_make" + }, + { + "pg": "Span_constructor", + "meos": "bigintspan_make" + }, + { + "pg": "Span_constructor", + "meos": "floatspan_make" + }, + { + "pg": "Span_constructor", + "meos": "datespan_make" + }, + { + "pg": "Span_constructor", + "meos": "tstzspan_make" + } + ] + }, + { + "name": "intspanFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspanFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Span_from_hexwkb", + "meos": "span_from_hexwkb" + } + ] + }, + { + "name": "intspan_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspan_out", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspan_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspan_send", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspan_spgist_config", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "intspan_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspanset", + "overloads": [ + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Value_to_spanset", + "meos": "int_to_spanset" + }, + { + "pg": "Value_to_spanset", + "meos": "bigint_to_spanset" + }, + { + "pg": "Value_to_spanset", + "meos": "float_to_spanset" + }, + { + "pg": "Value_to_spanset", + "meos": "date_to_spanset" + }, + { + "pg": "Value_to_spanset", + "meos": "timestamptz_to_spanset" + }, + { + "pg": "Set_to_spanset", + "meos": "set_spanset" + }, + { + "pg": "Set_to_spanset", + "meos": "set_to_spanset" + }, + { + "pg": "Floatspanset_to_intspanset", + "meos": "floatspanset_to_intspanset" + } + ] + }, + { + "name": "intspansetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspansetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Spanset_from_hexwkb", + "meos": "spanset_from_hexwkb" + } + ] + }, + { + "name": "intspanset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspanset_out", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspanset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "intspanset_send", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "isGeodetic", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_isgeodetic", + "meos": "stbox_isgeodetic" + } + ] + }, + { + "name": "lcssDistance", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "left", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "length", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "double", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_length", + "meos": "trgeometry_length" + }, + { + "pg": "Tpoint_length", + "meos": "tpointseq_length" + }, + { + "pg": "Tpoint_length", + "meos": "tpointseqset_length" + }, + { + "pg": "Tpoint_length", + "meos": "tpoint_length" + }, + { + "pg": "Tnpoint_length", + "meos": "tnpoint_length" + } + ] + }, + { + "name": "line", + "overloads": [ + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "line", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "ln", + "overloads": [ + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tfloat_exp", + "meos": "tfloat_exp" + }, + { + "pg": "Tfloat_ln", + "meos": "tfloat_ln" + }, + { + "pg": "Tfloat_log10", + "meos": "tfloat_log10" + } + ] + }, + { + "name": "log10", + "overloads": [ + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "lower", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Textset_lower", + "meos": "textset_lower" + }, + { + "pg": "Span_lower", + "meos": "intspan_lower" + }, + { + "pg": "Span_lower", + "meos": "bigintspan_lower" + }, + { + "pg": "Span_lower", + "meos": "floatspan_lower" + }, + { + "pg": "Span_lower", + "meos": "datespan_lower" + }, + { + "pg": "Span_lower", + "meos": "tstzspan_lower" + }, + { + "pg": "Spanset_lower", + "meos": "intspanset_lower" + }, + { + "pg": "Spanset_lower", + "meos": "bigintspanset_lower" + }, + { + "pg": "Spanset_lower", + "meos": "floatspanset_lower" + }, + { + "pg": "Spanset_lower", + "meos": "tstzspanset_lower" + }, + { + "pg": "Spanset_lower", + "meos": "spanset_lower" + }, + { + "pg": "Ttext_lower", + "meos": "ttext_lower" + }, + { + "pg": "Ttext_lower", + "meos": "ttext_initcap" + } + ] + }, + { + "name": "lowerInc", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_lower_inc", + "meos": "temporal_lower_inc" + } + ] + }, + { + "name": "lseg", + "overloads": [ + { + "args": [ + { + "type": "point", + "hasDefault": false, + "default": null + }, + { + "type": "point", + "hasDefault": false, + "default": null + } + ], + "returns": "lseg", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "makeSimple", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpoint_make_simple", + "meos": "tpointseq_make_simple" + }, + { + "pg": "Tpoint_make_simple", + "meos": "tpointseqset_make_simple" + }, + { + "pg": "Tpoint_make_simple", + "meos": "tpoint_make_simple" + } + ] + }, + { + "name": "maxDistSimplify", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "maxInstant", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_max_instant", + "meos": "tsequence_max_inst_p" + }, + { + "pg": "Temporal_max_instant", + "meos": "tsequenceset_max_inst_p" + }, + { + "pg": "Temporal_max_instant", + "meos": "temporal_max_inst_p" + }, + { + "pg": "Temporal_max_instant", + "meos": "temporal_max_instant" + } + ] + }, + { + "name": "maxValue", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_max_value", + "meos": "tsequence_max_val" + }, + { + "pg": "Temporal_max_value", + "meos": "tsequenceset_max_val" + }, + { + "pg": "Temporal_max_value", + "meos": "tint_max_value" + }, + { + "pg": "Temporal_max_value", + "meos": "tbigint_max_value" + }, + { + "pg": "Temporal_max_value", + "meos": "tfloat_max_value" + }, + { + "pg": "Temporal_max_value", + "meos": "ttext_max_value" + }, + { + "pg": "Temporal_max_value", + "meos": "temporal_max_value" + } + ] + }, + { + "name": "memSize", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "int", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Set_mem_size", + "meos": "set_mem_size" + }, + { + "pg": "Spanset_mem_size", + "meos": "spanset_mem_size" + }, + { + "pg": "Temporal_mem_size", + "meos": "temporal_mem_size" + } + ] + }, + { + "name": "merge", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry[]", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext[]", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_merge_transfn", + "meos": "temporal_merge_transfn" + }, + { + "pg": "Temporal_merge_combinefn", + "meos": "temporal_merge_combinefn" + }, + { + "pg": "Temporal_merge", + "meos": "tinstant_merge" + }, + { + "pg": "Temporal_merge", + "meos": "geoarr_merge" + }, + { + "pg": "Temporal_merge_array", + "meos": "tinstant_merge_array" + }, + { + "pg": "Temporal_merge", + "meos": "tsequence_merge" + }, + { + "pg": "Temporal_merge_array", + "meos": "tsequence_merge_array" + }, + { + "pg": "Temporal_merge", + "meos": "tsequenceset_merge" + }, + { + "pg": "Temporal_merge_array", + "meos": "tsequenceset_merge_array" + }, + { + "pg": "Temporal_merge", + "meos": "temporal_merge" + }, + { + "pg": "Temporal_merge_array", + "meos": "temporal_merge_array" + } + ] + }, + { + "name": "minDistSimplify", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_simplify_min_dist", + "meos": "temporal_simplify_min_dist" + } + ] + }, + { + "name": "minDistance", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Mindistance_tgeoarr_tgeoarr", + "meos": "mindistance_tgeoarr_tgeoarr" + } + ] + }, + { + "name": "minDistance_transfn", + "overloads": [ + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "minInstant", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_min_instant", + "meos": "tsequence_min_inst_p" + }, + { + "pg": "Temporal_min_instant", + "meos": "tsequenceset_min_inst_p" + }, + { + "pg": "Temporal_min_instant", + "meos": "temporal_min_instant" + } + ] + }, + { + "name": "minTimeDeltaSimplify", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_simplify_min_tdelta", + "meos": "temporal_simplify_min_tdelta" + } + ] + }, + { + "name": "minValue", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_min_value", + "meos": "tsequence_min_val" + }, + { + "pg": "Temporal_min_value", + "meos": "tsequenceset_min_val" + }, + { + "pg": "Temporal_min_value", + "meos": "tint_min_value" + }, + { + "pg": "Temporal_min_value", + "meos": "tbigint_min_value" + }, + { + "pg": "Temporal_min_value", + "meos": "tfloat_min_value" + }, + { + "pg": "Temporal_min_value", + "meos": "ttext_min_value" + } + ] + }, + { + "name": "minusElevation", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "minusGeometry", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_minus_geom", + "meos": "trgeometry_minus_geom" + }, + { + "pg": "Tcbuffer_minus_geom", + "meos": "tcbuffer_minus_geom" + }, + { + "pg": "Tpose_minus_geom", + "meos": "tpose_minus_geom" + }, + { + "pg": "Tgeo_minus_geom", + "meos": "tpoint_minus_geom" + }, + { + "pg": "Tgeo_minus_geom", + "meos": "tgeo_minus_geom" + }, + { + "pg": "Tgeo_minus_elevation", + "meos": "tpoint_minus_elevation" + }, + { + "pg": "Tgeo_minus_elevation", + "meos": "tgeo_minus_elevation" + }, + { + "pg": "Tnpoint_minus_geom", + "meos": "tnpoint_minus_geom" + } + ] + }, + { + "name": "minusMax", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_minus_max", + "meos": "temporal_minus_max" + } + ] + }, + { + "name": "minusMin", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_minus_min", + "meos": "temporal_minus_min" + } + ] + }, + { + "name": "minusStbox", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Trgeometry_minus_stbox", + "meos": "trgeometry_minus_stbox" + }, + { + "pg": "Tgeo_minus_stbox", + "meos": "tgeo_minus_stbox" + } + ] + }, + { + "name": "minusTbox", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tnumber_minus_tbox", + "meos": "tnumber_minus_tbox" + } + ] + }, + { + "name": "minusTime", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_minus_timestamptz", + "meos": "trgeo_minus_timestamptz" + }, + { + "pg": "Temporal_minus_tstzspanset", + "meos": "trgeo_minus_tstzset" + }, + { + "pg": "Temporal_minus_tstzspan", + "meos": "trgeo_minus_tstzspan" + }, + { + "pg": "Temporal_minus_tstzspanset", + "meos": "trgeo_minus_tstzspanset" + }, + { + "pg": "Temporal_minus_timestamptz", + "meos": "temporal_minus_timestamptz" + }, + { + "pg": "Temporal_minus_tstzset", + "meos": "temporal_minus_tstzset" + }, + { + "pg": "Temporal_minus_tstzspan", + "meos": "temporal_minus_tstzspan" + }, + { + "pg": "Temporal_minus_tstzspanset", + "meos": "temporal_minus_tstzspanset" + }, + { + "pg": "Temporal_minus_timestamptz", + "meos": "tsequenceset_delete_timestamptz" + }, + { + "pg": "Temporal_minus_tstzset", + "meos": "tsequenceset_delete_tstzset" + }, + { + "pg": "Temporal_minus_tstzspan", + "meos": "tsequenceset_delete_tstzspan" + }, + { + "pg": "Temporal_minus_tstzspanset", + "meos": "tsequenceset_delete_tstzspanset" + } + ] + }, + { + "name": "minusTpcbox", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "minusTpcboxFine", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "minusValue", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_minus_value", + "meos": "trgeo_minus_value" + }, + { + "pg": "Temporal_minus_value", + "meos": "tcbuffer_minus_cbuffer" + }, + { + "pg": "Tcbuffer_minus_stbox", + "meos": "tcbuffer_minus_stbox" + }, + { + "pg": "Temporal_minus_value", + "meos": "tpose_minus_pose" + }, + { + "pg": "Temporal_minus_value", + "meos": "tpoint_minus_value" + }, + { + "pg": "Temporal_minus_value", + "meos": "tgeo_minus_value" + }, + { + "pg": "Temporal_minus_value", + "meos": "tbool_minus_value" + }, + { + "pg": "Temporal_minus_value", + "meos": "tint_minus_value" + }, + { + "pg": "Temporal_minus_value", + "meos": "tfloat_minus_value" + }, + { + "pg": "Temporal_minus_value", + "meos": "ttext_minus_value" + } + ] + }, + { + "name": "minusValues", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography(Point)", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_minus_values", + "meos": "trgeo_minus_values" + }, + { + "pg": "Temporal_minus_values", + "meos": "temporal_minus_values" + }, + { + "pg": "Tnpoint_minus_npoint", + "meos": "tnpoint_minus_npoint" + }, + { + "pg": "Tnpoint_minus_npointset", + "meos": "tnpoint_minus_npointset" + } + ] + }, + { + "name": "mobilitydb_full_version", + "overloads": [ + { + "args": [], + "returns": "text", + "minArity": 0, + "maxArity": 0 + } + ], + "c": [] + }, + { + "name": "mobilitydb_version", + "overloads": [ + { + "args": [], + "returns": "text", + "minArity": 0, + "maxArity": 0 + } + ], + "c": [] + }, + { + "name": "multirange", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "int4multirange", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "int8multirange", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datemultirange", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzmultirange", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "nearestApproachDistance", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "int", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "NAD_tcbuffer_geo", + "meos": "nad_tcbuffer_geo" + }, + { + "pg": "NAD_tcbuffer_geo", + "meos": "nad_tcbuffer_stbox" + }, + { + "pg": "NAD_tcbuffer_cbuffer", + "meos": "nad_tcbuffer_cbuffer" + }, + { + "pg": "NAD_tcbuffer_tcbuffer", + "meos": "nad_tcbuffer_tcbuffer" + }, + { + "pg": "NAD_tpcbox_tpcbox", + "meos": "nad_tpcbox_tpcbox" + }, + { + "pg": "NAD_tpointcloud_tpcbox", + "meos": "nad_tpointcloud_tpcbox" + }, + { + "pg": "NAD_tpointcloud_tpointcloud", + "meos": "nad_tpointcloud_tpointcloud" + }, + { + "pg": "NAD_tpose_geo", + "meos": "nad_tpose_geo" + }, + { + "pg": "NAD_tpose_geo", + "meos": "nad_tpose_stbox" + }, + { + "pg": "NAD_tpose_pose", + "meos": "nad_tpose_pose" + }, + { + "pg": "NAD_tpose_tpose", + "meos": "nad_tpose_tpose" + }, + { + "pg": "NAD_tgeo_geo", + "meos": "nad_tgeo_geo" + }, + { + "pg": "NAD_stbox_geo", + "meos": "nad_stbox_geo" + }, + { + "pg": "NAD_stbox_stbox", + "meos": "nad_stbox_stbox" + }, + { + "pg": "NAD_tgeo_stbox", + "meos": "nad_tgeo_stbox" + }, + { + "pg": "NAD_tgeo_tgeo", + "meos": "nad_tgeo_tgeo" + }, + { + "pg": "NAD_tgeo_tgeo", + "meos": "mindistance_tgeo_tgeo" + }, + { + "pg": "NAD_tnumber_number", + "meos": "nad_tint_int" + }, + { + "pg": "NAD_tnumber_number", + "meos": "nad_tfloat_float" + }, + { + "pg": "NAD_tnumber_tbox", + "meos": "nad_tint_tbox" + }, + { + "pg": "NAD_tnumber_tbox", + "meos": "nad_tfloat_tbox" + }, + { + "pg": "NAD_tbox_tbox", + "meos": "nad_tboxint_tboxint" + }, + { + "pg": "NAD_tbox_tbox", + "meos": "nad_tboxfloat_tboxfloat" + }, + { + "pg": "NAD_tnumber_tnumber", + "meos": "nad_tint_tint" + }, + { + "pg": "NAD_tnumber_tnumber", + "meos": "nad_tfloat_tfloat" + }, + { + "pg": "NAD_tbox_tbox", + "meos": "nad_tbox_tbox" + }, + { + "pg": "NAD_tnumber_tbox", + "meos": "nad_tnumber_tbox" + }, + { + "pg": "NAD_tnpoint_geo", + "meos": "nad_tnpoint_geo" + }, + { + "pg": "NAD_tnpoint_stbox", + "meos": "nad_tnpoint_stbox" + }, + { + "pg": "NAD_tnpoint_npoint", + "meos": "nad_tnpoint_npoint" + }, + { + "pg": "NAD_tnpoint_tnpoint", + "meos": "nad_tnpoint_tnpoint" + } + ] + }, + { + "name": "nearestApproachInstant", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "NAI_tcbuffer_geo", + "meos": "nai_tcbuffer_geo" + }, + { + "pg": "NAI_tcbuffer_cbuffer", + "meos": "nai_tcbuffer_cbuffer" + }, + { + "pg": "NAI_tcbuffer_tcbuffer", + "meos": "nai_tcbuffer_tcbuffer" + }, + { + "pg": "NAI_tpose_geo", + "meos": "nai_tpose_geo" + }, + { + "pg": "NAI_tpose_pose", + "meos": "nai_tpose_pose" + }, + { + "pg": "NAI_tpose_tpose", + "meos": "nai_tpose_tpose" + }, + { + "pg": "NAI_tgeo_geo", + "meos": "nai_tgeo_geo" + }, + { + "pg": "NAI_tgeo_tgeo", + "meos": "nai_tgeo_tgeo" + }, + { + "pg": "NAI_tnpoint_geo", + "meos": "nai_tnpoint_geo" + }, + { + "pg": "NAI_tnpoint_npoint", + "meos": "nai_tnpoint_npoint" + }, + { + "pg": "NAI_tnpoint_tnpoint", + "meos": "nai_tnpoint_tnpoint" + } + ] + }, + { + "name": "normalise", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pose_normalise", + "meos": "pose_normalise" + } + ] + }, + { + "name": "npoint", + "overloads": [ + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Geompoint_to_npoint", + "meos": "geompoint_to_npoint" + }, + { + "pg": "Npoint_constructor", + "meos": "npoint_make" + } + ] + }, + { + "name": "npointFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointFromHexEWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npoint_cmp", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Npoint_cmp", + "meos": "npoint_cmp" + } + ] + }, + { + "name": "npoint_eq", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Npoint_eq", + "meos": "npoint_eq" + } + ] + }, + { + "name": "npoint_ge", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Npoint_ge", + "meos": "npoint_ge" + } + ] + }, + { + "name": "npoint_gt", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Npoint_gt", + "meos": "npoint_gt" + } + ] + }, + { + "name": "npoint_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Npoint_in", + "meos": "npoint_in" + } + ] + }, + { + "name": "npoint_le", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Npoint_le", + "meos": "npoint_le" + } + ] + }, + { + "name": "npoint_lt", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Npoint_lt", + "meos": "npoint_lt" + } + ] + }, + { + "name": "npoint_ne", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Npoint_ne", + "meos": "npoint_ne" + } + ] + }, + { + "name": "npoint_out", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Npoint_out", + "meos": "npoint_out" + } + ] + }, + { + "name": "npoint_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Npoint_recv", + "meos": "npoint_from_wkb" + }, + { + "pg": "Npoint_recv", + "meos": "npoint_as_wkb" + } + ] + }, + { + "name": "npoint_send", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointsetFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointsetFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointsetFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointset_out", + "overloads": [ + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointset_send", + "overloads": [ + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "npointset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "nsegment", + "overloads": [ + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": true, + "default": "0" + }, + { + "type": "precision", + "hasDefault": true, + "default": "1" + } + ], + "returns": "nsegment", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "nsegment", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "nsegment", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Nsegment_constructor", + "meos": "nsegment_make" + }, + { + "pg": "Npoint_to_nsegment", + "meos": "npoint_to_nsegment" + }, + { + "pg": "Geom_to_nsegment", + "meos": "geom_to_nsegment" + } + ] + }, + { + "name": "nsegment_cmp", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + }, + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Nsegment_cmp", + "meos": "nsegment_cmp" + } + ] + }, + { + "name": "nsegment_eq", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + }, + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Nsegment_eq", + "meos": "nsegment_eq" + } + ] + }, + { + "name": "nsegment_ge", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + }, + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Nsegment_ge", + "meos": "nsegment_ge" + } + ] + }, + { + "name": "nsegment_gt", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + }, + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Nsegment_gt", + "meos": "nsegment_gt" + } + ] + }, + { + "name": "nsegment_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "nsegment", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Nsegment_in", + "meos": "nsegment_in" + } + ] + }, + { + "name": "nsegment_le", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + }, + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Nsegment_le", + "meos": "nsegment_le" + } + ] + }, + { + "name": "nsegment_lt", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + }, + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Nsegment_lt", + "meos": "nsegment_lt" + } + ] + }, + { + "name": "nsegment_ne", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + }, + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Nsegment_ne", + "meos": "nsegment_ne" + } + ] + }, + { + "name": "nsegment_out", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Nsegment_out", + "meos": "nsegment_out" + } + ] + }, + { + "name": "nsegment_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "nsegment", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "nsegment_send", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "numDates", + "overloads": [ + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Datespanset_num_dates", + "meos": "datespanset_num_dates" + } + ] + }, + { + "name": "numInstants", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_num_instants", + "meos": "tsequenceset_num_instants" + }, + { + "pg": "Temporal_num_instants", + "meos": "temporal_num_instants" + } + ] + }, + { + "name": "numPoints", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "numSequences", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_num_sequences", + "meos": "temporal_num_sequences" + } + ] + }, + { + "name": "numSpans", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Spanset_num_spans", + "meos": "spanset_num_spans" + } + ] + }, + { + "name": "numTimestamps", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_num_timestamps", + "meos": "tsequenceset_num_timestamps" + }, + { + "pg": "Tstzspanset_num_timestamps", + "meos": "tstzspanset_num_timestamps" + }, + { + "pg": "Temporal_num_timestamps", + "meos": "temporal_num_timestamps" + } + ] + }, + { + "name": "numValues", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Set_num_values", + "meos": "set_num_values" + } + ] + }, + { + "name": "orientation", + "overloads": [ + { + "args": [ + { + "type": "tempSubtype(tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "quaternion", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "overabove", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "overafter", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "overback", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "overbefore", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "overbelow", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "overfront", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "overlaps", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "overlaps_rid", + "overloads": [ + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "overleft", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "overright", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "path", + "overloads": [ + { + "args": [ + { + "type": "point[]", + "hasDefault": false, + "default": null + } + ], + "returns": "path", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcid", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pcpoint_pcid", + "meos": "pcpoint_get_pcid" + }, + { + "pg": "Pcpatch_pcid", + "meos": "pcpatch_hash" + } + ] + }, + { + "name": "pcpatch", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "pcpoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pcpatchsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpatchsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpatchset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpatchset_out", + "overloads": [ + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpatchset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpatchset_send", + "overloads": [ + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpatchset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpoint", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 4, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "pcpointsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpointsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpointset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpointset_out", + "overloads": [ + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpointset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpointset_send", + "overloads": [ + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pcpointset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "perimeter", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pitch", + "overloads": [ + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pose_pitch", + "meos": "pose_pitch" + } + ] + }, + { + "name": "point", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "point", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_point", + "meos": "cbuffer_point_p" + }, + { + "pg": "Cbuffer_point", + "meos": "cbuffer_point" + } + ] + }, + { + "name": "points", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "TABLE", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_points", + "meos": "trgeometry_points" + }, + { + "pg": "Tcbuffer_points", + "meos": "tcbuffer_members" + }, + { + "pg": "Tcbuffer_points", + "meos": "tcbuffer_points" + }, + { + "pg": "Tcbuffer_points", + "meos": "tcbuffer_radius" + }, + { + "pg": "Tpose_points", + "meos": "tpose_points" + } + ] + }, + { + "name": "polygon", + "overloads": [ + { + "args": [ + { + "type": "point[]", + "hasDefault": false, + "default": null + } + ], + "returns": "polygon", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pose", + "overloads": [ + { + "args": [ + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "pose", + "minArity": 3, + "maxArity": 4 + }, + { + "args": [ + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "pose", + "minArity": 7, + "maxArity": 8 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + }, + { + "type": "precision", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "poseFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "poseFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "poseFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "poseFromGeoPose", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "poseFromHexEWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "poseFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pose_cmp", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pose_eq", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pose_ge", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pose_gt", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pose_hash", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "pose_hash_extended", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pose_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pose_in", + "meos": "pose_in" + } + ] + }, + { + "name": "pose_le", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pose_lt", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pose_ne", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pose_out", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pose_out", + "meos": "pose_out" + } + ] + }, + { + "name": "pose_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pose_recv", + "meos": "pose_from_wkb" + }, + { + "pg": "Pose_recv", + "meos": "pose_as_wkb" + } + ] + }, + { + "name": "pose_same", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "pose_send", + "overloads": [ + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "posesetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "posesetFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "posesetFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "posesetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "posesetFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "poseset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "poseset_out", + "overloads": [ + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "poseset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "poseset_send", + "overloads": [ + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "poseset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "positions", + "overloads": [ + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "nsegment[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tnpoint_positions", + "meos": "tnpoint_positions" + } + ] + }, + { + "name": "quadSplit", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "radians", + "overloads": [ + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Floatset_radians", + "meos": "floatset_radians" + }, + { + "pg": "Floatspanset_radians", + "meos": "floatspanset_radians" + }, + { + "pg": "Floatspan_radians", + "meos": "floatspan_radians" + }, + { + "pg": "Tfloat_radians", + "meos": "tfloat_radians" + } + ] + }, + { + "name": "radius", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Cbuffer_radius", + "meos": "cbuffer_radius" + } + ] + }, + { + "name": "range", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "int4range", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "int8range", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "daterange", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzrange", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "right", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "roll", + "overloads": [ + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pose_roll", + "meos": "pose_roll" + } + ] + }, + { + "name": "rotate", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "rotateX", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "rotateY", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "rotateZ", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "rotation", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_rotation", + "meos": "trgeometry_rotation" + } + ] + }, + { + "name": "round", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "trgeometry[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "cbuffer", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tcbuffer[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "cbufferset", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tpcbox", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tpose[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tgeompoint[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tgeogpoint[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tgeometry[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tgeography[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tfloat[]", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "nsegment", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_round", + "meos": "trgeometry_round" + }, + { + "pg": "Cbufferarr_round", + "meos": "cbufferarr_round" + }, + { + "pg": "Tpcbox_round", + "meos": "tpcbox_round" + }, + { + "pg": "Pose_round", + "meos": "pose_round" + }, + { + "pg": "Posearr_round", + "meos": "posearr_round" + }, + { + "pg": "Stbox_round", + "meos": "stbox_round" + }, + { + "pg": "Stboxarr_round", + "meos": "stboxarr_round" + }, + { + "pg": "Tbox_round", + "meos": "tbox_round" + }, + { + "pg": "Floatspanset_round", + "meos": "floatspanset_round" + } + ] + }, + { + "name": "route", + "overloads": [ + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tnpoint_route", + "meos": "tnpoint_route" + }, + { + "pg": "Npoint_route", + "meos": "npoint_route" + }, + { + "pg": "Nsegment_route", + "meos": "nsegment_route" + } + ] + }, + { + "name": "routes", + "overloads": [ + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tnpoint_routes", + "meos": "tnpoint_routes" + }, + { + "pg": "Npointset_routes", + "meos": "npointset_routes" + } + ] + }, + { + "name": "same", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "same_rid", + "overloads": [ + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "scale", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tgeo_scale", + "meos": "tgeo_scale" + } + ] + }, + { + "name": "scaleTime", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_scale_time", + "meos": "temporal_scale_time" + } + ] + }, + { + "name": "scaleValue", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tnumber_scale_value", + "meos": "tint_scale_value" + }, + { + "pg": "Tnumber_scale_value", + "meos": "tbigint_scale_value" + }, + { + "pg": "Tnumber_scale_value", + "meos": "tfloat_scale_value" + } + ] + }, + { + "name": "segmentMaxDuration", + "overloads": [ + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "segmentMinDuration", + "overloads": [ + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "segments", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_segments", + "meos": "trgeometry_segments" + }, + { + "pg": "Temporal_segments", + "meos": "tsequence_segments" + }, + { + "pg": "Temporal_segments", + "meos": "tsequenceset_segments" + }, + { + "pg": "Temporal_segments", + "meos": "temporal_segments" + } + ] + }, + { + "name": "sequenceN", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_sequence_n", + "meos": "trgeometry_sequence_n" + }, + { + "pg": "Temporal_sequence_n", + "meos": "temporal_sequence_n" + } + ] + }, + { + "name": "sequences", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_sequences", + "meos": "trgeometry_sequences" + }, + { + "pg": "Temporal_sequences", + "meos": "tsequence_seqs" + }, + { + "pg": "Temporal_sequences", + "meos": "temporal_sequences_p" + }, + { + "pg": "Temporal_sequences", + "meos": "temporal_sequences" + } + ] + }, + { + "name": "set", + "overloads": [ + { + "args": [ + { + "type": "cbuffer[]", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatch[]", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose[]", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geometry[]", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geography[]", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3index[]", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "integer[]", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "float[]", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "text[]", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "date[]", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "timestamptz[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Set_constructor", + "meos": "cbufferset_make" + }, + { + "pg": "Value_to_set", + "meos": "cbuffer_to_set" + }, + { + "pg": "Set_constructor", + "meos": "pcpointset_make" + }, + { + "pg": "Value_to_set", + "meos": "pcpoint_to_set" + }, + { + "pg": "Set_constructor", + "meos": "pcpatchset_make" + }, + { + "pg": "Value_to_set", + "meos": "pcpatch_to_set" + }, + { + "pg": "Set_constructor", + "meos": "poseset_make" + }, + { + "pg": "Value_to_set", + "meos": "pose_to_set" + }, + { + "pg": "Set_constructor", + "meos": "geoset_make" + }, + { + "pg": "Value_to_set", + "meos": "geo_set" + }, + { + "pg": "Value_to_set", + "meos": "geo_to_set" + }, + { + "pg": "Set_constructor", + "meos": "intset_make" + }, + { + "pg": "Set_constructor", + "meos": "bigintset_make" + }, + { + "pg": "Set_constructor", + "meos": "floatset_make" + }, + { + "pg": "Set_constructor", + "meos": "textset_make" + }, + { + "pg": "Set_constructor", + "meos": "dateset_make" + }, + { + "pg": "Set_constructor", + "meos": "tstzset_make" + }, + { + "pg": "Value_to_set", + "meos": "int_to_set" + }, + { + "pg": "Value_to_set", + "meos": "bigint_to_set" + }, + { + "pg": "Value_to_set", + "meos": "float_to_set" + }, + { + "pg": "Value_to_set", + "meos": "text_to_set" + }, + { + "pg": "Value_to_set", + "meos": "date_to_set" + }, + { + "pg": "Value_to_set", + "meos": "timestamptz_to_set" + }, + { + "pg": "Set_constructor", + "meos": "npointset_make" + }, + { + "pg": "Value_to_set", + "meos": "npoint_to_set" + } + ] + }, + { + "name": "setInterp", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_set_interp", + "meos": "trgeometry_set_interp" + }, + { + "pg": "Temporal_set_interp", + "meos": "tsequenceset_set_interp" + }, + { + "pg": "Temporal_set_interp", + "meos": "temporal_set_interp" + } + ] + }, + { + "name": "setSRID", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Cbuffer_set_srid", + "meos": "cbuffer_set_srid" + }, + { + "pg": "Tpcbox_set_srid", + "meos": "tpcbox_set_srid" + }, + { + "pg": "Stbox_set_srid", + "meos": "stbox_set_srid" + }, + { + "pg": "Spatialset_set_srid", + "meos": "spatialset_set_srid" + }, + { + "pg": "Tspatial_set_srid", + "meos": "tspatial_set_srid" + } + ] + }, + { + "name": "set_cmp", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Set_cmp", + "meos": "set_cmp" + } + ] + }, + { + "name": "set_contained", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Contained_value_set", + "meos": "contained_cbuffer_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_pcpoint_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_pcpatch_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_pose_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_geo_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_int_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_bigint_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_float_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_text_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_date_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_timestamptz_set" + }, + { + "pg": "Contained_set_set", + "meos": "contained_set_set" + }, + { + "pg": "Contained_value_set", + "meos": "contained_npoint_set" + } + ] + }, + { + "name": "set_contains", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Contains_set_value", + "meos": "contains_set_cbuffer" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_pcpoint" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_pcpatch" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_pose" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_geo" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_int" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_bigint" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_float" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_text" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_date" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_timestamptz" + }, + { + "pg": "Contains_set_set", + "meos": "contains_set_set" + }, + { + "pg": "Contains_set_value", + "meos": "contains_set_npoint" + } + ] + }, + { + "name": "set_distance", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Distance_set_value", + "meos": "distance_set_int" + }, + { + "pg": "Distance_set_value", + "meos": "distance_set_bigint" + }, + { + "pg": "Distance_set_value", + "meos": "distance_set_float" + }, + { + "pg": "Distance_set_value", + "meos": "distance_set_date" + }, + { + "pg": "Distance_set_value", + "meos": "distance_set_timestamptz" + }, + { + "pg": "Distance_set_set", + "meos": "distance_intset_intset" + }, + { + "pg": "Distance_set_set", + "meos": "distance_bigintset_bigintset" + }, + { + "pg": "Distance_set_set", + "meos": "distance_floatset_floatset" + }, + { + "pg": "Distance_set_set", + "meos": "distance_dateset_dateset" + }, + { + "pg": "Distance_set_set", + "meos": "distance_tstzset_tstzset" + }, + { + "pg": "Distance_set_set", + "meos": "distance_set_set" + } + ] + }, + { + "name": "set_eq", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Set_eq", + "meos": "set_eq" + } + ] + }, + { + "name": "set_extent_transfn", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "set_ge", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Set_ge", + "meos": "set_ge" + } + ] + }, + { + "name": "set_gin_extract_query", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "int2", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 7, + "maxArity": 7 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "int2", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 7, + "maxArity": 7 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "int2", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 7, + "maxArity": 7 + } + ], + "c": [] + }, + { + "name": "set_gin_extract_value", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "set_gin_triconsistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "int2", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "char", + "minArity": 7, + "maxArity": 7 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "int2", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "char", + "minArity": 7, + "maxArity": 7 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "int2", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "char", + "minArity": 7, + "maxArity": 7 + } + ], + "c": [] + }, + { + "name": "set_gist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "set_gt", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Set_gt", + "meos": "set_gt" + } + ] + }, + { + "name": "set_hash", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "set_hash_extended", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "set_intersection", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Intersection_set_value", + "meos": "intersection_set_cbuffer" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_pcpoint" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_pcpoint_set" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_pcpatch" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_pcpatch_set" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_pose" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_geo" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_int" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_bigint" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_float" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_text" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_date" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_timestamptz" + }, + { + "pg": "Intersection_set_set", + "meos": "intersection_set_set" + }, + { + "pg": "Intersection_set_value", + "meos": "intersection_set_npoint" + } + ] + }, + { + "name": "set_le", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Set_le", + "meos": "set_le" + } + ] + }, + { + "name": "set_left", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Left_value_set", + "meos": "left_int_set" + }, + { + "pg": "Left_value_set", + "meos": "left_bigint_set" + }, + { + "pg": "Left_value_set", + "meos": "left_float_set" + }, + { + "pg": "Left_value_set", + "meos": "left_text_set" + }, + { + "pg": "Left_value_set", + "meos": "before_date_set" + }, + { + "pg": "Left_value_set", + "meos": "before_timestamptz_set" + }, + { + "pg": "Left_set_value", + "meos": "left_set_int" + }, + { + "pg": "Left_set_value", + "meos": "left_set_bigint" + }, + { + "pg": "Left_set_value", + "meos": "left_set_float" + }, + { + "pg": "Left_set_value", + "meos": "left_set_text" + }, + { + "pg": "Left_set_value", + "meos": "before_set_date" + }, + { + "pg": "Left_set_value", + "meos": "before_set_timestamptz" + }, + { + "pg": "Left_set_set", + "meos": "left_set_set" + } + ] + }, + { + "name": "set_lt", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Set_lt", + "meos": "set_lt" + } + ] + }, + { + "name": "set_minus", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Minus_value_set", + "meos": "minus_cbuffer_set" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_cbuffer" + }, + { + "pg": "Minus_value_set", + "meos": "minus_pcpoint_set" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_pcpoint" + }, + { + "pg": "Minus_value_set", + "meos": "minus_pcpatch_set" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_pcpatch" + }, + { + "pg": "Minus_value_set", + "meos": "minus_pose_set" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_pose" + }, + { + "pg": "Minus_value_set", + "meos": "minus_geo_set" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_geo" + }, + { + "pg": "Minus_value_set", + "meos": "minus_int_set" + }, + { + "pg": "Minus_value_set", + "meos": "minus_bigint_set" + }, + { + "pg": "Minus_value_set", + "meos": "minus_float_set" + }, + { + "pg": "Minus_value_set", + "meos": "minus_text_set" + }, + { + "pg": "Minus_value_set", + "meos": "minus_date_set" + }, + { + "pg": "Minus_value_set", + "meos": "minus_timestamptz_set" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_int" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_bigint" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_float" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_text" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_date" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_timestamptz" + }, + { + "pg": "Minus_set_set", + "meos": "minus_set_set" + }, + { + "pg": "Minus_value_set", + "meos": "minus_npoint_set" + }, + { + "pg": "Minus_set_value", + "meos": "minus_set_npoint" + } + ] + }, + { + "name": "set_ne", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Set_ne", + "meos": "set_ne" + } + ] + }, + { + "name": "set_overlaps", + "overloads": [ + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overlaps_set_set", + "meos": "overlaps_set_set" + } + ] + }, + { + "name": "set_overleft", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overleft_value_set", + "meos": "overleft_int_set" + }, + { + "pg": "Overleft_value_set", + "meos": "overleft_bigint_set" + }, + { + "pg": "Overleft_value_set", + "meos": "overleft_float_set" + }, + { + "pg": "Overleft_value_set", + "meos": "overleft_text_set" + }, + { + "pg": "Overleft_value_set", + "meos": "overbefore_date_set" + }, + { + "pg": "Overleft_value_set", + "meos": "overbefore_timestamptz_set" + }, + { + "pg": "Overleft_set_value", + "meos": "overleft_set_int" + }, + { + "pg": "Overleft_set_value", + "meos": "overleft_set_bigint" + }, + { + "pg": "Overleft_set_value", + "meos": "overleft_set_float" + }, + { + "pg": "Overleft_set_value", + "meos": "overleft_set_text" + }, + { + "pg": "Overleft_set_value", + "meos": "overbefore_set_date" + }, + { + "pg": "Overleft_set_value", + "meos": "overbefore_set_timestamptz" + }, + { + "pg": "Overleft_set_set", + "meos": "overleft_set_set" + } + ] + }, + { + "name": "set_overright", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overright_value_set", + "meos": "overright_int_set" + }, + { + "pg": "Overright_value_set", + "meos": "overright_bigint_set" + }, + { + "pg": "Overright_value_set", + "meos": "overright_float_set" + }, + { + "pg": "Overright_value_set", + "meos": "overright_text_set" + }, + { + "pg": "Overright_value_set", + "meos": "overafter_date_set" + }, + { + "pg": "Overright_value_set", + "meos": "overafter_timestamptz_set" + }, + { + "pg": "Overright_set_value", + "meos": "overright_set_int" + }, + { + "pg": "Overright_set_value", + "meos": "overright_set_bigint" + }, + { + "pg": "Overright_set_value", + "meos": "overright_set_float" + }, + { + "pg": "Overright_set_value", + "meos": "overright_set_text" + }, + { + "pg": "Overright_set_value", + "meos": "overafter_set_date" + }, + { + "pg": "Overright_set_value", + "meos": "overafter_set_timestamptz" + }, + { + "pg": "Overright_set_set", + "meos": "overright_set_set" + } + ] + }, + { + "name": "set_right", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Right_value_set", + "meos": "right_int_set" + }, + { + "pg": "Right_value_set", + "meos": "right_bigint_set" + }, + { + "pg": "Right_value_set", + "meos": "right_float_set" + }, + { + "pg": "Right_value_set", + "meos": "right_text_set" + }, + { + "pg": "Right_value_set", + "meos": "after_date_set" + }, + { + "pg": "Right_value_set", + "meos": "after_timestamptz_set" + }, + { + "pg": "Right_set_value", + "meos": "right_set_int" + }, + { + "pg": "Right_set_value", + "meos": "right_set_bigint" + }, + { + "pg": "Right_set_value", + "meos": "right_set_float" + }, + { + "pg": "Right_set_value", + "meos": "right_set_text" + }, + { + "pg": "Right_set_value", + "meos": "after_set_date" + }, + { + "pg": "Right_set_value", + "meos": "after_set_timestamptz" + }, + { + "pg": "Right_set_set", + "meos": "right_set_set" + } + ] + }, + { + "name": "set_spgist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "set_union", + "overloads": [ + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpointset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatchset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "h3indexset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "npointset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Union_set_value", + "meos": "union_set_cbuffer" + }, + { + "pg": "Union_set_value", + "meos": "union_cbuffer_set" + }, + { + "pg": "Union_set_value", + "meos": "intersection_cbuffer_set" + }, + { + "pg": "Union_set_value", + "meos": "union_set_pcpoint" + }, + { + "pg": "Union_set_value", + "meos": "union_pcpoint_set" + }, + { + "pg": "Union_set_value", + "meos": "union_set_pcpatch" + }, + { + "pg": "Union_set_value", + "meos": "union_pcpatch_set" + }, + { + "pg": "Union_set_value", + "meos": "union_set_pose" + }, + { + "pg": "Union_set_value", + "meos": "union_pose_set" + }, + { + "pg": "Union_set_value", + "meos": "intersection_pose_set" + }, + { + "pg": "Union_set_value", + "meos": "union_set_geo" + }, + { + "pg": "Union_set_value", + "meos": "union_geo_set" + }, + { + "pg": "Union_set_value", + "meos": "intersection_geo_set" + }, + { + "pg": "Union_set_value", + "meos": "union_set_int" + }, + { + "pg": "Union_set_value", + "meos": "union_set_bigint" + }, + { + "pg": "Union_set_value", + "meos": "union_set_float" + }, + { + "pg": "Union_set_value", + "meos": "union_set_text" + }, + { + "pg": "Union_set_value", + "meos": "union_set_date" + }, + { + "pg": "Union_set_value", + "meos": "union_set_timestamptz" + }, + { + "pg": "Union_set_value", + "meos": "union_int_set" + }, + { + "pg": "Union_set_value", + "meos": "union_bigint_set" + }, + { + "pg": "Union_set_value", + "meos": "union_float_set" + }, + { + "pg": "Union_set_value", + "meos": "union_text_set" + }, + { + "pg": "Union_set_value", + "meos": "union_date_set" + }, + { + "pg": "Union_set_value", + "meos": "union_timestamptz_set" + }, + { + "pg": "Union_set_value", + "meos": "intersection_int_set" + }, + { + "pg": "Union_set_value", + "meos": "intersection_bigint_set" + }, + { + "pg": "Union_set_value", + "meos": "intersection_float_set" + }, + { + "pg": "Union_set_value", + "meos": "intersection_text_set" + }, + { + "pg": "Union_set_value", + "meos": "intersection_date_set" + }, + { + "pg": "Union_set_value", + "meos": "intersection_timestamptz_set" + }, + { + "pg": "Union_set_set", + "meos": "union_set_set" + }, + { + "pg": "Union_set_value", + "meos": "union_set_npoint" + }, + { + "pg": "Union_set_value", + "meos": "union_npoint_set" + }, + { + "pg": "Union_set_value", + "meos": "intersection_npoint_set" + } + ] + }, + { + "name": "set_union_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "shift", + "overloads": [ + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Numset_shift", + "meos": "intset_shift_scale" + }, + { + "pg": "Numset_shift", + "meos": "bigintset_shift_scale" + }, + { + "pg": "Numset_shift", + "meos": "floatset_shift_scale" + }, + { + "pg": "Numset_shift", + "meos": "dateset_shift_scale" + }, + { + "pg": "Tstzset_shift", + "meos": "tstzset_shift_scale" + }, + { + "pg": "Numspan_shift", + "meos": "intspan_shift_scale" + }, + { + "pg": "Numspan_shift", + "meos": "bigintspan_shift_scale" + }, + { + "pg": "Numspan_shift", + "meos": "floatspan_shift_scale" + }, + { + "pg": "Numspan_shift", + "meos": "datespan_shift_scale" + }, + { + "pg": "Numspanset_shift", + "meos": "intspanset_shift_scale" + }, + { + "pg": "Numspanset_shift", + "meos": "bigintspanset_shift_scale" + }, + { + "pg": "Numspanset_shift", + "meos": "floatspanset_shift_scale" + }, + { + "pg": "Numspanset_shift", + "meos": "datespanset_shift_scale" + }, + { + "pg": "Numspanset_shift", + "meos": "numspanset_shift_scale" + }, + { + "pg": "Numspanset_shift", + "meos": "tstzspanset_shift_scale" + }, + { + "pg": "Numspan_expand", + "meos": "numspan_expand" + }, + { + "pg": "Numspan_expand", + "meos": "intspan_expand" + }, + { + "pg": "Numspan_expand", + "meos": "bigintspan_expand" + }, + { + "pg": "Numspan_expand", + "meos": "floatspan_expand" + }, + { + "pg": "Timestamptz_shift", + "meos": "timestamptz_shift" + }, + { + "pg": "Tstzspan_shift", + "meos": "tstzspan_shift_scale" + } + ] + }, + { + "name": "shiftScale", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "dateset", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "shiftScaleTime", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "shiftScaleValue", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Tnumber_shift_scale_value", + "meos": "tint_shift_scale_value" + }, + { + "pg": "Tnumber_shift_scale_value", + "meos": "tbigint_shift_scale_value" + }, + { + "pg": "Tnumber_shift_scale_value", + "meos": "tfloat_shift_scale_value" + } + ] + }, + { + "name": "shiftTime", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_shift_time", + "meos": "stbox_shift_scale_time" + }, + { + "pg": "Tbox_shift_time", + "meos": "tbox_shift_scale_time" + }, + { + "pg": "Temporal_shift_time", + "meos": "tinstant_shift_time" + }, + { + "pg": "Temporal_shift_time", + "meos": "tsequence_shift_scale_time" + }, + { + "pg": "Temporal_shift_time", + "meos": "tsequenceset_shift_scale_time" + }, + { + "pg": "Temporal_shift_time", + "meos": "temporal_shift_scale_time" + }, + { + "pg": "Temporal_shift_time", + "meos": "temporal_shift_time" + } + ] + }, + { + "name": "shiftValue", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_shift_value", + "meos": "tintbox_shift_scale" + }, + { + "pg": "Tbox_shift_value", + "meos": "tbigintbox_shift_scale" + }, + { + "pg": "Tbox_shift_value", + "meos": "tfloatbox_shift_scale" + }, + { + "pg": "Tnumber_shift_value", + "meos": "tnumberseqset_shift_scale_value" + }, + { + "pg": "Tnumber_shift_value", + "meos": "tint_shift_value" + }, + { + "pg": "Tnumber_shift_value", + "meos": "tbigint_shift_value" + }, + { + "pg": "Tnumber_shift_value", + "meos": "tfloat_shift_value" + }, + { + "pg": "Tnumber_shift_value", + "meos": "tnumber_shift_scale_value" + } + ] + }, + { + "name": "shortestLine", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Shortestline_tcbuffer_geo", + "meos": "shortestline_tcbuffer_geo" + }, + { + "pg": "Shortestline_tcbuffer_cbuffer", + "meos": "shortestline_tcbuffer_cbuffer" + }, + { + "pg": "Shortestline_tcbuffer_tcbuffer", + "meos": "shortestline_tcbuffer_tcbuffer" + }, + { + "pg": "Shortestline_tpose_geo", + "meos": "shortestline_tpose_geo" + }, + { + "pg": "Shortestline_tpose_pose", + "meos": "shortestline_tpose_pose" + }, + { + "pg": "Shortestline_tpose_tpose", + "meos": "shortestline_tpose_tpose" + }, + { + "pg": "Shortestline_tgeo_geo", + "meos": "shortestline_tgeo_geo" + }, + { + "pg": "Shortestline_tgeo_tgeo", + "meos": "shortestline_tgeo_tgeo" + }, + { + "pg": "Shortestline_tnpoint_geo", + "meos": "shortestline_tnpoint_geo" + }, + { + "pg": "Shortestline_tnpoint_npoint", + "meos": "shortestline_tnpoint_npoint" + }, + { + "pg": "Shortestline_tnpoint_tnpoint", + "meos": "shortestline_tnpoint_tnpoint" + } + ] + }, + { + "name": "spaceBoxes", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 6 + } + ], + "c": [ + { + "pg": "Trgeometry_space_boxes", + "meos": "trgeometry_space_boxes" + } + ] + }, + { + "name": "spaceSplit", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 6 + } + ], + "c": [] + }, + { + "name": "spaceTiles", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 6 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 5 + } + ], + "c": [ + { + "pg": "Stbox_space_tiles", + "meos": "stbox_space_tiles" + } + ] + }, + { + "name": "spaceTimeBoxes", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 4, + "maxArity": 8 + } + ], + "c": [ + { + "pg": "Trgeometry_space_time_boxes", + "meos": "trgeometry_space_time_boxes" + } + ] + }, + { + "name": "spaceTimeSplit", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 5, + "maxArity": 9 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 8 + } + ], + "c": [] + }, + { + "name": "spaceTimeTiles", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 5, + "maxArity": 8 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 7 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 5, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": true, + "default": "'Point(0 0 0)'" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 4, + "maxArity": 7 + } + ], + "c": [ + { + "pg": "Stbox_space_time_tiles", + "meos": "stbox_space_time_tiles" + } + ] + }, + { + "name": "span", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "false" + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "false" + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "false" + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "false" + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "false" + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "int4range", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "int8range", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "daterange", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzrange", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Value_to_span", + "meos": "int_to_span" + }, + { + "pg": "Value_to_span", + "meos": "bigint_to_span" + }, + { + "pg": "Value_to_span", + "meos": "float_to_span" + }, + { + "pg": "Value_to_span", + "meos": "date_to_span" + }, + { + "pg": "Value_to_span", + "meos": "timestamptz_to_span" + }, + { + "pg": "Spanset_to_span", + "meos": "span_to_spanset" + }, + { + "pg": "Spanset_to_span", + "meos": "spanset_span" + }, + { + "pg": "Set_to_span", + "meos": "set_span" + }, + { + "pg": "Set_to_span", + "meos": "set_to_span" + } + ] + }, + { + "name": "spanN", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Spanset_span_n", + "meos": "spanset_span_n" + } + ] + }, + { + "name": "span_adjacent", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Adjacent_span_value", + "meos": "adjacent_span_int" + }, + { + "pg": "Adjacent_span_value", + "meos": "adjacent_span_bigint" + }, + { + "pg": "Adjacent_span_value", + "meos": "adjacent_span_float" + }, + { + "pg": "Adjacent_span_value", + "meos": "adjacent_span_date" + }, + { + "pg": "Adjacent_span_value", + "meos": "adjacent_span_timestamptz" + }, + { + "pg": "Adjacent_spanset_span", + "meos": "adjacent_spanset_span" + }, + { + "pg": "Adjacent_span_spanset", + "meos": "adjacent_span_spanset" + }, + { + "pg": "Adjacent_spanset_spanset", + "meos": "adjacent_spanset_spanset" + }, + { + "pg": "Adjacent_span_span", + "meos": "adjacent_span_span" + }, + { + "pg": "Adjacent_spanset_value", + "meos": "adjacent_spanset_int" + }, + { + "pg": "Adjacent_spanset_value", + "meos": "adjacent_spanset_bigint" + }, + { + "pg": "Adjacent_spanset_value", + "meos": "adjacent_spanset_float" + }, + { + "pg": "Adjacent_spanset_value", + "meos": "adjacent_spanset_date" + }, + { + "pg": "Adjacent_spanset_value", + "meos": "adjacent_spanset_timestamptz" + } + ] + }, + { + "name": "span_analyze", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "span_cmp", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Span_cmp", + "meos": "span_cmp" + } + ] + }, + { + "name": "span_contained", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Contained_value_span", + "meos": "contained_int_span" + }, + { + "pg": "Contained_value_span", + "meos": "contained_bigint_span" + }, + { + "pg": "Contained_value_span", + "meos": "contained_float_span" + }, + { + "pg": "Contained_value_span", + "meos": "contained_date_span" + }, + { + "pg": "Contained_value_span", + "meos": "contained_timestamptz_span" + }, + { + "pg": "Contained_span_spanset", + "meos": "contained_span_spanset" + }, + { + "pg": "Contained_spanset_span", + "meos": "contained_spanset_span" + }, + { + "pg": "Contained_spanset_spanset", + "meos": "contained_spanset_spanset" + }, + { + "pg": "Contained_value_span", + "meos": "contained_span_span" + }, + { + "pg": "Contained_value_spanset", + "meos": "contained_int_spanset" + }, + { + "pg": "Contained_value_spanset", + "meos": "contained_bigint_spanset" + }, + { + "pg": "Contained_value_spanset", + "meos": "contained_float_spanset" + }, + { + "pg": "Contained_value_spanset", + "meos": "contained_date_spanset" + }, + { + "pg": "Contained_value_spanset", + "meos": "contained_timestamptz_spanset" + } + ] + }, + { + "name": "span_contains", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Contains_span_value", + "meos": "contains_span_int" + }, + { + "pg": "Contains_span_value", + "meos": "contains_span_bigint" + }, + { + "pg": "Contains_span_value", + "meos": "contains_span_float" + }, + { + "pg": "Contains_span_value", + "meos": "contains_span_date" + }, + { + "pg": "Contains_spanset_value", + "meos": "contains_spanset_timestamptz" + }, + { + "pg": "Contains_spanset_span", + "meos": "contains_spanset_span" + }, + { + "pg": "Contains_span_spanset", + "meos": "contains_span_spanset" + }, + { + "pg": "Contains_spanset_spanset", + "meos": "contains_spanset_spanset" + }, + { + "pg": "Contains_span_value", + "meos": "contains_span_timestamptz" + }, + { + "pg": "Contains_span_span", + "meos": "contains_span_span" + }, + { + "pg": "Contains_spanset_value", + "meos": "contains_spanset_int" + }, + { + "pg": "Contains_spanset_value", + "meos": "contains_spanset_bigint" + }, + { + "pg": "Contains_spanset_value", + "meos": "contains_spanset_float" + }, + { + "pg": "Contains_spanset_value", + "meos": "contains_spanset_date" + } + ] + }, + { + "name": "span_distance", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Distance_span_value", + "meos": "distance_span_int" + }, + { + "pg": "Distance_span_value", + "meos": "distance_span_bigint" + }, + { + "pg": "Distance_span_value", + "meos": "distance_span_float" + }, + { + "pg": "Distance_span_value", + "meos": "distance_span_date" + }, + { + "pg": "Distance_span_value", + "meos": "distance_span_timestamptz" + }, + { + "pg": "Distance_span_span", + "meos": "distance_intspan_intspan" + }, + { + "pg": "Distance_span_span", + "meos": "distance_bigintspan_bigintspan" + }, + { + "pg": "Distance_span_span", + "meos": "distance_floatspan_floatspan" + }, + { + "pg": "Distance_span_span", + "meos": "distance_datespan_datespan" + }, + { + "pg": "Distance_span_span", + "meos": "distance_tstzspan_tstzspan" + }, + { + "pg": "Distance_spanset_span", + "meos": "distance_spanset_span" + }, + { + "pg": "Distance_spanset_span", + "meos": "distance_spanset_spanset" + }, + { + "pg": "Distance_span_span", + "meos": "distance_span_span" + }, + { + "pg": "Distance_spanset_value", + "meos": "distance_spanset_int" + }, + { + "pg": "Distance_spanset_value", + "meos": "distance_spanset_bigint" + }, + { + "pg": "Distance_spanset_value", + "meos": "distance_spanset_float" + }, + { + "pg": "Distance_spanset_value", + "meos": "distance_spanset_date" + }, + { + "pg": "Distance_spanset_value", + "meos": "distance_spanset_timestamptz" + }, + { + "pg": "Distance_spanset_span", + "meos": "distance_intspanset_intspan" + }, + { + "pg": "Distance_spanset_span", + "meos": "distance_bigintspanset_bigintspan" + }, + { + "pg": "Distance_spanset_span", + "meos": "distance_floatspanset_floatspan" + }, + { + "pg": "Distance_spanset_span", + "meos": "distance_datespanset_datespan" + }, + { + "pg": "Distance_spanset_span", + "meos": "distance_tstzspanset_tstzspan" + }, + { + "pg": "Distance_spanset_spanset", + "meos": "distance_intspanset_intspanset" + }, + { + "pg": "Distance_spanset_spanset", + "meos": "distance_bigintspanset_bigintspanset" + }, + { + "pg": "Distance_spanset_spanset", + "meos": "distance_floatspanset_floatspanset" + }, + { + "pg": "Distance_spanset_spanset", + "meos": "distance_datespanset_datespanset" + }, + { + "pg": "Distance_spanset_spanset", + "meos": "distance_tstzspanset_tstzspanset" + } + ] + }, + { + "name": "span_eq", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Span_eq", + "meos": "span_eq" + } + ] + }, + { + "name": "span_extent_combinefn", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_extent_transfn", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_ge", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Span_ge", + "meos": "span_gt" + } + ] + }, + { + "name": "span_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "span_gist_distance", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "span_gist_fetch", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "span_gist_penalty", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "span_gist_picksplit", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_gist_same", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "span_gist_union", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_gt", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Span_gt", + "meos": "span_ge" + } + ] + }, + { + "name": "span_hash", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Span_hash", + "meos": "span_hash" + } + ] + }, + { + "name": "span_hash_extended", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_intersection", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Intersection_span_value", + "meos": "intersection_span_int" + }, + { + "pg": "Intersection_span_value", + "meos": "intersection_span_bigint" + }, + { + "pg": "Intersection_span_value", + "meos": "intersection_span_float" + }, + { + "pg": "Intersection_span_value", + "meos": "intersection_span_date" + }, + { + "pg": "Intersection_span_value", + "meos": "intersection_span_timestamptz" + }, + { + "pg": "Minus_value_span", + "meos": "minus_int_span" + }, + { + "pg": "Minus_value_span", + "meos": "minus_bigint_span" + }, + { + "pg": "Minus_value_span", + "meos": "minus_float_span" + }, + { + "pg": "Minus_value_span", + "meos": "minus_date_span" + }, + { + "pg": "Minus_value_span", + "meos": "minus_timestamptz_span" + }, + { + "pg": "Minus_span_value", + "meos": "minus_span_int" + }, + { + "pg": "Minus_span_value", + "meos": "minus_span_bigint" + }, + { + "pg": "Minus_span_value", + "meos": "minus_span_float" + }, + { + "pg": "Minus_span_value", + "meos": "minus_span_date" + }, + { + "pg": "Minus_span_value", + "meos": "minus_span_timestamptz" + }, + { + "pg": "Intersection_spanset_span", + "meos": "intersection_spanset_span" + }, + { + "pg": "Intersection_span_spanset", + "meos": "intersection_span_spanset" + }, + { + "pg": "Intersection_spanset_spanset", + "meos": "intersection_spanset_spanset" + }, + { + "pg": "Intersection_span_span", + "meos": "intersection_span_span" + }, + { + "pg": "Intersection_spanset_value", + "meos": "intersection_spanset_int" + }, + { + "pg": "Intersection_spanset_value", + "meos": "intersection_spanset_bigint" + }, + { + "pg": "Intersection_spanset_value", + "meos": "intersection_spanset_float" + }, + { + "pg": "Intersection_spanset_value", + "meos": "intersection_spanset_date" + }, + { + "pg": "Intersection_spanset_value", + "meos": "intersection_spanset_timestamptz" + } + ] + }, + { + "name": "span_joinsel", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "span_kdtree_choose", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_kdtree_inner_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_kdtree_picksplit", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_le", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Span_le", + "meos": "span_le" + } + ] + }, + { + "name": "span_left", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Left_value_span", + "meos": "left_int_span" + }, + { + "pg": "Left_value_span", + "meos": "left_bigint_span" + }, + { + "pg": "Left_value_span", + "meos": "left_float_span" + }, + { + "pg": "Left_value_span", + "meos": "before_date_span" + }, + { + "pg": "Left_value_span", + "meos": "before_timestamptz_span" + }, + { + "pg": "Left_span_value", + "meos": "left_span_int" + }, + { + "pg": "Left_span_value", + "meos": "left_span_bigint" + }, + { + "pg": "Left_span_value", + "meos": "left_span_float" + }, + { + "pg": "Left_span_value", + "meos": "before_span_date" + }, + { + "pg": "Left_span_value", + "meos": "before_span_timestamptz" + }, + { + "pg": "Left_span_spanset", + "meos": "left_span_spanset" + }, + { + "pg": "Left_spanset_span", + "meos": "left_spanset_span" + }, + { + "pg": "Left_spanset_spanset", + "meos": "left_spanset_spanset" + }, + { + "pg": "Left_span_span", + "meos": "left_span_span" + }, + { + "pg": "Left_value_spanset", + "meos": "left_int_spanset" + }, + { + "pg": "Left_value_spanset", + "meos": "left_bigint_spanset" + }, + { + "pg": "Left_value_spanset", + "meos": "left_float_spanset" + }, + { + "pg": "Left_value_spanset", + "meos": "before_date_spanset" + }, + { + "pg": "Left_value_spanset", + "meos": "before_timestamptz_spanset" + }, + { + "pg": "Left_spanset_value", + "meos": "left_spanset_int" + }, + { + "pg": "Left_spanset_value", + "meos": "left_spanset_bigint" + }, + { + "pg": "Left_spanset_value", + "meos": "left_spanset_float" + }, + { + "pg": "Left_spanset_value", + "meos": "before_spanset_date" + }, + { + "pg": "Left_spanset_value", + "meos": "before_spanset_timestamptz" + } + ] + }, + { + "name": "span_lt", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Span_lt", + "meos": "span_lt" + } + ] + }, + { + "name": "span_minus", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Minus_span_spanset", + "meos": "minus_span_spanset" + }, + { + "pg": "Minus_spanset_span", + "meos": "minus_spanset_span" + }, + { + "pg": "Minus_spanset_spanset", + "meos": "minus_spanset_spanset" + }, + { + "pg": "Minus_value_spanset", + "meos": "minus_int_spanset" + }, + { + "pg": "Minus_value_spanset", + "meos": "minus_bigint_spanset" + }, + { + "pg": "Minus_value_spanset", + "meos": "minus_float_spanset" + }, + { + "pg": "Minus_value_spanset", + "meos": "minus_date_spanset" + }, + { + "pg": "Minus_value_spanset", + "meos": "minus_timestamptz_spanset" + }, + { + "pg": "Minus_spanset_value", + "meos": "minus_spanset_int" + }, + { + "pg": "Minus_spanset_value", + "meos": "minus_spanset_bigint" + }, + { + "pg": "Minus_spanset_value", + "meos": "minus_spanset_float" + }, + { + "pg": "Minus_spanset_value", + "meos": "minus_spanset_date" + }, + { + "pg": "Minus_spanset_value", + "meos": "minus_spanset_timestamptz" + } + ] + }, + { + "name": "span_ne", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Span_ne", + "meos": "span_ne" + } + ] + }, + { + "name": "span_overlaps", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overlaps_spanset_span", + "meos": "overlaps_spanset_span" + }, + { + "pg": "Overlaps_span_spanset", + "meos": "overlaps_span_spanset" + }, + { + "pg": "Overlaps_spanset_spanset", + "meos": "overlaps_spanset_spanset" + }, + { + "pg": "Overlaps_span_span", + "meos": "overlaps_span_span" + } + ] + }, + { + "name": "span_overleft", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overleft_value_span", + "meos": "overleft_int_span" + }, + { + "pg": "Overleft_value_span", + "meos": "overleft_bigint_span" + }, + { + "pg": "Overleft_value_span", + "meos": "overleft_float_span" + }, + { + "pg": "Overleft_value_span", + "meos": "overbefore_date_span" + }, + { + "pg": "Overleft_value_span", + "meos": "overbefore_timestamptz_span" + }, + { + "pg": "Overleft_span_value", + "meos": "overleft_span_int" + }, + { + "pg": "Overleft_span_value", + "meos": "overleft_span_bigint" + }, + { + "pg": "Overleft_span_value", + "meos": "overleft_span_float" + }, + { + "pg": "Overleft_span_value", + "meos": "overbefore_span_date" + }, + { + "pg": "Overleft_span_value", + "meos": "overbefore_span_timestamptz" + }, + { + "pg": "Overleft_span_spanset", + "meos": "overleft_span_spanset" + }, + { + "pg": "Overleft_spanset_span", + "meos": "overleft_spanset_span" + }, + { + "pg": "Overleft_spanset_spanset", + "meos": "overleft_spanset_spanset" + }, + { + "pg": "Overleft_span_span", + "meos": "overleft_span_span" + }, + { + "pg": "Overleft_spanset_value", + "meos": "overleft_spanset_int" + }, + { + "pg": "Overleft_spanset_value", + "meos": "overleft_spanset_bigint" + }, + { + "pg": "Overleft_spanset_value", + "meos": "overleft_spanset_float" + }, + { + "pg": "Overleft_spanset_value", + "meos": "overbefore_spanset_date" + }, + { + "pg": "Overleft_spanset_value", + "meos": "overbefore_spanset_timestamptz" + }, + { + "pg": "Overleft_value_spanset", + "meos": "overleft_int_spanset" + }, + { + "pg": "Overleft_value_spanset", + "meos": "overleft_bigint_spanset" + }, + { + "pg": "Overleft_value_spanset", + "meos": "overleft_float_spanset" + }, + { + "pg": "Overleft_value_spanset", + "meos": "overbefore_date_spanset" + }, + { + "pg": "Overleft_value_spanset", + "meos": "overbefore_timestamptz_spanset" + } + ] + }, + { + "name": "span_overright", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overright_value_span", + "meos": "overright_int_span" + }, + { + "pg": "Overright_value_span", + "meos": "overright_bigint_span" + }, + { + "pg": "Overright_value_span", + "meos": "overright_float_span" + }, + { + "pg": "Overright_value_span", + "meos": "overafter_date_span" + }, + { + "pg": "Overright_value_span", + "meos": "overafter_timestamptz_span" + }, + { + "pg": "Overright_span_value", + "meos": "overright_span_int" + }, + { + "pg": "Overright_span_value", + "meos": "overright_span_bigint" + }, + { + "pg": "Overright_span_value", + "meos": "overright_span_float" + }, + { + "pg": "Overright_span_value", + "meos": "overafter_span_date" + }, + { + "pg": "Overright_span_value", + "meos": "overafter_span_timestamptz" + }, + { + "pg": "Overright_span_spanset", + "meos": "overright_span_spanset" + }, + { + "pg": "Overright_spanset_span", + "meos": "overright_spanset_span" + }, + { + "pg": "Overright_spanset_spanset", + "meos": "overright_spanset_spanset" + }, + { + "pg": "Overright_span_span", + "meos": "overright_span_span" + }, + { + "pg": "Overright_value_spanset", + "meos": "overright_int_spanset" + }, + { + "pg": "Overright_value_spanset", + "meos": "overright_bigint_spanset" + }, + { + "pg": "Overright_value_spanset", + "meos": "overright_float_spanset" + }, + { + "pg": "Overright_value_spanset", + "meos": "overafter_date_spanset" + }, + { + "pg": "Overright_value_spanset", + "meos": "overafter_timestamptz_spanset" + }, + { + "pg": "Overright_spanset_value", + "meos": "overright_spanset_int" + }, + { + "pg": "Overright_spanset_value", + "meos": "overright_spanset_bigint" + }, + { + "pg": "Overright_spanset_value", + "meos": "overright_spanset_float" + }, + { + "pg": "Overright_spanset_value", + "meos": "overafter_spanset_date" + }, + { + "pg": "Overright_spanset_value", + "meos": "overafter_spanset_timestamptz" + } + ] + }, + { + "name": "span_quadtree_choose", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_quadtree_inner_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_quadtree_picksplit", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_right", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Right_value_span", + "meos": "right_int_span" + }, + { + "pg": "Right_value_span", + "meos": "right_bigint_span" + }, + { + "pg": "Right_value_span", + "meos": "right_float_span" + }, + { + "pg": "Right_value_span", + "meos": "after_date_span" + }, + { + "pg": "Right_value_span", + "meos": "after_timestamptz_span" + }, + { + "pg": "Right_span_value", + "meos": "right_span_int" + }, + { + "pg": "Right_span_value", + "meos": "right_span_bigint" + }, + { + "pg": "Right_span_value", + "meos": "right_span_float" + }, + { + "pg": "Right_span_value", + "meos": "after_span_date" + }, + { + "pg": "Right_span_value", + "meos": "after_span_timestamptz" + }, + { + "pg": "Right_span_spanset", + "meos": "right_span_spanset" + }, + { + "pg": "Right_spanset_span", + "meos": "right_spanset_span" + }, + { + "pg": "Right_spanset_spanset", + "meos": "right_spanset_spanset" + }, + { + "pg": "Right_span_span", + "meos": "right_span_span" + }, + { + "pg": "Right_value_spanset", + "meos": "right_int_spanset" + }, + { + "pg": "Right_value_spanset", + "meos": "right_bigint_spanset" + }, + { + "pg": "Right_value_spanset", + "meos": "right_float_spanset" + }, + { + "pg": "Right_value_spanset", + "meos": "after_date_spanset" + }, + { + "pg": "Right_value_spanset", + "meos": "after_timestamptz_spanset" + }, + { + "pg": "Right_spanset_value", + "meos": "right_spanset_int" + }, + { + "pg": "Right_spanset_value", + "meos": "right_spanset_bigint" + }, + { + "pg": "Right_spanset_value", + "meos": "right_spanset_float" + }, + { + "pg": "Right_spanset_value", + "meos": "after_spanset_date" + }, + { + "pg": "Right_spanset_value", + "meos": "after_spanset_timestamptz" + } + ] + }, + { + "name": "span_sel", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 4, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "span_spgist_leaf_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "span_union", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Union_spanset_span", + "meos": "union_spanset_span" + }, + { + "pg": "Union_span_spanset", + "meos": "union_span_spanset" + }, + { + "pg": "Union_spanset_spanset", + "meos": "union_spanset_spanset" + }, + { + "pg": "Union_spanset_value", + "meos": "union_int_spanset" + }, + { + "pg": "Union_spanset_value", + "meos": "union_bigint_spanset" + }, + { + "pg": "Union_spanset_value", + "meos": "union_float_spanset" + }, + { + "pg": "Union_spanset_value", + "meos": "union_date_spanset" + }, + { + "pg": "Union_spanset_value", + "meos": "union_timestamptz_spanset" + }, + { + "pg": "Union_spanset_value", + "meos": "union_spanset_int" + }, + { + "pg": "Union_spanset_value", + "meos": "union_spanset_bigint" + }, + { + "pg": "Union_spanset_value", + "meos": "union_spanset_float" + }, + { + "pg": "Union_spanset_value", + "meos": "union_spanset_date" + }, + { + "pg": "Union_spanset_value", + "meos": "union_spanset_timestamptz" + } + ] + }, + { + "name": "spans", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_spans", + "meos": "temporal_spans" + }, + { + "pg": "Spanset_spans", + "meos": "spanset_spans" + }, + { + "pg": "Set_spans", + "meos": "set_spans" + } + ] + }, + { + "name": "spanset", + "overloads": [ + { + "args": [ + { + "type": "intspan[]", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan[]", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan[]", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespan[]", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "date", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "int4multirange", + "hasDefault": false, + "default": null + } + ], + "returns": "intspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "int8multirange", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datemultirange", + "hasDefault": false, + "default": null + } + ], + "returns": "datespanset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzmultirange", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Spanset_constructor", + "meos": "spanset_make" + } + ] + }, + { + "name": "spanset_cmp", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Spanset_cmp", + "meos": "spanset_cmp" + } + ] + }, + { + "name": "spanset_eq", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Spanset_eq", + "meos": "spanset_eq" + } + ] + }, + { + "name": "spanset_extent_transfn", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "spanset_ge", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Spanset_ge", + "meos": "spanset_ge" + } + ] + }, + { + "name": "spanset_gist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "spanset_gt", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Spanset_gt", + "meos": "spanset_gt" + } + ] + }, + { + "name": "spanset_hash", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Spanset_hash", + "meos": "spanset_hash" + } + ] + }, + { + "name": "spanset_hash_extended", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Spanset_hash_extended", + "meos": "spanset_hash_extended" + } + ] + }, + { + "name": "spanset_le", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Spanset_le", + "meos": "spanset_le" + } + ] + }, + { + "name": "spanset_lt", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Spanset_lt", + "meos": "spanset_lt" + } + ] + }, + { + "name": "spanset_ne", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Spanset_ne", + "meos": "spanset_ne" + } + ] + }, + { + "name": "spanset_spgist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "spanset_union_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "spatialset_analyze", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "spatialset_sel", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "set_eq(geomset", + "hasDefault": false, + "default": null + }, + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "speed", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_speed", + "meos": "trgeometry_speed" + }, + { + "pg": "Tpose_speed", + "meos": "tpose_speed" + }, + { + "pg": "Tpoint_speed", + "meos": "tpoint_speed" + }, + { + "pg": "Tnpoint_speed", + "meos": "tnpointseq_speed" + }, + { + "pg": "Tnpoint_speed", + "meos": "tnpoint_speed" + } + ] + }, + { + "name": "splitEachNSpans", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_split_each_n_spans", + "meos": "temporal_split_each_n_spans" + }, + { + "pg": "Set_split_each_n_spans", + "meos": "set_split_each_n_spans" + } + ] + }, + { + "name": "splitEachNStboxes", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tgeo_split_each_n_stboxes", + "meos": "tgeo_split_each_n_stboxes" + } + ] + }, + { + "name": "splitEachNTboxes", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tnumber_split_each_n_tboxes", + "meos": "tnumber_split_each_n_tboxes" + } + ] + }, + { + "name": "splitNSpans", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_split_n_spans", + "meos": "temporal_split_n_spans" + } + ] + }, + { + "name": "splitNStboxes", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tgeo_split_n_stboxes", + "meos": "tgeo_split_n_stboxes" + } + ] + }, + { + "name": "splitNTboxes", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tnumber_split_n_tboxes", + "meos": "tnumber_split_n_tboxes" + } + ] + }, + { + "name": "srid", + "overloads": [ + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "startDate", + "overloads": [ + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Datespanset_start_date", + "meos": "datespanset_start_date" + } + ] + }, + { + "name": "startInstant", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_start_instant", + "meos": "trgeometry_start_instant" + }, + { + "pg": "Temporal_start_instant", + "meos": "temporal_start_instant" + } + ] + }, + { + "name": "startNumPoints", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "startPosition", + "overloads": [ + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "double", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Nsegment_start_position", + "meos": "nsegment_start_position" + } + ] + }, + { + "name": "startSequence", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_start_sequence", + "meos": "trgeometry_start_sequence" + }, + { + "pg": "Temporal_start_sequence", + "meos": "temporal_start_sequence" + } + ] + }, + { + "name": "startSpan", + "overloads": [ + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "datespan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Spanset_start_span", + "meos": "spanset_start_span" + } + ] + }, + { + "name": "startTimestamp", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_start_timestamptz", + "meos": "tsequence_start_timestamptz" + }, + { + "pg": "Temporal_start_timestamptz", + "meos": "tsequenceset_start_timestamptz" + }, + { + "pg": "Tstzspanset_start_timestamptz", + "meos": "tstzspanset_start_timestamptz" + }, + { + "pg": "Temporal_start_timestamptz", + "meos": "temporal_start_timestamptz" + } + ] + }, + { + "name": "startValue", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_start_value", + "meos": "trgeometry_start_value" + }, + { + "pg": "Set_start_value", + "meos": "cbufferset_start_value" + }, + { + "pg": "Temporal_start_value", + "meos": "tcbuffer_start_value" + }, + { + "pg": "Set_start_value", + "meos": "pcpointset_start_value" + }, + { + "pg": "Set_start_value", + "meos": "pcpatchset_start_value" + }, + { + "pg": "Set_start_value", + "meos": "poseset_start_value" + }, + { + "pg": "Temporal_start_value", + "meos": "tpose_start_value" + }, + { + "pg": "Temporal_start_value", + "meos": "tgeo_start_value" + }, + { + "pg": "Set_start_value", + "meos": "geoset_start_value" + }, + { + "pg": "Set_start_value", + "meos": "intset_start_value" + }, + { + "pg": "Set_start_value", + "meos": "bigintset_start_value" + }, + { + "pg": "Set_start_value", + "meos": "floatset_start_value" + }, + { + "pg": "Set_start_value", + "meos": "textset_start_value" + }, + { + "pg": "Set_start_value", + "meos": "dateset_start_value" + }, + { + "pg": "Set_start_value", + "meos": "tstzset_start_value" + }, + { + "pg": "Temporal_start_value", + "meos": "tbool_start_value" + }, + { + "pg": "Temporal_start_value", + "meos": "tint_start_value" + }, + { + "pg": "Temporal_start_value", + "meos": "tbigint_start_value" + }, + { + "pg": "Temporal_start_value", + "meos": "tfloat_start_value" + }, + { + "pg": "Temporal_start_value", + "meos": "ttext_start_value" + }, + { + "pg": "Temporal_start_value", + "meos": "temporal_start_value" + }, + { + "pg": "Set_start_value", + "meos": "npointset_start_value" + }, + { + "pg": "Temporal_start_value", + "meos": "tnpoint_start_value" + } + ] + }, + { + "name": "stbox", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "box2d", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "box3d", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "nsegment", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Cbuffer_to_stbox", + "meos": "cbuffer_to_stbox" + }, + { + "pg": "Cbuffer_timestamptz_to_stbox", + "meos": "cbuffer_timestamptz_to_stbox" + }, + { + "pg": "Cbuffer_tstzspan_to_stbox", + "meos": "cbuffer_tstzspan_to_stbox" + }, + { + "pg": "Pose_to_stbox", + "meos": "pose_to_stbox" + }, + { + "pg": "Pose_timestamptz_to_stbox", + "meos": "pose_timestamptz_to_stbox" + }, + { + "pg": "Pose_tstzspan_to_stbox", + "meos": "pose_tstzspan_to_stbox" + }, + { + "pg": "Geo_timestamptz_to_stbox", + "meos": "geo_timestamptz_to_stbox" + }, + { + "pg": "Geo_tstzspan_to_stbox", + "meos": "geo_tstzspan_to_stbox" + }, + { + "pg": "Geo_to_stbox", + "meos": "geo_stbox" + }, + { + "pg": "Geo_to_stbox", + "meos": "geo_to_stbox" + }, + { + "pg": "Timestamptz_to_stbox", + "meos": "timestamptz_to_stbox" + }, + { + "pg": "Tstzset_to_stbox", + "meos": "tstzset_to_stbox" + }, + { + "pg": "Tstzspan_to_stbox", + "meos": "tstzspan_to_stbox" + }, + { + "pg": "Tstzspanset_to_stbox", + "meos": "tstzspanset_to_stbox" + }, + { + "pg": "Spatialset_to_stbox", + "meos": "spatialset_to_stbox" + }, + { + "pg": "Tspatial_to_stbox", + "meos": "tspatial_to_stbox" + }, + { + "pg": "Npoint_to_stbox", + "meos": "npoint_to_stbox" + }, + { + "pg": "Nsegment_to_stbox", + "meos": "nsegment_to_stbox" + }, + { + "pg": "Npoint_timestamptz_to_stbox", + "meos": "npoint_timestamptz_to_stbox" + }, + { + "pg": "Npoint_tstzspan_to_stbox", + "meos": "npoint_tstzspan_to_stbox" + } + ] + }, + { + "name": "stboxFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "stboxFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_from_hexwkb", + "meos": "stbox_from_hexwkb" + } + ] + }, + { + "name": "stboxT", + "overloads": [ + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "stboxX", + "overloads": [ + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "stbox", + "minArity": 4, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "stboxXT", + "overloads": [ + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "stbox", + "minArity": 5, + "maxArity": 6 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "stbox", + "minArity": 5, + "maxArity": 6 + } + ], + "c": [] + }, + { + "name": "stboxZ", + "overloads": [ + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "stbox", + "minArity": 6, + "maxArity": 7 + } + ], + "c": [] + }, + { + "name": "stboxZT", + "overloads": [ + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "stbox", + "minArity": 7, + "maxArity": 8 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "stbox", + "minArity": 7, + "maxArity": 8 + } + ], + "c": [] + }, + { + "name": "stbox_above", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_adjacent", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Adjacent_stbox_stbox", + "meos": "adjacent_stbox_stbox" + } + ] + }, + { + "name": "stbox_after", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_back", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_before", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_below", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_cmp", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_cmp", + "meos": "stbox_cmp" + } + ] + }, + { + "name": "stbox_contained", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Contained_stbox_stbox", + "meos": "contained_stbox_stbox" + } + ] + }, + { + "name": "stbox_contains", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Contains_stbox_stbox", + "meos": "contains_stbox_stbox" + } + ] + }, + { + "name": "stbox_eq", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_eq", + "meos": "stbox_eq" + } + ] + }, + { + "name": "stbox_extent_combinefn", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_extent_transfn", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_front", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_ge", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_ge", + "meos": "stbox_ge" + } + ] + }, + { + "name": "stbox_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "stbox_gist_distance", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "stbox_gist_penalty", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "stbox_gist_picksplit", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_gist_same", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "stbox_gist_union", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_gt", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_gt", + "meos": "stbox_gt" + } + ] + }, + { + "name": "stbox_hash", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "stbox_hash_extended", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_hash_extended", + "meos": "stbox_hash_extended" + } + ] + }, + { + "name": "stbox_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "stbox_intersection", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Intersection_stbox_stbox", + "meos": "intersection_stbox_stbox" + }, + { + "pg": "Stbox_quad_split", + "meos": "stbox_quad_split" + } + ] + }, + { + "name": "stbox_kdtree_choose", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_kdtree_inner_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_kdtree_picksplit", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_le", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_le", + "meos": "stbox_le" + } + ] + }, + { + "name": "stbox_left", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_lt", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_lt", + "meos": "stbox_lt" + } + ] + }, + { + "name": "stbox_ne", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Stbox_ne", + "meos": "stbox_ne" + } + ] + }, + { + "name": "stbox_out", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "stbox_overabove", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_overafter", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_overback", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_overbefore", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_overbelow", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_overfront", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_overlaps", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overlaps_stbox_stbox", + "meos": "overlaps_stbox_stbox" + } + ] + }, + { + "name": "stbox_overleft", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_overright", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_quadtree_choose", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_quadtree_inner_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_quadtree_picksplit", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_recv", + "meos": "stbox_from_wkb" + }, + { + "pg": "Stbox_recv", + "meos": "stbox_as_wkb" + } + ] + }, + { + "name": "stbox_right", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_same", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Same_stbox_stbox", + "meos": "same_stbox_stbox" + } + ] + }, + { + "name": "stbox_send", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "stbox_spgist_config", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_spgist_leaf_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "stbox_union", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Union_stbox_stbox", + "meos": "union_stbox_stbox" + } + ] + }, + { + "name": "stboxes", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tgeo_stboxes", + "meos": "tgeo_stboxes" + }, + { + "pg": "Geo_stboxes", + "meos": "geo_stboxes" + } + ] + }, + { + "name": "stops", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes'" + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes'" + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes'" + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes')\n -- RETURNS tgeometry\n -- AS 'MODULE_PATHNAME', 'Temporal_stops'\n -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;\n-- CREATE FUNCTION stops(tgeography" + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes')\n -- RETURNS tgeography\n -- AS 'MODULE_PATHNAME', 'Temporal_stops'\n -- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;\n\n-- CREATE FUNCTION stops(tgeometry" + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes')\n -- RETURNS tgeometry\n -- AS 'SELECT @extschema@.stops($1" + }, + { + "type": "0.0", + "hasDefault": false, + "default": null + }, + { + "type": "stops(tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes')\n -- RETURNS tgeography\n -- AS 'SELECT @extschema@.stops($1" + }, + { + "type": "0.0", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "timeSplit(tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "setof", + "minArity": 8, + "maxArity": 15 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes'" + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes'" + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes'" + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "interval", + "hasDefault": true, + "default": "'0 minutes'" + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tContains", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tcontains_geo_tcbuffer", + "meos": "tcontains_geo_tcbuffer" + }, + { + "pg": "Tcontains_geo_tcbuffer", + "meos": "tcontains_tcbuffer_geo" + }, + { + "pg": "Tcontains_cbuffer_tcbuffer", + "meos": "tcontains_cbuffer_tcbuffer" + }, + { + "pg": "Tcontains_cbuffer_tcbuffer", + "meos": "tcontains_tcbuffer_cbuffer" + }, + { + "pg": "Tcontains_tcbuffer_tcbuffer", + "meos": "tcontains_tcbuffer_tcbuffer" + }, + { + "pg": "Tcontains_geo_tgeo", + "meos": "tcontains_geo_tgeo" + }, + { + "pg": "Tcontains_tgeo_geo", + "meos": "tcontains_tgeo_geo" + } + ] + }, + { + "name": "tCovers", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tcovers_geo_tcbuffer", + "meos": "tcovers_geo_tcbuffer" + }, + { + "pg": "Tcovers_tcbuffer_geo", + "meos": "tcovers_tcbuffer_geo" + }, + { + "pg": "Tcovers_cbuffer_tcbuffer", + "meos": "tcovers_cbuffer_tcbuffer" + }, + { + "pg": "Tcovers_cbuffer_tcbuffer", + "meos": "tcovers_tcbuffer_cbuffer" + }, + { + "pg": "Tcovers_tcbuffer_tcbuffer", + "meos": "tcovers_tcbuffer_tcbuffer" + }, + { + "pg": "Tcovers_geo_tgeo", + "meos": "tcovers_geo_tgeo" + }, + { + "pg": "Tcovers_tgeo_geo", + "meos": "tcovers_tgeo_geo" + } + ] + }, + { + "name": "tDisjoint", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tdisjoint_tcbuffer_geo", + "meos": "tdisjoint_geo_tcbuffer" + }, + { + "pg": "Tdisjoint_tcbuffer_geo", + "meos": "tdisjoint_tcbuffer_geo" + }, + { + "pg": "Tdisjoint_tcbuffer_geo", + "meos": "tdisjoint_cbuffer_tcbuffer" + }, + { + "pg": "Tdisjoint_tcbuffer_geo", + "meos": "tdisjoint_tcbuffer_cbuffer" + }, + { + "pg": "Tdisjoint_tcbuffer_tcbuffer", + "meos": "tdisjoint_tcbuffer_tcbuffer" + }, + { + "pg": "Tdisjoint_geo_tgeo", + "meos": "tdisjoint_geo_tgeo" + }, + { + "pg": "Tdisjoint_tgeo_geo", + "meos": "tdisjoint_tgeo_geo" + }, + { + "pg": "Tdisjoint_tgeo_tgeo", + "meos": "tdisjoint_tgeo_tgeo" + } + ] + }, + { + "name": "tDistance", + "overloads": [ + { + "args": [ + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Distance_cbuffer_cbuffer", + "meos": "distance_cbuffer_cbuffer" + }, + { + "pg": "Distance_cbuffer_geo", + "meos": "distance_cbuffer_geo" + }, + { + "pg": "Distance_cbuffer_stbox", + "meos": "distance_cbuffer_stbox" + }, + { + "pg": "Tdistance_tcbuffer_cbuffer", + "meos": "tdistance_tcbuffer_cbuffer" + }, + { + "pg": "Tdistance_tcbuffer_geo", + "meos": "tdistance_tcbuffer_geo" + }, + { + "pg": "Tdistance_tcbuffer_tcbuffer", + "meos": "tdistance_tcbuffer_tcbuffer" + }, + { + "pg": "NAD_cbuffer_stbox", + "meos": "nad_cbuffer_stbox" + }, + { + "pg": "Tdistance_tpose_geo", + "meos": "tdistance_tpose_geo" + }, + { + "pg": "Tdistance_tpose_pose", + "meos": "tdistance_tpose_pose" + }, + { + "pg": "Tdistance_tpose_tpose", + "meos": "tdistance_tpose_tpose" + }, + { + "pg": "Tdistance_tgeo_geo", + "meos": "tdistance_tgeo_geo" + }, + { + "pg": "Tdistance_tgeo_tgeo", + "meos": "tdistance_tgeo_tgeo" + }, + { + "pg": "Tdistance_tnumber_number", + "meos": "tdistance_tint_int" + }, + { + "pg": "Tdistance_tnumber_number", + "meos": "tdistance_tfloat_float" + }, + { + "pg": "Tdistance_tnumber_tnumber", + "meos": "tdistance_tnumber_tnumber" + }, + { + "pg": "Tdistance_tnpoint_geo", + "meos": "tdistance_tnpoint_geo" + }, + { + "pg": "Tdistance_tnpoint_npoint", + "meos": "tdistance_tnpoint_npoint" + }, + { + "pg": "Tdistance_tnpoint_tnpoint", + "meos": "tdistance_tnpoint_tnpoint" + } + ] + }, + { + "name": "tDwithin", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Tdwithin_tcbuffer_cbuffer", + "meos": "tdwithin_tcbuffer_cbuffer" + }, + { + "pg": "Tdwithin_tcbuffer_tcbuffer", + "meos": "tdwithin_tcbuffer_tcbuffer" + }, + { + "pg": "Tdwithin_tgeo_geo", + "meos": "tdwithin_tspatial_spatial" + }, + { + "pg": "Tdwithin_tgeo_geo", + "meos": "tdwithin_tgeo_geo" + }, + { + "pg": "Tdwithin_tgeo_tgeo", + "meos": "tdwithin_tgeo_tgeo" + } + ] + }, + { + "name": "tDwithinPairs", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "setof", + "minArity": 6, + "maxArity": 6 + }, + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "setof", + "minArity": 6, + "maxArity": 6 + } + ], + "c": [ + { + "pg": "Tdwithin_tgeoarr_tgeoarr", + "meos": "tdwithin_tgeoarr_tgeoarr" + } + ] + }, + { + "name": "tIntersects", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tintersects_tcbuffer_geo", + "meos": "tintersects_tcbuffer_geo" + }, + { + "pg": "Tintersects_tcbuffer_geo", + "meos": "tintersects_geo_tcbuffer" + }, + { + "pg": "Tintersects_cbuffer_tcbuffer", + "meos": "tintersects_cbuffer_tcbuffer" + }, + { + "pg": "Tintersects_tcbuffer_cbuffer", + "meos": "tintersects_tcbuffer_cbuffer" + }, + { + "pg": "Tintersects_tcbuffer_tcbuffer", + "meos": "tintersects_tcbuffer_tcbuffer" + }, + { + "pg": "Tintersects_tgeo_geo", + "meos": "tintersects_tgeo_geo" + }, + { + "pg": "Tintersects_geo_tgeo", + "meos": "tintersects_geo_tgeo" + }, + { + "pg": "Tintersects_tgeo_tgeo", + "meos": "tintersects_tgeo_tgeo" + } + ] + }, + { + "name": "tTouches", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Ttouches_tcbuffer_geo", + "meos": "ttouches_tcbuffer_geo" + }, + { + "pg": "Ttouches_tcbuffer_geo", + "meos": "ttouches_geo_tcbuffer" + }, + { + "pg": "Ttouches_cbuffer_tcbuffer", + "meos": "ttouches_cbuffer_tcbuffer" + }, + { + "pg": "Ttouches_cbuffer_tcbuffer", + "meos": "ttouches_tcbuffer_cbuffer" + }, + { + "pg": "Ttouches_tcbuffer_geo", + "meos": "ttouches_tcbuffer_tcbuffer" + }, + { + "pg": "Tdwithin_tcbuffer_geo", + "meos": "tdwithin_tcbuffer_geo" + }, + { + "pg": "Tdwithin_tcbuffer_geo", + "meos": "tdwithin_geo_tcbuffer" + }, + { + "pg": "Ttouches_tgeo_geo", + "meos": "ttouches_tgeo_geo" + }, + { + "pg": "Ttouches_geo_tgeo", + "meos": "ttouches_geo_tgeo" + }, + { + "pg": "Ttouches_tgeo_tgeo", + "meos": "ttouches_tgeo_tgeo" + } + ] + }, + { + "name": "taggstate_deserialize", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "taggstate_serialize", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tavg_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tavg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tavg_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbigint", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tint_to_tbigint", + "meos": "tint_to_tbigint" + }, + { + "pg": "Tfloat_to_tbigint", + "meos": "tfloat_to_tbigint" + } + ] + }, + { + "name": "tbigintFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tbigintFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tbigintFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tbigintInst", + "overloads": [ + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tbigintSeq", + "overloads": [ + { + "args": [ + { + "type": "tbigint[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbigintSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tbigint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tbigintSeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tbigint[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tbigint_gist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tbigint_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tbigint_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tbigint_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tbigint_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tbigint_tmax_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbigint_tmax_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbigint_tmin_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbigint_tmin_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbigint_tsum_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbigint_tsum_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbigint_wmax_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tbigint_wmin_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tbigint_wsum_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tbool", + "overloads": [ + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tboolFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tboolFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tboolFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tboolInst", + "overloads": [ + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tboolSeq", + "overloads": [ + { + "args": [ + { + "type": "tbool[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tboolSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tbool[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tboolSeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tbool[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbool_and", + "overloads": [ + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbool_gist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tbool_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tbool_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tbool_not", + "overloads": [ + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tbool_or", + "overloads": [ + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbool_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tbool_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tbool_tand_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbool_tand_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbool_tor_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbool_tor_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "numeric", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Number_timestamptz_to_tbox", + "meos": "number_timestamptz_to_tbox" + }, + { + "pg": "Number_tstzspan_to_tbox", + "meos": "number_tstzspan_to_tbox" + }, + { + "pg": "Numspan_timestamptz_to_tbox", + "meos": "numspan_timestamptz_to_tbox" + }, + { + "pg": "Numspan_timestamptz_to_tbox", + "meos": "numspan_tstzspan_to_tbox" + }, + { + "pg": "Number_to_tbox", + "meos": "number_tbox" + }, + { + "pg": "Timestamptz_to_tbox", + "meos": "timestamptz_to_tbox" + }, + { + "pg": "Set_to_tbox", + "meos": "set_tbox" + }, + { + "pg": "Set_to_tbox", + "meos": "set_to_tbox" + }, + { + "pg": "Span_to_tbox", + "meos": "span_tbox" + }, + { + "pg": "Number_timestamptz_to_tbox", + "meos": "int_timestamptz_to_tbox" + }, + { + "pg": "Number_timestamptz_to_tbox", + "meos": "bigint_timestamptz_to_tbox" + }, + { + "pg": "Number_timestamptz_to_tbox", + "meos": "float_timestamptz_to_tbox" + }, + { + "pg": "Number_tstzspan_to_tbox", + "meos": "int_tstzspan_to_tbox" + }, + { + "pg": "Number_tstzspan_to_tbox", + "meos": "bigint_tstzspan_to_tbox" + }, + { + "pg": "Number_tstzspan_to_tbox", + "meos": "float_tstzspan_to_tbox" + }, + { + "pg": "Number_to_tbox", + "meos": "int_to_tbox" + }, + { + "pg": "Number_to_tbox", + "meos": "bigint_to_tbox" + }, + { + "pg": "Number_to_tbox", + "meos": "float_to_tbox" + }, + { + "pg": "Span_to_tbox", + "meos": "span_to_tbox" + }, + { + "pg": "Spanset_to_tbox", + "meos": "spanset_tbox" + }, + { + "pg": "Spanset_to_tbox", + "meos": "spanset_to_tbox" + }, + { + "pg": "Tnumber_to_tbox", + "meos": "tnumber_to_tbox" + } + ] + }, + { + "name": "tboxFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tboxFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tbox_from_hexwkb", + "meos": "tbox_from_hexwkb" + } + ] + }, + { + "name": "tbox_adjacent", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Adjacent_tbox_tbox", + "meos": "adjacent_tbox_tbox" + } + ] + }, + { + "name": "tbox_after", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "After_tbox_tbox", + "meos": "after_tbox_tbox" + } + ] + }, + { + "name": "tbox_before", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Before_tbox_tbox", + "meos": "before_tbox_tbox" + } + ] + }, + { + "name": "tbox_cmp", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_cmp", + "meos": "tbox_cmp" + } + ] + }, + { + "name": "tbox_contained", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Contained_tbox_tbox", + "meos": "contained_tbox_tbox" + } + ] + }, + { + "name": "tbox_contains", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Contains_tbox_tbox", + "meos": "contains_tbox_tbox" + } + ] + }, + { + "name": "tbox_eq", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_eq", + "meos": "tbox_eq" + } + ] + }, + { + "name": "tbox_extent_combinefn", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_extent_transfn", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_ge", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_ge", + "meos": "tbox_ge" + } + ] + }, + { + "name": "tbox_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tbox_gist_distance", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tbox_gist_penalty", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tbox_gist_picksplit", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_gist_same", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tbox_gist_union", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_gt", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_gt", + "meos": "tbox_gt" + } + ] + }, + { + "name": "tbox_hash", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tbox_hash", + "meos": "tbox_hash" + } + ] + }, + { + "name": "tbox_hash_extended", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_hash_extended", + "meos": "tbox_hash_extended" + } + ] + }, + { + "name": "tbox_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tbox_in", + "meos": "tbox_in" + } + ] + }, + { + "name": "tbox_intersection", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_kdtree_choose", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_kdtree_inner_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_kdtree_picksplit", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_le", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_le", + "meos": "tbox_le" + } + ] + }, + { + "name": "tbox_left", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Left_tbox_tbox", + "meos": "left_tbox_tbox" + } + ] + }, + { + "name": "tbox_lt", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_lt", + "meos": "tbox_lt" + } + ] + }, + { + "name": "tbox_ne", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tbox_ne", + "meos": "tbox_ne" + } + ] + }, + { + "name": "tbox_out", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tbox_out", + "meos": "tbox_out" + } + ] + }, + { + "name": "tbox_overafter", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overafter_tbox_tbox", + "meos": "overafter_tbox_tbox" + } + ] + }, + { + "name": "tbox_overbefore", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overbefore_tbox_tbox", + "meos": "overbefore_tbox_tbox" + } + ] + }, + { + "name": "tbox_overlaps", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overlaps_tbox_tbox", + "meos": "overlaps_tbox_tbox" + } + ] + }, + { + "name": "tbox_overleft", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overleft_tbox_tbox", + "meos": "overleft_tbox_tbox" + } + ] + }, + { + "name": "tbox_overright", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overright_tbox_tbox", + "meos": "overright_tbox_tbox" + } + ] + }, + { + "name": "tbox_quadtree_choose", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_quadtree_inner_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_quadtree_picksplit", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tbox_recv", + "meos": "tbox_from_wkb" + } + ] + }, + { + "name": "tbox_right", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Right_tbox_tbox", + "meos": "right_tbox_tbox" + } + ] + }, + { + "name": "tbox_same", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Same_tbox_tbox", + "meos": "same_tbox_tbox" + } + ] + }, + { + "name": "tbox_send", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tbox_send", + "meos": "tbox_as_wkb" + } + ] + }, + { + "name": "tbox_spgist_config", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_spgist_leaf_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tbox_union", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tboxes", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tnumber_tboxes", + "meos": "tnumber_tboxes" + } + ] + }, + { + "name": "tcbuffer", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tgeometry_to_tcbuffer", + "meos": "tgeometry_to_tcbuffer" + } + ] + }, + { + "name": "tcbufferFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tcbufferFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tcbufferFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tcbufferFromHexEWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tcbufferFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tcbufferFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tcbufferInst", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tcbufferSeq", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tcbufferSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tcbufferSeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tcbuffer_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tcbuffer_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tcbuffer_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tcbuffer_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tcbuffer_typmod_in", + "overloads": [ + { + "args": [ + { + "type": "cstring[]", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tcentroid_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tcentroid_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tcentroid_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tcount_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tcount_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tdensity_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tdirection", + "overloads": [ + { + "args": [ + { + "type": "azimuth(tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tdistance", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography(Point)", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography(Point)", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tempBasetype", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_basetype_name", + "meos": "temporal_basetype_name" + } + ] + }, + { + "name": "tempSubtype", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_subtype", + "meos": "temporal_subtype" + } + ] + }, + { + "name": "temporal_above", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Above_stbox_tspatial", + "meos": "above_stbox_tspatial" + }, + { + "pg": "Above_tspatial_stbox", + "meos": "above_tspatial_stbox" + }, + { + "pg": "Above_tspatial_tspatial", + "meos": "above_tspatial_tspatial" + } + ] + }, + { + "name": "temporal_adjacent", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_after", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "After_stbox_tspatial", + "meos": "after_stbox_tspatial" + }, + { + "pg": "After_tspatial_stbox", + "meos": "after_tspatial_stbox" + }, + { + "pg": "After_tspatial_tspatial", + "meos": "after_tspatial_tspatial" + }, + { + "pg": "After_tstzspan_temporal", + "meos": "after_tstzspan_temporal" + }, + { + "pg": "After_temporal_tstzspan", + "meos": "after_temporal_tstzspan" + }, + { + "pg": "After_temporal_temporal", + "meos": "after_temporal_temporal" + }, + { + "pg": "After_tbox_tnumber", + "meos": "after_tbox_tnumber" + }, + { + "pg": "After_tnumber_tbox", + "meos": "after_tnumber_tbox" + }, + { + "pg": "After_tnumber_tnumber", + "meos": "after_tnumber_tnumber" + } + ] + }, + { + "name": "temporal_analyze", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "temporal_app_tinst_transfn", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "temporal_app_tseq_transfn", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_append_finalfn", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "temporal_back", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Back_stbox_tspatial", + "meos": "back_stbox_tspatial" + }, + { + "pg": "Back_tspatial_stbox", + "meos": "back_tspatial_stbox" + }, + { + "pg": "Back_tspatial_tspatial", + "meos": "back_tspatial_tspatial" + } + ] + }, + { + "name": "temporal_before", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Before_stbox_tspatial", + "meos": "before_stbox_tspatial" + }, + { + "pg": "Before_tspatial_stbox", + "meos": "before_tspatial_stbox" + }, + { + "pg": "Before_tspatial_tspatial", + "meos": "before_tspatial_tspatial" + }, + { + "pg": "Before_tstzspan_temporal", + "meos": "before_tstzspan_temporal" + }, + { + "pg": "Before_temporal_tstzspan", + "meos": "before_temporal_tstzspan" + }, + { + "pg": "Before_temporal_temporal", + "meos": "before_temporal_temporal" + }, + { + "pg": "Before_tbox_tnumber", + "meos": "before_tbox_tnumber" + }, + { + "pg": "Before_tnumber_tbox", + "meos": "before_tnumber_tbox" + }, + { + "pg": "Before_tnumber_tnumber", + "meos": "before_tnumber_tnumber" + } + ] + }, + { + "name": "temporal_below", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Below_stbox_tspatial", + "meos": "below_stbox_tspatial" + }, + { + "pg": "Below_tspatial_stbox", + "meos": "below_tspatial_stbox" + }, + { + "pg": "Below_tspatial_tspatial", + "meos": "below_tspatial_tspatial" + }, + { + "pg": "Left_stbox_stbox", + "meos": "left_stbox_stbox" + }, + { + "pg": "Overleft_stbox_stbox", + "meos": "overleft_stbox_stbox" + }, + { + "pg": "Right_stbox_stbox", + "meos": "right_stbox_stbox" + }, + { + "pg": "Overright_stbox_stbox", + "meos": "overright_stbox_stbox" + }, + { + "pg": "Below_stbox_stbox", + "meos": "below_stbox_stbox" + }, + { + "pg": "Overbelow_stbox_stbox", + "meos": "overbelow_stbox_stbox" + }, + { + "pg": "Above_stbox_stbox", + "meos": "above_stbox_stbox" + }, + { + "pg": "Overabove_stbox_stbox", + "meos": "overabove_stbox_stbox" + }, + { + "pg": "Front_stbox_stbox", + "meos": "front_stbox_stbox" + }, + { + "pg": "Overfront_stbox_stbox", + "meos": "overfront_stbox_stbox" + }, + { + "pg": "Back_stbox_stbox", + "meos": "back_stbox_stbox" + }, + { + "pg": "Overback_stbox_stbox", + "meos": "overback_stbox_stbox" + }, + { + "pg": "Before_stbox_stbox", + "meos": "before_stbox_stbox" + }, + { + "pg": "Overbefore_stbox_stbox", + "meos": "overbefore_stbox_stbox" + }, + { + "pg": "After_stbox_stbox", + "meos": "after_stbox_stbox" + }, + { + "pg": "Overafter_stbox_stbox", + "meos": "overafter_stbox_stbox" + } + ] + }, + { + "name": "temporal_cmp", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "int4", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_contained", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_contains", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_eq", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_extent_combinefn", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_extent_transfn", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_front", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Front_stbox_tspatial", + "meos": "front_stbox_tspatial" + }, + { + "pg": "Front_tspatial_stbox", + "meos": "front_tspatial_stbox" + }, + { + "pg": "Front_tspatial_tspatial", + "meos": "front_tspatial_tspatial" + } + ] + }, + { + "name": "temporal_ge", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_gt", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_hash", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "temporal_joinsel", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "temporal_le", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_left", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Left_stbox_tspatial", + "meos": "left_stbox_tspatial" + }, + { + "pg": "Left_tspatial_stbox", + "meos": "left_tspatial_stbox" + }, + { + "pg": "Left_tspatial_tspatial", + "meos": "left_tspatial_tspatial" + }, + { + "pg": "Left_numspan_tnumber", + "meos": "left_numspan_tnumber" + }, + { + "pg": "Left_tnumber_numspan", + "meos": "left_tnumber_numspan" + }, + { + "pg": "Left_tbox_tnumber", + "meos": "left_tbox_tnumber" + }, + { + "pg": "Left_tnumber_tbox", + "meos": "left_tnumber_tbox" + }, + { + "pg": "Left_tnumber_tnumber", + "meos": "left_tnumber_tnumber" + } + ] + }, + { + "name": "temporal_lt", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_merge_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_merge_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_ne", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_out", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "temporal_overabove", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overabove_stbox_tspatial", + "meos": "overabove_stbox_tspatial" + }, + { + "pg": "Overabove_tspatial_stbox", + "meos": "overabove_tspatial_stbox" + }, + { + "pg": "Overabove_tspatial_tspatial", + "meos": "overabove_tspatial_tspatial" + } + ] + }, + { + "name": "temporal_overafter", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overafter_stbox_tspatial", + "meos": "overafter_stbox_tspatial" + }, + { + "pg": "Overafter_tspatial_stbox", + "meos": "overafter_tspatial_stbox" + }, + { + "pg": "Overafter_tspatial_tspatial", + "meos": "overafter_tspatial_tspatial" + }, + { + "pg": "Overafter_tstzspan_temporal", + "meos": "overafter_tstzspan_temporal" + }, + { + "pg": "Overafter_temporal_tstzspan", + "meos": "overafter_temporal_tstzspan" + }, + { + "pg": "Overafter_temporal_temporal", + "meos": "overafter_temporal_temporal" + }, + { + "pg": "Overafter_tbox_tnumber", + "meos": "overafter_tbox_tnumber" + }, + { + "pg": "Overafter_tnumber_tbox", + "meos": "overafter_tnumber_tbox" + }, + { + "pg": "Overafter_tnumber_tnumber", + "meos": "overafter_tnumber_tnumber" + } + ] + }, + { + "name": "temporal_overback", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overback_stbox_tspatial", + "meos": "overback_stbox_tspatial" + }, + { + "pg": "Overback_tspatial_stbox", + "meos": "overback_tspatial_stbox" + }, + { + "pg": "Overback_tspatial_tspatial", + "meos": "overback_tspatial_tspatial" + } + ] + }, + { + "name": "temporal_overbefore", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overbefore_stbox_tspatial", + "meos": "overbefore_stbox_tspatial" + }, + { + "pg": "Overbefore_tspatial_stbox", + "meos": "overbefore_tspatial_stbox" + }, + { + "pg": "Overbefore_tspatial_tspatial", + "meos": "overbefore_tspatial_tspatial" + }, + { + "pg": "Overbefore_tstzspan_temporal", + "meos": "overbefore_tstzspan_temporal" + }, + { + "pg": "Overbefore_temporal_tstzspan", + "meos": "overbefore_temporal_tstzspan" + }, + { + "pg": "Overbefore_temporal_temporal", + "meos": "overbefore_temporal_temporal" + }, + { + "pg": "Overbefore_tbox_tnumber", + "meos": "overbefore_tbox_tnumber" + }, + { + "pg": "Overbefore_tnumber_tbox", + "meos": "overbefore_tnumber_tbox" + }, + { + "pg": "Overbefore_tnumber_tnumber", + "meos": "overbefore_tnumber_tnumber" + } + ] + }, + { + "name": "temporal_overbelow", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overbelow_stbox_tspatial", + "meos": "overbelow_stbox_tspatial" + }, + { + "pg": "Overbelow_tspatial_stbox", + "meos": "overbelow_tspatial_stbox" + }, + { + "pg": "Overbelow_tspatial_tspatial", + "meos": "overbelow_tspatial_tspatial" + } + ] + }, + { + "name": "temporal_overfront", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overfront_stbox_tspatial", + "meos": "overfront_stbox_tspatial" + }, + { + "pg": "Overfront_tspatial_stbox", + "meos": "overfront_tspatial_stbox" + }, + { + "pg": "Overfront_tspatial_tspatial", + "meos": "overfront_tspatial_tspatial" + } + ] + }, + { + "name": "temporal_overlaps", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_overleft", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overleft_stbox_tspatial", + "meos": "overleft_stbox_tspatial" + }, + { + "pg": "Overleft_tspatial_stbox", + "meos": "overleft_tspatial_stbox" + }, + { + "pg": "Overleft_tspatial_tspatial", + "meos": "overleft_tspatial_tspatial" + }, + { + "pg": "Overleft_numspan_tnumber", + "meos": "overleft_numspan_tnumber" + }, + { + "pg": "Overleft_tnumber_numspan", + "meos": "overleft_tnumber_numspan" + }, + { + "pg": "Overleft_tbox_tnumber", + "meos": "overleft_tbox_tnumber" + }, + { + "pg": "Overleft_tnumber_tbox", + "meos": "overleft_tnumber_tbox" + }, + { + "pg": "Overleft_tnumber_tnumber", + "meos": "overleft_tnumber_tnumber" + } + ] + }, + { + "name": "temporal_overright", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Overright_stbox_tspatial", + "meos": "overright_stbox_tspatial" + }, + { + "pg": "Overright_tspatial_stbox", + "meos": "overright_tspatial_stbox" + }, + { + "pg": "Overright_tspatial_tspatial", + "meos": "overright_tspatial_tspatial" + }, + { + "pg": "Overright_numspan_tnumber", + "meos": "overright_numspan_tnumber" + }, + { + "pg": "Overright_tnumber_numspan", + "meos": "overright_tnumber_numspan" + }, + { + "pg": "Overright_tbox_tnumber", + "meos": "overright_tbox_tnumber" + }, + { + "pg": "Overright_tnumber_tbox", + "meos": "overright_tnumber_tbox" + }, + { + "pg": "Overright_tnumber_tnumber", + "meos": "overright_tnumber_tnumber" + } + ] + }, + { + "name": "temporal_right", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Right_stbox_tspatial", + "meos": "right_stbox_tspatial" + }, + { + "pg": "Right_tspatial_stbox", + "meos": "right_tspatial_stbox" + }, + { + "pg": "Right_tspatial_tspatial", + "meos": "right_tspatial_tspatial" + }, + { + "pg": "Right_numspan_tnumber", + "meos": "right_numspan_tnumber" + }, + { + "pg": "Right_tnumber_numspan", + "meos": "right_tnumber_numspan" + }, + { + "pg": "Right_tbox_tnumber", + "meos": "right_tbox_tnumber" + }, + { + "pg": "Right_tnumber_tbox", + "meos": "right_tnumber_tbox" + }, + { + "pg": "Right_tnumber_tnumber", + "meos": "right_tnumber_tnumber" + } + ] + }, + { + "name": "temporal_same", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "temporal_sel", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 4, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "temporal_send", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "temporal_spgist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "temporal_teq", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Teq_geo_trgeometry", + "meos": "teq_geo_trgeometry" + }, + { + "pg": "Teq_trgeometry_geo", + "meos": "teq_trgeometry_geo" + }, + { + "pg": "Teq_cbuffer_tcbuffer", + "meos": "teq_cbuffer_tcbuffer" + }, + { + "pg": "Teq_tcbuffer_cbuffer", + "meos": "teq_tcbuffer_cbuffer" + }, + { + "pg": "Teq_pose_tpose", + "meos": "teq_pose_tpose" + }, + { + "pg": "Teq_tpose_pose", + "meos": "teq_tpose_pose" + }, + { + "pg": "Teq_geo_tgeo", + "meos": "teq_geo_tgeo" + }, + { + "pg": "Teq_tgeo_geo", + "meos": "teq_tgeo_geo" + }, + { + "pg": "Teq_temporal_temporal", + "meos": "teq_temporal_temporal" + }, + { + "pg": "Teq_base_temporal", + "meos": "teq_bool_tbool" + }, + { + "pg": "Teq_base_temporal", + "meos": "teq_int_tint" + }, + { + "pg": "Teq_base_temporal", + "meos": "teq_float_tfloat" + }, + { + "pg": "Teq_base_temporal", + "meos": "teq_text_ttext" + }, + { + "pg": "Teq_temporal_base", + "meos": "teq_tbool_bool" + }, + { + "pg": "Teq_temporal_base", + "meos": "teq_tint_int" + }, + { + "pg": "Teq_temporal_base", + "meos": "teq_tfloat_float" + }, + { + "pg": "Teq_temporal_base", + "meos": "teq_ttext_text" + }, + { + "pg": "Teq_tnpoint_npoint", + "meos": "teq_tnpoint_npoint" + } + ] + }, + { + "name": "temporal_tge", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tge_base_temporal", + "meos": "tge_int_tint" + }, + { + "pg": "Tge_base_temporal", + "meos": "tge_float_tfloat" + }, + { + "pg": "Tge_base_temporal", + "meos": "tge_text_ttext" + }, + { + "pg": "Tge_temporal_base", + "meos": "tge_tint_int" + }, + { + "pg": "Tge_temporal_base", + "meos": "tge_tfloat_float" + }, + { + "pg": "Tge_temporal_base", + "meos": "tge_ttext_text" + }, + { + "pg": "Tge_temporal_temporal", + "meos": "tge_temporal_temporal" + } + ] + }, + { + "name": "temporal_tgt", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tgt_base_temporal", + "meos": "tgt_int_tint" + }, + { + "pg": "Tgt_base_temporal", + "meos": "tgt_float_tfloat" + }, + { + "pg": "Tgt_base_temporal", + "meos": "tgt_text_ttext" + }, + { + "pg": "Tgt_temporal_base", + "meos": "tgt_tint_int" + }, + { + "pg": "Tgt_temporal_base", + "meos": "tgt_tfloat_float" + }, + { + "pg": "Tgt_temporal_base", + "meos": "tgt_ttext_text" + }, + { + "pg": "Tgt_temporal_temporal", + "meos": "tgt_temporal_temporal" + } + ] + }, + { + "name": "temporal_tle", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tle_base_temporal", + "meos": "tle_int_tint" + }, + { + "pg": "Tle_base_temporal", + "meos": "tle_float_tfloat" + }, + { + "pg": "Tle_base_temporal", + "meos": "tle_text_ttext" + }, + { + "pg": "Tle_temporal_base", + "meos": "tle_tint_int" + }, + { + "pg": "Tle_temporal_base", + "meos": "tle_tfloat_float" + }, + { + "pg": "Tle_temporal_base", + "meos": "tle_ttext_text" + }, + { + "pg": "Tle_temporal_temporal", + "meos": "tle_temporal_temporal" + } + ] + }, + { + "name": "temporal_tlt", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tlt_base_temporal", + "meos": "tlt_int_tint" + }, + { + "pg": "Tlt_base_temporal", + "meos": "tlt_float_tfloat" + }, + { + "pg": "Tlt_base_temporal", + "meos": "tlt_text_ttext" + }, + { + "pg": "Tlt_temporal_base", + "meos": "tlt_tint_int" + }, + { + "pg": "Tlt_temporal_base", + "meos": "tlt_tfloat_float" + }, + { + "pg": "Tlt_temporal_base", + "meos": "tlt_ttext_text" + }, + { + "pg": "Tlt_temporal_temporal", + "meos": "tlt_temporal_temporal" + } + ] + }, + { + "name": "temporal_tne", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "h3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tne_geo_trgeometry", + "meos": "tne_geo_trgeometry" + }, + { + "pg": "Tne_trgeometry_geo", + "meos": "tne_trgeometry_geo" + }, + { + "pg": "Tne_cbuffer_tcbuffer", + "meos": "tne_cbuffer_tcbuffer" + }, + { + "pg": "Tne_tcbuffer_cbuffer", + "meos": "tne_tcbuffer_cbuffer" + }, + { + "pg": "Tne_pose_tpose", + "meos": "tne_pose_tpose" + }, + { + "pg": "Tne_tpose_pose", + "meos": "tne_tpose_pose" + }, + { + "pg": "Tne_geo_tgeo", + "meos": "tne_geo_tgeo" + }, + { + "pg": "Tne_tgeo_geo", + "meos": "tne_tgeo_geo" + }, + { + "pg": "Tne_temporal_temporal", + "meos": "tne_temporal_temporal" + }, + { + "pg": "Tne_base_temporal", + "meos": "tne_bool_tbool" + }, + { + "pg": "Tne_base_temporal", + "meos": "tne_int_tint" + }, + { + "pg": "Tne_base_temporal", + "meos": "tne_float_tfloat" + }, + { + "pg": "Tne_base_temporal", + "meos": "tne_text_ttext" + }, + { + "pg": "Tne_temporal_base", + "meos": "tne_tbool_bool" + }, + { + "pg": "Tne_temporal_base", + "meos": "tne_tint_int" + }, + { + "pg": "Tne_temporal_base", + "meos": "tne_tfloat_float" + }, + { + "pg": "Tne_temporal_base", + "meos": "tne_ttext_text" + }, + { + "pg": "Tne_tnpoint_npoint", + "meos": "tne_tnpoint_npoint" + } + ] + }, + { + "name": "temporal_typmod_in", + "overloads": [ + { + "args": [ + { + "type": "cstring[]", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "temporal_typmod_out", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "teq", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "textsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "textsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "textset_cat", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Textcat_text_textset", + "meos": "textcat_text_textset" + }, + { + "pg": "Textcat_textset_text", + "meos": "textcat_textset_text" + } + ] + }, + { + "name": "textset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "textset_out", + "overloads": [ + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "textset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "textset_send", + "overloads": [ + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "textset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tfloat", + "overloads": [ + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tcbuffer_to_tfloat", + "meos": "tcbuffer_to_tfloat" + }, + { + "pg": "Tint_to_tfloat", + "meos": "tint_to_tfloat" + }, + { + "pg": "Tbigint_to_tfloat", + "meos": "tbigint_to_tfloat" + } + ] + }, + { + "name": "tfloatFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tfloatFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tfloatFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tfloatInst", + "overloads": [ + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tfloatSeq", + "overloads": [ + { + "args": [ + { + "type": "tfloat[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tfloatSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tfloat[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tfloatSeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tfloat[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tfloat_gist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tfloat_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tfloat_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tfloat_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tfloat_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tfloat_tmax_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tfloat_tmax_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tfloat_tmin_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tfloat_tmin_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tfloat_tsum_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tfloat_tsum_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tfloat_wmax_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tfloat_wmin_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tfloat_wsum_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tge", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tgeo_teq", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tgeo_tne", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tgeogpoint", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography(Point)", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpointFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpointFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpointFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpointFromHexEWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpointFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpointFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpointInst", + "overloads": [ + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpointSeq", + "overloads": [ + { + "args": [ + { + "type": "tgeogpoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpointSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tgeogpoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpointSeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tgeogpoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tgeogpoint_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tgeogpoint_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tgeogpoint_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tgeogpoint_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeogpoint_to_th3index", + "overloads": [ + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tgeogpoint_typmod_in", + "overloads": [ + { + "args": [ + { + "type": "cstring[]", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeography", + "overloads": [ + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tgeometry_to_tgeography", + "meos": "tgeometry_to_tgeography" + } + ] + }, + { + "name": "tgeographyFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeographyFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeographyFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeographyFromHexEWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeographyFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeographyFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeographyInst", + "overloads": [ + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeographySeq", + "overloads": [ + { + "args": [ + { + "type": "tgeography[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeographySeqSet", + "overloads": [ + { + "args": [ + { + "type": "tgeography[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeographySeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tgeography[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tgeography_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tgeography_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tgeography_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tgeography_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeography_typmod_in", + "overloads": [ + { + "args": [ + { + "type": "cstring[]", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometry", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_to_tgeometry", + "meos": "trgeometry_to_tgeometry" + }, + { + "pg": "Tgeography_to_tgeometry", + "meos": "tgeography_to_tgeometry" + }, + { + "pg": "Tpoint_to_tgeo", + "meos": "tgeompoint_to_tgeometry" + }, + { + "pg": "Tpoint_to_tgeo", + "meos": "tgeogpoint_to_tgeography" + } + ] + }, + { + "name": "tgeometryFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometryFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometryFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometryFromHexEWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometryFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometryFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometryInst", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometrySeq", + "overloads": [ + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometrySeqSet", + "overloads": [ + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometrySeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tgeometry_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tgeometry_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tgeometry_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tgeometry_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeometry_typmod_in", + "overloads": [ + { + "args": [ + { + "type": "cstring[]", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompoint", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tcbuffer_to_tgeompoint", + "meos": "tcbuffer_to_tgeompoint" + }, + { + "pg": "Geomeas_to_tpoint", + "meos": "geomeas_to_tpoint" + }, + { + "pg": "Tgeo_to_tpoint", + "meos": "tgeometry_to_tgeompoint" + }, + { + "pg": "Tgeo_to_tpoint", + "meos": "tgeography_to_tgeogpoint" + }, + { + "pg": "Tnpoint_to_tgeompoint", + "meos": "tnpoint_to_tgeompoint" + } + ] + }, + { + "name": "tgeompointFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompointFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompointFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompointFromHexEWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompointFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompointFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompointInst", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompointSeq", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompointSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompointSeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tgeompoint_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tgeompoint_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tgeompoint_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tgeompoint_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgeompoint_to_th3index", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tgeompoint_typmod_in", + "overloads": [ + { + "args": [ + { + "type": "cstring[]", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tgt", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "th3index", + "overloads": [ + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "th3indexFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "th3indexFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "th3index_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "th3index_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "th3index_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "th3index", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "timeBins", + "overloads": [ + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzspan[]", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "timeBoxes", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "stbox[]", + "minArity": 2, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "timeSpan", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_to_tstzspan", + "meos": "stbox_to_tstzspan" + }, + { + "pg": "Tbox_to_tstzspan", + "meos": "tbox_tstzspan" + }, + { + "pg": "Tbox_to_tstzspan", + "meos": "tbox_to_tstzspan" + }, + { + "pg": "Temporal_to_tstzspan", + "meos": "temporal_to_tstzspan" + } + ] + }, + { + "name": "timeSplit", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "setof", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "setof", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "setof", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "setof", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "setof", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "setof", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "setof", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Temporal_time_split", + "meos": "temporal_time_split" + } + ] + }, + { + "name": "timeTiles", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Stbox_time_tiles", + "meos": "stbox_time_tiles" + } + ] + }, + { + "name": "time_distance", + "overloads": [ + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "timespan", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "timestampN", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_timestamptz_n", + "meos": "tsequenceset_timestamptz_n" + }, + { + "pg": "Tstzspanset_timestamptz_n", + "meos": "tstzspanset_timestamptz_n" + }, + { + "pg": "Temporal_timestamptz_n", + "meos": "temporal_timestamptz_n" + } + ] + }, + { + "name": "timestamps", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz[]", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_timestamps", + "meos": "tinstant_timestamps" + }, + { + "pg": "Temporal_timestamps", + "meos": "tsequence_timestamps" + }, + { + "pg": "Temporal_timestamps", + "meos": "tsequenceset_timestamps" + }, + { + "pg": "Tstzspanset_timestamps", + "meos": "tstzspanset_timestamps" + }, + { + "pg": "Temporal_timestamps", + "meos": "temporal_timestamps" + } + ] + }, + { + "name": "tint", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tinstant_constructor", + "meos": "tcbufferinst_make" + }, + { + "pg": "Tinstant_constructor", + "meos": "tposeinst_make" + }, + { + "pg": "Tinstant_constructor", + "meos": "tpointinst_make" + }, + { + "pg": "Tinstant_constructor", + "meos": "tgeoinst_make" + }, + { + "pg": "Tsequence_from_base_tstzset", + "meos": "tsequence_from_base_tstzset" + }, + { + "pg": "Tinstant_constructor", + "meos": "tbigintinst_make" + }, + { + "pg": "Tinstant_constructor", + "meos": "tboolinst_make" + }, + { + "pg": "Tinstant_constructor", + "meos": "tintinst_make" + }, + { + "pg": "Tinstant_constructor", + "meos": "tfloatinst_make" + }, + { + "pg": "Tinstant_constructor", + "meos": "ttextinst_make" + }, + { + "pg": "Tbool_to_tint", + "meos": "tbool_to_tint" + }, + { + "pg": "Tbigint_to_tint", + "meos": "tbigint_to_tint" + }, + { + "pg": "Tfloat_to_tint", + "meos": "tfloat_to_tint" + }, + { + "pg": "Tinstant_constructor", + "meos": "tnpointinst_make" + } + ] + }, + { + "name": "tintFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tintFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_from_hexwkb", + "meos": "temporal_from_hexwkb" + } + ] + }, + { + "name": "tintFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_from_mfjson", + "meos": "tgeompointinst_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeogpointinst_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeometryinst_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeographyinst_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeompointseq_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeogpointseq_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeometryseq_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeographyseq_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeompointseqset_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeogpointseqset_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeometryseqset_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tgeographyseqset_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tbigintinst_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tboolinst_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tintinst_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tfloatinst_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "ttextinst_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tbigintseq_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tboolseq_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tintseq_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tfloatseq_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "ttextseq_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tboolseqset_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tintseqset_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tbigintseqset_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "tfloatseqset_from_mfjson" + }, + { + "pg": "Temporal_from_mfjson", + "meos": "ttextseqset_from_mfjson" + } + ] + }, + { + "name": "tintInst", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_to_tinstant", + "meos": "tsequence_to_tinstant" + }, + { + "pg": "Temporal_to_tinstant", + "meos": "tsequenceset_to_tinstant" + }, + { + "pg": "Temporal_to_tinstant", + "meos": "temporal_to_tinstant" + } + ] + }, + { + "name": "tintSeq", + "overloads": [ + { + "args": [ + { + "type": "tint[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tsequence_constructor", + "meos": "tsequence_make" + }, + { + "pg": "Temporal_to_tsequence", + "meos": "tinstant_to_tsequence" + }, + { + "pg": "Temporal_to_tsequence", + "meos": "tinstant_to_tsequence_free" + }, + { + "pg": "Temporal_to_tsequence", + "meos": "tsequenceset_to_tsequence" + }, + { + "pg": "Temporal_to_tsequence", + "meos": "temporal_tsequence" + }, + { + "pg": "Temporal_to_tsequence", + "meos": "temporal_to_tsequence" + } + ] + }, + { + "name": "tintSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_to_tsequenceset", + "meos": "trgeoseq_to_tsequenceset_free" + }, + { + "pg": "Tsequenceset_constructor", + "meos": "tsequenceset_make" + }, + { + "pg": "Temporal_to_tsequenceset", + "meos": "tinstant_to_tsequenceset" + }, + { + "pg": "Temporal_to_tsequenceset", + "meos": "tsequence_to_tsequenceset" + }, + { + "pg": "Temporal_to_tsequenceset", + "meos": "tsequence_to_tsequenceset_free" + }, + { + "pg": "Temporal_to_tsequenceset", + "meos": "tsequence_to_tsequenceset_interp" + }, + { + "pg": "Temporal_to_tsequenceset", + "meos": "temporal_tsequenceset" + }, + { + "pg": "Temporal_to_tsequenceset", + "meos": "temporal_to_tsequenceset" + } + ] + }, + { + "name": "tintSeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tint[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Tsequenceset_constructor_gaps", + "meos": "tsequenceset_make_gaps" + } + ] + }, + { + "name": "tint_gist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tint_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tint_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tint_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Temporal_recv", + "meos": "temporal_as_wkb" + }, + { + "pg": "Temporal_recv", + "meos": "temporal_from_wkb" + } + ] + }, + { + "name": "tint_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tint_tmax_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tint_tmax_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tint_tmin_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tint_tmin_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tint_tsum_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tint_tsum_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tint_wmax_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tint_wmin_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tint_wsum_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tle", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tlt", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tmax", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpcbox_tmax", + "meos": "tpcbox_tmax" + } + ] + }, + { + "name": "tmin", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpcbox_tmin", + "meos": "tpcbox_tmin" + } + ] + }, + { + "name": "tne", + "overloads": [ + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "cbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "geography", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "boolean", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "npoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tnpoint", + "overloads": [ + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "npoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tgeompoint_to_tnpoint", + "meos": "tgeompoint_to_tnpoint" + } + ] + }, + { + "name": "tnpointFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tnpointFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tnpointFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tnpointInst", + "overloads": [ + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tnpointSeq", + "overloads": [ + { + "args": [ + { + "type": "tnpoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tnpointSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tnpoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tnpointSeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tnpoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tnpoint_gin_extract_query", + "overloads": [ + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "int2", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 7, + "maxArity": 7 + } + ], + "c": [] + }, + { + "name": "tnpoint_gin_extract_value", + "overloads": [ + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tnpoint_gin_triconsistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "int2", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "int4", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "char", + "minArity": 7, + "maxArity": 7 + } + ], + "c": [] + }, + { + "name": "tnpoint_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tnpoint_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tnpoint_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tnpoint_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tnpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tnpoints_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tnumber_add", + "overloads": [ + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Add_number_tnumber", + "meos": "add_bigint_tbigint" + }, + { + "pg": "Add_number_tnumber", + "meos": "add_int_tint" + }, + { + "pg": "Add_number_tnumber", + "meos": "add_float_tfloat" + }, + { + "pg": "Add_tnumber_number", + "meos": "add_tbigint_bigint" + }, + { + "pg": "Add_tnumber_number", + "meos": "add_tint_int" + }, + { + "pg": "Add_tnumber_number", + "meos": "add_tfloat_float" + }, + { + "pg": "Add_tnumber_tnumber", + "meos": "add_tnumber_tnumber" + } + ] + }, + { + "name": "tnumber_div", + "overloads": [ + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Div_number_tnumber", + "meos": "div_bigint_tbigint" + }, + { + "pg": "Div_number_tnumber", + "meos": "div_int_tint" + }, + { + "pg": "Div_number_tnumber", + "meos": "div_float_tfloat" + }, + { + "pg": "Div_tnumber_number", + "meos": "div_tfloat_float" + }, + { + "pg": "Div_tnumber_tnumber", + "meos": "div_tnumber_tnumber" + } + ] + }, + { + "name": "tnumber_extent_combinefn", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tnumber_extent_transfn", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tnumber_joinsel", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tnumber_mul", + "overloads": [ + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Mul_number_tnumber", + "meos": "mul_bigint_tbigint" + }, + { + "pg": "Mul_number_tnumber", + "meos": "mul_int_tint" + }, + { + "pg": "Mul_number_tnumber", + "meos": "mul_float_tfloat" + }, + { + "pg": "Mul_tnumber_number", + "meos": "mul_tbigint_bigint" + }, + { + "pg": "Mul_tnumber_number", + "meos": "mul_tint_int" + }, + { + "pg": "Mul_tnumber_number", + "meos": "mul_tfloat_float" + }, + { + "pg": "Mul_tnumber_tnumber", + "meos": "mul_tnumber_tnumber" + } + ] + }, + { + "name": "tnumber_sel", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 4, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tnumber_spgist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tnumber_sub", + "overloads": [ + { + "args": [ + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Sub_number_tnumber", + "meos": "sub_bigint_tbigint" + }, + { + "pg": "Sub_number_tnumber", + "meos": "sub_int_tint" + }, + { + "pg": "Sub_number_tnumber", + "meos": "sub_float_tfloat" + }, + { + "pg": "Sub_tnumber_number", + "meos": "sub_tbigint_bigint" + }, + { + "pg": "Sub_tnumber_number", + "meos": "sub_tint_int" + }, + { + "pg": "Sub_tnumber_number", + "meos": "sub_tfloat_float" + }, + { + "pg": "Sub_tnumber_tnumber", + "meos": "sub_tnumber_tnumber" + } + ] + }, + { + "name": "tnumber_supportfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpc_extent_transfn", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpc_gist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpc_spgist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpc_typmod_in", + "overloads": [ + { + "args": [ + { + "type": "cstring[]", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpc_typmod_out", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcbox", + "overloads": [ + { + "args": [ + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tpcbox", + "minArity": 4, + "maxArity": 6 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pcpoint_to_tpcbox", + "meos": "pcpoint_to_tpcbox" + } + ] + }, + { + "name": "tpcbox_above", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_adjacent", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_after", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_back", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_before", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_below", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_cmp", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Tpcbox_cmp", + "meos": "tpcbox_cmp" + } + ] + }, + { + "name": "tpcbox_contained", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_contains", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_eq", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_extent_transfn", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_front", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_ge", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tpcbox_gist_distance", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tpcbox_gist_penalty", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tpcbox_gist_picksplit", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_gist_same", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tpcbox_gist_union", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_gt", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcbox_intersection", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_le", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_left", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_lt", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_ne", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_out", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcbox_overabove", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_overafter", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_overback", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_overbefore", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_overbelow", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_overfront", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_overlaps", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_overleft", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_overright", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcbox_right", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_same", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_send", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcbox_spgist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcbox_t", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tpcbox", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_union", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tpcbox_xt", + "overloads": [ + { + "args": [ + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tpcbox", + "minArity": 5, + "maxArity": 7 + } + ], + "c": [] + }, + { + "name": "tpcbox_z", + "overloads": [ + { + "args": [ + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tpcbox", + "minArity": 6, + "maxArity": 8 + } + ], + "c": [] + }, + { + "name": "tpcbox_zt", + "overloads": [ + { + "args": [ + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tpcbox", + "minArity": 7, + "maxArity": 9 + } + ], + "c": [] + }, + { + "name": "tpcpatch", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "pcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tpcpatch", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tpcpatchFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpatchFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpatchSeq", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tpcpatch", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tpcpatchSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpatch_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tpcpatch_out", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpatch_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tpcpatch_send", + "overloads": [ + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpatch_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpatch", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpoint", + "overloads": [ + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "pcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tpcpoint", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tpcpointFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpointFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpointSeq", + "overloads": [ + { + "args": [ + { + "type": "tpcpoint[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tpcpoint", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tpcpointSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tpcpoint[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpoint_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tpcpoint_out", + "overloads": [ + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpoint_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tpcpoint_send", + "overloads": [ + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpcpoint_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tpcpoint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpose", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Tpose_make", + "meos": "tpose_make" + } + ] + }, + { + "name": "tposeFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tposeFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tposeFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tposeFromGeoPose", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpose_from_geopose", + "meos": "tpose_from_geopose" + } + ] + }, + { + "name": "tposeFromHexEWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tposeFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tposeFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tposeInst", + "overloads": [ + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tposeSeq", + "overloads": [ + { + "args": [ + { + "type": "tpose[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tposeSeqSet", + "overloads": [ + { + "args": [ + { + "type": "tpose[]", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tposeSeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "tpose[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tpose_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tpose_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tpose_out", + "overloads": [ + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpose_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "tpose_send", + "overloads": [ + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpose_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tpose_typmod_in", + "overloads": [ + { + "args": [ + { + "type": "cstring[]", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tprecision", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "timestamptz", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzset", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzspan", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tstzspanset", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "trajectory", + "overloads": [ + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpoint_trajectory", + "meos": "tpointseq_linear_trajectory" + }, + { + "pg": "Tpoint_trajectory", + "meos": "tpointseqset_linear_trajectory" + }, + { + "pg": "Tpoint_trajectory", + "meos": "tpoint_trajectory" + }, + { + "pg": "Tnpoint_trajectory", + "meos": "tnpoint_trajectory" + } + ] + }, + { + "name": "transform", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbufferset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "poseset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Spatialset_transform", + "meos": "spatialset_transform" + } + ] + }, + { + "name": "transformPipeline", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "cbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "cbuffer", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "cbufferset", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "pose", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "poseset", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "geomset", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "geogset", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 4 + } + ], + "c": [ + { + "pg": "Spatialset_transform_pipeline", + "meos": "spatialset_transform_pipeline" + } + ] + }, + { + "name": "transform_gk", + "overloads": [ + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "translate", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 4, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "transscale", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeometry", + "minArity": 5, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + }, + { + "type": "float8", + "hasDefault": false, + "default": null + } + ], + "returns": "tgeompoint", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "traversedArea", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "bool", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "geography", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_traversed_area", + "meos": "trgeometry_traversed_area" + }, + { + "pg": "Tcbuffer_traversed_area", + "meos": "tcbufferinst_traversed_area" + }, + { + "pg": "Tcbuffer_traversed_area", + "meos": "tcbufferseq_discstep_traversed_area" + }, + { + "pg": "Tcbuffer_traversed_area", + "meos": "tcbufferseq_linear_traversed_area" + }, + { + "pg": "Tcbuffer_traversed_area", + "meos": "tcbufferseq_traversed_area" + }, + { + "pg": "Tcbuffer_traversed_area", + "meos": "tcbufferseqset_step_traversed_area" + }, + { + "pg": "Tcbuffer_traversed_area", + "meos": "tcbufferseqset_linear_traversed_area" + }, + { + "pg": "Tcbuffer_traversed_area", + "meos": "tcbufferseqset_traversed_area" + }, + { + "pg": "Tcbuffer_traversed_area", + "meos": "tcbuffer_traversed_area" + }, + { + "pg": "Tgeo_traversed_area", + "meos": "tgeo_traversed_area" + } + ] + }, + { + "name": "trend", + "overloads": [ + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "tint", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tnumber_trend", + "meos": "tnumberseq_trend" + }, + { + "pg": "Tnumber_trend", + "meos": "tnumberseqset_trend" + }, + { + "pg": "Tnumber_trend", + "meos": "tnumber_trend" + } + ] + }, + { + "name": "trgeo_typmod_in", + "overloads": [ + { + "args": [ + { + "type": "cstring[]", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "trgeometry", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "pose", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "geometry", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "trgeometryFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "trgeometryFromEWKB", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "trgeometryFromEWKT", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "trgeometryFromHexEWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "trgeometryFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "trgeometryFromText", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "trgeometryInst", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_to_tinstant", + "meos": "trgeometry_to_tinstant" + } + ] + }, + { + "name": "trgeometrySeq", + "overloads": [ + { + "args": [ + { + "type": "trgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_to_tsequence", + "meos": "trgeo_to_tsequence" + } + ] + }, + { + "name": "trgeometrySeqSet", + "overloads": [ + { + "args": [ + { + "type": "trgeometry[]", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "trgeometrySeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "trgeometry[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "float", + "hasDefault": true, + "default": "NULL" + }, + { + "type": "text", + "hasDefault": true, + "default": "'linear'" + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "trgeometry_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "trgeometry_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "trgeometry_out", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "trgeometry_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "trgeometry_send", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "trgeometry_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tsample", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03')\n-- RETURNS trgeometry\n-- AS 'MODULE_PATHNAME', 'Temporal_tsample'\n-- LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE;\n\n/*****************************************************************************\n * Restriction Functions\n *****************************************************************************/\n\n-- CREATE FUNCTION atValues(trgeometry" + }, + { + "type": "minusValues(trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "atValues(trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "minusValues(trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "atTime(trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "trgeometry", + "minArity": 7, + "maxArity": 8 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 4 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + }, + { + "type": "text", + "hasDefault": true, + "default": "'discrete'" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tspatial_analyze", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tspatial_extent_transfn", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "stbox", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tspatial_gist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tspatial_joinsel", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "tspatial_sel", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 4, + "maxArity": 4 + } + ], + "c": [] + }, + { + "name": "tspatial_spgist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tspatial_supportfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tspatial_typmod_out", + "overloads": [ + { + "args": [ + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzset", + "overloads": [ + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Dateset_to_tstzset", + "meos": "dateset_to_tstzset" + } + ] + }, + { + "name": "tstzsetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzsetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzset_out", + "overloads": [ + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzset_send", + "overloads": [ + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzset_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspan", + "overloads": [ + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspanFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspanFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspan_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspan_out", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspan_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspan_send", + "overloads": [ + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspan_spgist_config", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "void", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "tstzspan_union_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspanset", + "overloads": [ + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Datespanset_to_tstzspanset", + "meos": "datespanset_to_tstzspanset" + } + ] + }, + { + "name": "tstzspansetFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspansetFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspanset_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspanset_out", + "overloads": [ + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "cstring", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspanset_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "tstzspanset_send", + "overloads": [ + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bytea", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "ttext", + "overloads": [ + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "ttextFromBinary", + "overloads": [ + { + "args": [ + { + "type": "bytea", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "ttextFromHexWKB", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "ttextFromMFJSON", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "ttextInst", + "overloads": [ + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "ttextSeq", + "overloads": [ + { + "args": [ + { + "type": "ttext[]", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "'step'" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + }, + { + "type": "boolean", + "hasDefault": true, + "default": "true" + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 4 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "ttextSeqSet", + "overloads": [ + { + "args": [ + { + "type": "ttext[]", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "ttextSeqSetGaps", + "overloads": [ + { + "args": [ + { + "type": "ttext[]", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": true, + "default": "NULL" + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "ttext_cat", + "overloads": [ + { + "args": [ + { + "type": "text", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "text", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "ttext_gist_compress", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "ttext_gist_consistent", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "smallint", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 5, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "ttext_in", + "overloads": [ + { + "args": [ + { + "type": "cstring", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "ttext_recv", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "oid", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "ttext_tagg_finalfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "ttext_tmax_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "ttext_tmax_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "ttext_tmin_combinefn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "internal", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "ttext_tmin_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "twAvg", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tnumber_twavg", + "meos": "tnumberseq_twavg" + }, + { + "pg": "Tnumber_twavg", + "meos": "tnumberseqset_twavg" + }, + { + "pg": "Tnumber_twavg", + "meos": "tnumber_twavg" + } + ] + }, + { + "name": "twCentroid", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Trgeometry_twcentroid", + "meos": "trgeometry_twcentroid" + }, + { + "pg": "Tpoint_twcentroid", + "meos": "tpointseq_twcentroid" + }, + { + "pg": "Tpoint_twcentroid", + "meos": "tpointseqset_twcentroid" + }, + { + "pg": "Tpoint_twcentroid", + "meos": "tpoint_twcentroid" + }, + { + "pg": "Tnpoint_twcentroid", + "meos": "tnpoint_twcentroid" + } + ] + }, + { + "name": "unnest", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + } + ], + "returns": "SETOF", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "update", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "trgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tcbuffer", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tpose", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeometry", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeography", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeompoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tgeogpoint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbool", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tbigint", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tfloat", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "ttext", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "TRUE" + } + ], + "returns": "tnpoint", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Temporal_update", + "meos": "temporal_update" + } + ] + }, + { + "name": "upper", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + } + ], + "returns": "textset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "ttext", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Textset_upper", + "meos": "textset_upper" + }, + { + "pg": "Span_upper", + "meos": "intspan_upper" + }, + { + "pg": "Span_upper", + "meos": "bigintspan_upper" + }, + { + "pg": "Span_upper", + "meos": "floatspan_upper" + }, + { + "pg": "Span_upper", + "meos": "datespan_upper" + }, + { + "pg": "Span_upper", + "meos": "tstzspan_upper" + }, + { + "pg": "Spanset_upper", + "meos": "intspanset_upper" + }, + { + "pg": "Spanset_upper", + "meos": "bigintspanset_upper" + }, + { + "pg": "Spanset_upper", + "meos": "floatspanset_upper" + }, + { + "pg": "Spanset_upper", + "meos": "tstzspanset_upper" + }, + { + "pg": "Spanset_upper", + "meos": "spanset_upper" + }, + { + "pg": "Ttext_upper", + "meos": "ttext_upper" + } + ] + }, + { + "name": "upperInc", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspan", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "datespanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tstzspanset", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Temporal_upper_inc", + "meos": "temporal_upper_inc" + } + ] + }, + { + "name": "v_clip_poly_point", + "overloads": [ + { + "args": [ + { + "type": "geometry(Polygon)", + "hasDefault": false, + "default": null + }, + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "v_clip_poly_poly", + "overloads": [ + { + "args": [ + { + "type": "geometry(Polygon)", + "hasDefault": false, + "default": null + }, + { + "type": "geometry(Polygon)", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [] + }, + { + "name": "v_clip_tpoly_point", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry(Point)", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "v_clip_tpoly_poly", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "geometry(Polygon)", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "v_clip_tpoly_tpoint", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "v_clip_tpoly_tpoly", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "valueAtTimestamp", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "boolean", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "timestamptz", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Temporal_value_at_timestamptz", + "meos": "tcbuffer_value_at_timestamptz" + }, + { + "pg": "Temporal_value_at_timestamptz", + "meos": "tpose_value_at_timestamptz" + }, + { + "pg": "Temporal_value_at_timestamptz", + "meos": "tgeo_value_at_timestamptz" + }, + { + "pg": "Temporal_value_at_timestamptz", + "meos": "tbool_value_at_timestamptz" + }, + { + "pg": "Temporal_value_at_timestamptz", + "meos": "tint_value_at_timestamptz" + }, + { + "pg": "Temporal_value_at_timestamptz", + "meos": "tfloat_value_at_timestamptz" + }, + { + "pg": "Temporal_value_at_timestamptz", + "meos": "ttext_value_at_timestamptz" + }, + { + "pg": "Temporal_value_at_timestamptz", + "meos": "temporal_value_at_timestamptz" + }, + { + "pg": "Temporal_value_at_timestamptz", + "meos": "tnpoint_value_at_timestamptz" + } + ] + }, + { + "name": "valueBins", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": true, + "default": "0" + } + ], + "returns": "intspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": true, + "default": "0" + } + ], + "returns": "bigintspan[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + } + ], + "returns": "floatspan[]", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "valueBoxes", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": true, + "default": "0" + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + } + ], + "returns": "tbox[]", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "valueN", + "overloads": [ + { + "args": [ + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "cbufferset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "cbuffer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpointset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "pcpatchset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "pcpatch", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "poseset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "pose", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geomset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "geometry", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "geogset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "geography", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "h3indexset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "th3index", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "h3index", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "bool", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "ttext", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "intset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "integer", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "textset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "text", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "dateset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "date", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tstzset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "timestamptz", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 2, + "maxArity": 2 + }, + { + "args": [ + { + "type": "npointset", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + } + ], + "returns": "npoint", + "minArity": 2, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Trgeometry_value_n", + "meos": "trgeometry_value_n" + }, + { + "pg": "Set_value_n", + "meos": "cbufferset_value_n" + }, + { + "pg": "Temporal_value_n", + "meos": "tcbuffer_value_n" + }, + { + "pg": "Set_value_n", + "meos": "pcpointset_value_n" + }, + { + "pg": "Set_value_n", + "meos": "pcpatchset_value_n" + }, + { + "pg": "Set_value_n", + "meos": "poseset_value_n" + }, + { + "pg": "Temporal_value_n", + "meos": "tpose_value_n" + }, + { + "pg": "Temporal_value_n", + "meos": "tgeo_value_n" + }, + { + "pg": "Set_value_n", + "meos": "geoset_value_n" + }, + { + "pg": "Set_value_n", + "meos": "intset_value_n" + }, + { + "pg": "Set_value_n", + "meos": "bigintset_value_n" + }, + { + "pg": "Set_value_n", + "meos": "floatset_value_n" + }, + { + "pg": "Set_value_n", + "meos": "textset_value_n" + }, + { + "pg": "Set_value_n", + "meos": "dateset_value_n" + }, + { + "pg": "Set_value_n", + "meos": "tstzset_value_n" + }, + { + "pg": "Temporal_value_n", + "meos": "tbool_value_n" + }, + { + "pg": "Temporal_value_n", + "meos": "tint_value_n" + }, + { + "pg": "Temporal_value_n", + "meos": "tbigint_value_n" + }, + { + "pg": "Temporal_value_n", + "meos": "tfloat_value_n" + }, + { + "pg": "Temporal_value_n", + "meos": "ttext_value_n" + }, + { + "pg": "Set_value_n", + "meos": "npointset_value_n" + }, + { + "pg": "Temporal_value_n", + "meos": "tnpoint_value_n" + } + ] + }, + { + "name": "valueSet", + "overloads": [ + { + "args": [ + { + "type": "tgeometry", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeography", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geomset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + } + ], + "returns": "geogset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "intset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintset", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "floatset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [] + }, + { + "name": "valueSpan", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + } + ], + "returns": "intspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + } + ], + "returns": "bigintspan", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + } + ], + "returns": "floatspan", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tnumber_to_span", + "meos": "tnumber_to_span" + } + ] + }, + { + "name": "valueSplit", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": true, + "default": "0" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 3 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [ + { + "pg": "Tnumber_value_split", + "meos": "tint_value_split" + }, + { + "pg": "Tnumber_value_split", + "meos": "tfloat_value_split" + } + ] + }, + { + "name": "valueTiles", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + } + ], + "returns": "SETOF", + "minArity": 2, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "valueTimeBoxes", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "int", + "hasDefault": true, + "default": "0" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tbox[]", + "minArity": 3, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": true, + "default": "0" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tbox[]", + "minArity": 3, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "tbox[]", + "minArity": 3, + "maxArity": 5 + } + ], + "c": [] + }, + { + "name": "valueTimeSplit", + "overloads": [ + { + "args": [ + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "integer", + "hasDefault": true, + "default": "0" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "bigint", + "hasDefault": true, + "default": "0" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 5 + }, + { + "args": [ + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 5 + } + ], + "c": [ + { + "pg": "Tnumber_value_time_split", + "meos": "tint_value_time_split" + }, + { + "pg": "Tnumber_value_time_split", + "meos": "tfloat_value_time_split" + } + ] + }, + { + "name": "valueTimeTiles", + "overloads": [ + { + "args": [ + { + "type": "tbox", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + }, + { + "type": "float", + "hasDefault": true, + "default": "0.0" + }, + { + "type": "timestamptz", + "hasDefault": true, + "default": "'2000-01-03'" + } + ], + "returns": "SETOF", + "minArity": 3, + "maxArity": 5 + } + ], + "c": [ + { + "pg": "Tbox_value_time_tiles", + "meos": "tintbox_value_time_tiles" + }, + { + "pg": "Tbox_value_time_tiles", + "meos": "tfloatbox_value_time_tiles" + }, + { + "pg": "Tbox_value_tiles", + "meos": "tintbox_value_tiles" + }, + { + "pg": "Tbox_value_tiles", + "meos": "tfloatbox_value_tiles" + }, + { + "pg": "Tbox_time_tiles", + "meos": "tintbox_time_tiles" + }, + { + "pg": "Tbox_time_tiles", + "meos": "tfloatbox_time_tiles" + } + ] + }, + { + "name": "volume", + "overloads": [ + { + "args": [ + { + "type": "stbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Stbox_volume", + "meos": "stbox_volume" + } + ] + }, + { + "name": "wavg_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "wcount_transfn", + "overloads": [ + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "trgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tcbuffer", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpcpatch", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tpose", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeompoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeogpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeometry", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tgeography", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tbigint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tfloat", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + }, + { + "args": [ + { + "type": "internal", + "hasDefault": false, + "default": null + }, + { + "type": "tnpoint", + "hasDefault": false, + "default": null + }, + { + "type": "interval", + "hasDefault": false, + "default": null + } + ], + "returns": "internal", + "minArity": 3, + "maxArity": 3 + } + ], + "c": [] + }, + { + "name": "whenTrue", + "overloads": [ + { + "args": [ + { + "type": "tbool", + "hasDefault": false, + "default": null + } + ], + "returns": "tstzspanset", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tbool_when_true", + "meos": "tbool_when_true" + } + ] + }, + { + "name": "width", + "overloads": [ + { + "args": [ + { + "type": "intspan", + "hasDefault": false, + "default": null + } + ], + "returns": "int", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "bigintspan", + "hasDefault": false, + "default": null + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "floatspan", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "intspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "int", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "bigintspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "bigint", + "minArity": 1, + "maxArity": 2 + }, + { + "args": [ + { + "type": "floatspanset", + "hasDefault": false, + "default": null + }, + { + "type": "boolean", + "hasDefault": true, + "default": "FALSE" + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 2 + } + ], + "c": [ + { + "pg": "Numspan_width", + "meos": "intspan_width" + }, + { + "pg": "Numspan_width", + "meos": "bigintspan_width" + }, + { + "pg": "Numspan_width", + "meos": "floatspan_width" + }, + { + "pg": "Numspanset_width", + "meos": "intspanset_width" + }, + { + "pg": "Numspanset_width", + "meos": "bigintspanset_width" + }, + { + "pg": "Numspanset_width", + "meos": "floatspanset_width" + }, + { + "pg": "Numspanset_width", + "meos": "numspanset_width" + }, + { + "pg": "Numspan_width", + "meos": "numspan_width" + } + ] + }, + { + "name": "xmax", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpcbox_xmax", + "meos": "tpcbox_xmax" + } + ] + }, + { + "name": "xmin", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpcbox_xmin", + "meos": "tpcbox_xmin" + } + ] + }, + { + "name": "yaw", + "overloads": [ + { + "args": [ + { + "type": "tpose", + "hasDefault": false, + "default": null + } + ], + "returns": "tfloat", + "minArity": 1, + "maxArity": 1 + }, + { + "args": [ + { + "type": "pose", + "hasDefault": false, + "default": null + } + ], + "returns": "float", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Pose_yaw", + "meos": "pose_yaw" + } + ] + }, + { + "name": "ymax", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpcbox_ymax", + "meos": "tpcbox_ymax" + } + ] + }, + { + "name": "ymin", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpcbox_ymin", + "meos": "tpcbox_ymin" + } + ] + }, + { + "name": "zmax", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpcbox_zmax", + "meos": "tpcbox_zmax" + } + ] + }, + { + "name": "zmin", + "overloads": [ + { + "args": [ + { + "type": "tpcbox", + "hasDefault": false, + "default": null + } + ], + "returns": "float8", + "minArity": 1, + "maxArity": 1 + } + ], + "c": [ + { + "pg": "Tpcbox_zmin", + "meos": "tpcbox_zmin" + } + ] + } + ] +} \ No newline at end of file diff --git a/codegen/input/spark-impls.json b/codegen/input/spark-impls.json new file mode 100644 index 00000000..804b500e --- /dev/null +++ b/codegen/input/spark-impls.json @@ -0,0 +1,20599 @@ +{ + "implCount": 1308, + "impls": { + "trgeometry": { + "field": "trgeometry", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "trgeometryInst": { + "field": "trgeometryInst", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tpose": { + "field": "tpose", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "trgeometryFromMFJSON": { + "field": "trgeometryFromMFJSON", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "trgeometryFromText": { + "field": "trgeometryFromText", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "trgeometryFromEWKT": { + "field": "trgeometryFromEWKT", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "trgeometryFromHexEWKB": { + "field": "trgeometryFromHexEWKB", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "trgeometryFromBinary": { + "field": "trgeometryFromBinary", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "trgeometryFromEWKB": { + "field": "trgeometryFromEWKB", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "trgeometrySeq": { + "field": "trgeometrySeq", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tsequence", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tsequence" + }, + "trgeometrySeqSet": { + "field": "trgeometrySeqSet", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tsequenceset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tsequenceset" + }, + "trgeometrySeqSetGaps": { + "field": "trgeometrySeqSetGaps", + "class": "RgeoUDFs", + "pkg": "org.mobilitydb.spark.rgeo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String[]", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "tsequenceset_make_gaps", + "temporal_as_hexwkb" + ], + "primaryMeos": "tsequenceset_make_gaps" + }, + "cbuffer": { + "field": "cbuffer", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "geo_from_text" + ], + "primaryMeos": "geo_from_text" + }, + "point": { + "field": "point", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "geo_as_text" + ], + "primaryMeos": "geo_as_text" + }, + "radius": { + "field": "radius", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [], + "primaryMeos": null + }, + "cbufferContains": { + "field": "cbufferContains", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferCovers": { + "field": "cbufferCovers", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferDisjoint": { + "field": "cbufferDisjoint", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferIntersects": { + "field": "cbufferIntersects", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferTouches": { + "field": "cbufferTouches", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferDwithin": { + "field": "cbufferDwithin", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "BooleanType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferSame": { + "field": "cbufferSame", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbuffersetFromHexWKB": { + "field": "cbuffersetFromHexWKB", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "cbuffersetFromBinary": { + "field": "cbuffersetFromBinary", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "tcbuffer": { + "field": "tcbuffer", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tcbufferInst": { + "field": "tcbufferInst", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "tfloatinst_make", + "temporal_as_hexwkb", + "temporal_from_hexwkb" + ], + "primaryMeos": "tfloatinst_make" + }, + "tcbufferFromText": { + "field": "tcbufferFromText", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tcbufferFromEWKT": { + "field": "tcbufferFromEWKT", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tcbufferFromHexEWKB": { + "field": "tcbufferFromHexEWKB", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tcbufferFromBinary": { + "field": "tcbufferFromBinary", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tcbufferFromEWKB": { + "field": "tcbufferFromEWKB", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tcbufferSeq": { + "field": "tcbufferSeq", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tsequence", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tsequence" + }, + "tcbufferSeqSet": { + "field": "tcbufferSeqSet", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tsequenceset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tsequenceset" + }, + "tcbufferSeqSetGaps": { + "field": "tcbufferSeqSetGaps", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String[]", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "tsequenceset_make_gaps", + "temporal_as_hexwkb" + ], + "primaryMeos": "tsequenceset_make_gaps" + }, + "points": { + "field": "points", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "tcbufferRadius": { + "field": "tcbufferRadius", + "class": "CbufferUDFs", + "pkg": "org.mobilitydb.spark.cbuffer", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "pose": { + "field": "pose", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "Double", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "rotation": { + "field": "rotation", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [], + "primaryMeos": null + }, + "poseSame": { + "field": "poseSame", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "poseFromText": { + "field": "poseFromText", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "poseFromEWKT": { + "field": "poseFromEWKT", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "poseFromHexEWKB": { + "field": "poseFromHexEWKB", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "poseFromBinary": { + "field": "poseFromBinary", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "poseFromEWKB": { + "field": "poseFromEWKB", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "posesetFromHexWKB": { + "field": "posesetFromHexWKB", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "posesetFromText": { + "field": "posesetFromText", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "posesetFromEWKT": { + "field": "posesetFromEWKT", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "posesetFromBinary": { + "field": "posesetFromBinary", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "posesetFromEWKB": { + "field": "posesetFromEWKB", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tposeInst": { + "field": "tposeInst", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "java.sql.Timestamp" + ], + "retType": "String", + "meosFns": [ + "tfloatinst_make", + "temporal_as_hexwkb", + "temporal_from_hexwkb" + ], + "primaryMeos": "tfloatinst_make" + }, + "tposeFromText": { + "field": "tposeFromText", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tposeFromEWKT": { + "field": "tposeFromEWKT", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tposeFromMFJSON": { + "field": "tposeFromMFJSON", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tposeFromHexEWKB": { + "field": "tposeFromHexEWKB", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tposeFromBinary": { + "field": "tposeFromBinary", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tposeFromEWKB": { + "field": "tposeFromEWKB", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tposeSeq": { + "field": "tposeSeq", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tsequence", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tsequence" + }, + "tposeSeqSet": { + "field": "tposeSeqSet", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tsequenceset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tsequenceset" + }, + "tposeSeqSetGaps": { + "field": "tposeSeqSetGaps", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String[]", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "tsequenceset_make_gaps", + "temporal_as_hexwkb" + ], + "primaryMeos": "tsequenceset_make_gaps" + }, + "tposePoints": { + "field": "tposePoints", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "tposeRotation": { + "field": "tposeRotation", + "class": "PoseUDFs", + "pkg": "org.mobilitydb.spark.pose", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "geomBuffer": { + "field": "geomBuffer", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geom_buffer", + "geo_as_text" + ], + "primaryMeos": "geom_buffer" + }, + "geomConvexHull": { + "field": "geomConvexHull", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geom_convex_hull", + "geo_as_text" + ], + "primaryMeos": "geom_convex_hull" + }, + "geomIntersection": { + "field": "geomIntersection", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geom_intersection2d", + "geo_as_text" + ], + "primaryMeos": "geom_intersection2d" + }, + "setSRID": { + "field": "setSRID", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_set_srid", + "temporal_as_hexwkb" + ], + "primaryMeos": "tspatial_set_srid" + }, + "transform": { + "field": "transform", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_transform", + "temporal_as_hexwkb" + ], + "primaryMeos": "tspatial_transform" + }, + "asText": { + "field": "asText", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_as_text" + ], + "primaryMeos": "tspatial_as_text" + }, + "asEWKT": { + "field": "asEWKT", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_as_ewkt" + ], + "primaryMeos": "tspatial_as_ewkt" + }, + "atElevation": { + "field": "atElevation", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "floatspan_make", + "tpoint_at_elevation", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_at_elevation" + }, + "tContains": { + "field": "tContains", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tcontains_geo_tgeo", + "temporal_as_hexwkb" + ], + "primaryMeos": "tcontains_geo_tgeo" + }, + "tCovers": { + "field": "tCovers", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tcovers_tgeo_tgeo", + "temporal_as_hexwkb" + ], + "primaryMeos": "tcovers_tgeo_tgeo" + }, + "tDwithin": { + "field": "tDwithin", + "class": "BerlinMODUDFs", + "pkg": "org.mobilitydb.spark.demo", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Number" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tdwithin_tgeo_tgeo", + "temporal_as_hexwkb" + ], + "primaryMeos": "tdwithin_tgeo_tgeo" + }, + "bearingToPoint": { + "field": "bearingToPoint", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "bearing_tpoint_point", + "temporal_as_hexwkb" + ], + "primaryMeos": "bearing_tpoint_point" + }, + "bearing": { + "field": "bearing", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "bearing_tpoint_tpoint", + "temporal_as_hexwkb" + ], + "primaryMeos": "bearing_tpoint_tpoint" + }, + "twCentroid": { + "field": "twCentroid", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_twcentroid", + "geo_as_text" + ], + "primaryMeos": "tpoint_twcentroid" + }, + "geoSame": { + "field": "geoSame", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "geo_from_text", + "geo_same" + ], + "primaryMeos": "geo_same" + }, + "tpointConvexHull": { + "field": "tpointConvexHull", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeo_convex_hull", + "geo_as_text" + ], + "primaryMeos": "tgeo_convex_hull" + }, + "tpointExpandSpace": { + "field": "tpointExpandSpace", + "class": "GeoAnalyticsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_expand_space", + "stbox_as_hexwkb", + "tspatial_transform_pipeline", + "temporal_as_hexwkb", + "stbox_from_hexwkb", + "stbox_transform_pipeline", + "geo_from_text" + ], + "primaryMeos": "stbox_transform_pipeline" + }, + "eIntersects": { + "field": "eIntersects", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_isgeodetic", + "stbox_srid", + "geo_from_text", + "geom_to_geog", + "eintersects_tgeo_geo" + ], + "primaryMeos": "eintersects_tgeo_geo" + }, + "eDisjoint": { + "field": "eDisjoint", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_srid", + "geo_from_text", + "edisjoint_tgeo_geo" + ], + "primaryMeos": "edisjoint_tgeo_geo" + }, + "eTouches": { + "field": "eTouches", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_srid", + "geo_from_text", + "etouches_tgeo_geo" + ], + "primaryMeos": "etouches_tgeo_geo" + }, + "eCovers": { + "field": "eCovers", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_srid", + "geo_from_text", + "ecovers_tgeo_geo" + ], + "primaryMeos": "ecovers_tgeo_geo" + }, + "eContains": { + "field": "eContains", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_srid", + "geo_from_text", + "econtains_geo_tgeo" + ], + "primaryMeos": "econtains_geo_tgeo" + }, + "eDisjointTgeoTgeo": { + "field": "eDisjointTgeoTgeo", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "edisjoint_tgeo_tgeo" + ], + "primaryMeos": "edisjoint_tgeo_tgeo" + }, + "eIntersectsTgeoTgeo": { + "field": "eIntersectsTgeoTgeo", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "eintersects_tgeo_tgeo" + ], + "primaryMeos": "eintersects_tgeo_tgeo" + }, + "nearestApproachDistance": { + "field": "nearestApproachDistance", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "nad_tgeo_tgeo" + ], + "primaryMeos": "nad_tgeo_tgeo" + }, + "eDwithin": { + "field": "eDwithin", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Number" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "edwithin_tgeo_tgeo" + ], + "primaryMeos": "edwithin_tgeo_tgeo" + }, + "eDwithinGeo": { + "field": "eDwithinGeo", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Number" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_srid", + "geo_from_text", + "edwithin_tgeo_geo" + ], + "primaryMeos": "edwithin_tgeo_geo" + }, + "aIntersects": { + "field": "aIntersects", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_srid", + "geo_from_text", + "aintersects_tgeo_geo" + ], + "primaryMeos": "aintersects_tgeo_geo" + }, + "aDisjoint": { + "field": "aDisjoint", + "class": "BerlinMODUDFs", + "pkg": "org.mobilitydb.spark.demo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "adisjoint_tgeo_tgeo" + ], + "primaryMeos": "adisjoint_tgeo_tgeo" + }, + "aDwithin": { + "field": "aDwithin", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Number" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "adwithin_tgeo_tgeo" + ], + "primaryMeos": "adwithin_tgeo_tgeo" + }, + "aDwithinGeo": { + "field": "aDwithinGeo", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Number" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_srid", + "geo_from_text", + "adwithin_tgeo_geo" + ], + "primaryMeos": "adwithin_tgeo_geo" + }, + "tgeompoint": { + "field": "tgeompoint", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tgeompoint_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "trajectory": { + "field": "trajectory", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_trajectory", + "geo_as_hexewkb" + ], + "primaryMeos": "geo_as_hexewkb" + }, + "geomFromText": { + "field": "geomFromText", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geo_as_hexewkb" + ], + "primaryMeos": "geo_as_hexewkb" + }, + "getX": { + "field": "getX", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_get_x", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_get_x" + }, + "getY": { + "field": "getY", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_get_y", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_get_y" + }, + "getZ": { + "field": "getZ", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_hasz", + "tpoint_get_z", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_get_z" + }, + "cumulativeLength": { + "field": "cumulativeLength", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_cumulative_length", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_cumulative_length" + }, + "stops": { + "field": "stops", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Double", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_stops", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_stops" + }, + "isSimple": { + "field": "isSimple", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_is_simple" + ], + "primaryMeos": "tpoint_is_simple" + }, + "shortestLine": { + "field": "shortestLineTgeoGeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "geo_as_text" + ], + "primaryMeos": "geo_as_text" + }, + "tpointTransform": { + "field": "tpointTransform", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_transform", + "temporal_as_hexwkb" + ], + "primaryMeos": "tspatial_transform" + }, + "tpointAsText": { + "field": "tpointAsText", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_as_text" + ], + "primaryMeos": "tspatial_as_text" + }, + "tpointAsEWKT": { + "field": "tpointAsEWKT", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_as_ewkt" + ], + "primaryMeos": "tspatial_as_ewkt" + }, + "tpointSRID": { + "field": "tpointSRID", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_srid" + ], + "primaryMeos": "stbox_srid" + }, + "tpointSetSRID": { + "field": "tpointSetSRID", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_set_srid", + "temporal_as_hexwkb" + ], + "primaryMeos": "tspatial_set_srid" + }, + "tpointRound": { + "field": "tpointRound", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_round", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_round" + }, + "tpointToStbox": { + "field": "tpointToStbox", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_as_hexwkb" + ], + "primaryMeos": "tspatial_to_stbox" + }, + "expandSpace": { + "field": "expandSpace", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Number" + ], + "retType": "String", + "meosFns": [ + "stbox_from_hexwkb", + "temporal_from_hexwkb", + "tspatial_to_stbox", + "stbox_expand_space", + "stbox_as_hexwkb" + ], + "primaryMeos": "stbox_expand_space" + }, + "geoAsEwkt": { + "field": "geoAsEwkt", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geo_as_ewkt" + ], + "primaryMeos": "geo_as_ewkt" + }, + "geoAsGeojson": { + "field": "geoAsGeojson", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Integer", + "Integer" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geo_as_geojson" + ], + "primaryMeos": "geo_as_geojson" + }, + "geoFromGeojson": { + "field": "geoFromGeojson", + "class": "GeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_geojson", + "geo_as_text" + ], + "primaryMeos": "geo_from_geojson" + }, + "geomContains": { + "field": "geomContains", + "class": "BerlinMODUDFs", + "pkg": "org.mobilitydb.spark.demo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "geo_from_text", + "pg_timestamptz_in", + "tpointinst_make", + "econtains_geo_tgeo" + ], + "primaryMeos": "econtains_geo_tgeo" + }, + "geomCovers": { + "field": "geomCovers", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "geo_from_text", + "geom_covers" + ], + "primaryMeos": "geom_covers" + }, + "geomDisjoint": { + "field": "geomDisjoint", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "geo_from_text", + "geom_disjoint2d" + ], + "primaryMeos": "geom_disjoint2d" + }, + "geomIntersects": { + "field": "geomIntersects", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "geo_from_text", + "geom_intersects2d" + ], + "primaryMeos": "geom_intersects2d" + }, + "geomTouches": { + "field": "geomTouches", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "geo_from_text", + "geom_touches" + ], + "primaryMeos": "geom_touches" + }, + "geomDwithin": { + "field": "geomDwithin", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Number" + ], + "retType": "Boolean", + "meosFns": [ + "geo_from_text", + "geom_dwithin2d" + ], + "primaryMeos": "geom_dwithin2d" + }, + "geomDistance": { + "field": "geomDistance", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "geo_from_text", + "geom_distance2d" + ], + "primaryMeos": "geom_distance2d" + }, + "geomLength": { + "field": "geomLength", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "geo_from_text", + "geom_length" + ], + "primaryMeos": "geom_length" + }, + "geomPerimeter": { + "field": "geomPerimeter", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "geo_from_text", + "geom_perimeter" + ], + "primaryMeos": "geom_perimeter" + }, + "geomCentroid": { + "field": "geomCentroid", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geom_centroid", + "geo_as_text" + ], + "primaryMeos": "geom_centroid" + }, + "geomBoundary": { + "field": "geomBoundary", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geom_boundary", + "geo_as_text" + ], + "primaryMeos": "geom_boundary" + }, + "geomDifference": { + "field": "geomDifference", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geom_difference2d", + "geo_as_text" + ], + "primaryMeos": "geom_difference2d" + }, + "geomUnaryUnion": { + "field": "geomUnaryUnion", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geom_unary_union", + "geo_as_text" + ], + "primaryMeos": "geom_unary_union" + }, + "geoReverse": { + "field": "geoReverse", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geo_reverse", + "geo_as_text" + ], + "primaryMeos": "geo_reverse" + }, + "geoRound": { + "field": "geoRound", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geo_round", + "geo_as_text" + ], + "primaryMeos": "geo_round" + }, + "lineInterpolatePoint": { + "field": "lineInterpolatePoint", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "line_interpolate_point", + "geo_as_text" + ], + "primaryMeos": "line_interpolate_point" + }, + "lineSubstring": { + "field": "lineSubstring", + "class": "StaticGeoUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "line_substring", + "geo_as_text" + ], + "primaryMeos": "line_substring" + }, + "tdistanceTgeoGeo": { + "field": "tdistanceTgeoGeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tdistance_tgeo_geo", + "temporal_as_hexwkb" + ], + "primaryMeos": "tdistance_tgeo_geo" + }, + "tdistanceTgeoTgeo": { + "field": "tdistanceTgeoTgeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tdistance_tgeo_tgeo", + "temporal_as_hexwkb" + ], + "primaryMeos": "tdistance_tgeo_tgeo" + }, + "tdistanceTfloatFloat": { + "field": "tdistanceTfloatFloat", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tdistance_tfloat_float", + "temporal_as_hexwkb" + ], + "primaryMeos": "tdistance_tfloat_float" + }, + "tdistanceTintInt": { + "field": "tdistanceTintInt", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tdistance_tint_int", + "temporal_as_hexwkb" + ], + "primaryMeos": "tdistance_tint_int" + }, + "tdistanceTnumberTnumber": { + "field": "tdistanceTnumberTnumber", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tdistance_tnumber_tnumber", + "temporal_as_hexwkb" + ], + "primaryMeos": "tdistance_tnumber_tnumber" + }, + "nadTgeoGeo": { + "field": "nadTgeoGeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text" + ], + "primaryMeos": "geo_from_text" + }, + "nadTgeoStbox": { + "field": "nadTgeoStbox", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "stbox_from_hexwkb" + ], + "primaryMeos": "stbox_from_hexwkb" + }, + "nadTgeoTgeo": { + "field": "nadTgeoTgeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb" + ], + "primaryMeos": "temporal_from_hexwkb" + }, + "naiTgeoGeo": { + "field": "naiTgeoGeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "naiTgeoTgeo": { + "field": "naiTgeoTgeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "shortestLineTgeoGeo": { + "field": "shortestLineTgeoGeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "geo_as_text" + ], + "primaryMeos": "geo_as_text" + }, + "shortestLineTgeoTgeo": { + "field": "shortestLineTgeoTgeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "shortestline_tgeo_tgeo", + "geo_as_text" + ], + "primaryMeos": "shortestline_tgeo_tgeo" + }, + "minDistanceTgeoGeo": { + "field": "minDistanceTgeoGeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text" + ], + "primaryMeos": "geo_from_text" + }, + "minDistanceTgeoTgeo": { + "field": "minDistanceTgeoTgeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb" + ], + "primaryMeos": "temporal_from_hexwkb" + }, + "minDistanceTgeoarrTgeoarr": { + "field": "minDistanceTgeoarrTgeoarr", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "Object", + "Object" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "mindistance_tgeoarr_tgeoarr", + "spanset_as_hexwkb" + ], + "primaryMeos": "mindistance_tgeoarr_tgeoarr" + }, + "nearestApproachInstant": { + "field": "naiTgeoGeo", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "minDistance": { + "field": "minDistanceTgeoarrTgeoarr", + "class": "DistanceUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "Object", + "Object" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "mindistance_tgeoarr_tgeoarr", + "spanset_as_hexwkb" + ], + "primaryMeos": "mindistance_tgeoarr_tgeoarr" + }, + "stboxHasx": { + "field": "stboxHasx", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "stbox_hasx" + ], + "primaryMeos": "stbox_hasx" + }, + "stboxHast": { + "field": "stboxHast", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "stbox_hast" + ], + "primaryMeos": "stbox_hast" + }, + "stboxHasz": { + "field": "stboxHasz", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "stbox_hasz" + ], + "primaryMeos": "stbox_hasz" + }, + "stboxXmin": { + "field": "stboxXmin", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "stbox_xmin" + ], + "primaryMeos": "stbox_xmin" + }, + "stboxXmax": { + "field": "stboxXmax", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "stbox_xmax" + ], + "primaryMeos": "stbox_xmax" + }, + "stboxYmin": { + "field": "stboxYmin", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "stbox_ymin" + ], + "primaryMeos": "stbox_ymin" + }, + "stboxYmax": { + "field": "stboxYmax", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "stbox_ymax" + ], + "primaryMeos": "stbox_ymax" + }, + "stboxZmin": { + "field": "stboxZmin", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "stbox_zmin" + ], + "primaryMeos": "stbox_zmin" + }, + "stboxZmax": { + "field": "stboxZmax", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "stbox_zmax" + ], + "primaryMeos": "stbox_zmax" + }, + "stboxTmin": { + "field": "stboxTmin", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "stbox_tmin" + ], + "primaryMeos": "stbox_tmin" + }, + "stboxTmax": { + "field": "stboxTmax", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "stbox_tmax" + ], + "primaryMeos": "stbox_tmax" + }, + "stboxTminInc": { + "field": "stboxTminInc", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "stbox_tmin_inc" + ], + "primaryMeos": "stbox_tmin_inc" + }, + "stboxTmaxInc": { + "field": "stboxTmaxInc", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "stbox_tmax_inc" + ], + "primaryMeos": "stbox_tmax_inc" + }, + "stboxSrid": { + "field": "stboxSrid", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "stbox_srid" + ], + "primaryMeos": "stbox_srid" + }, + "stboxExpandSpace": { + "field": "stboxExpandSpace", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "stbox_expand_space" + ], + "primaryMeos": "stbox_expand_space" + }, + "stboxExpandTime": { + "field": "stboxExpandTime", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "pg_interval_in", + "stbox_expand_time" + ], + "primaryMeos": "stbox_expand_time" + }, + "stboxArea": { + "field": "stboxArea", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "stbox_area" + ], + "primaryMeos": "stbox_area" + }, + "stboxPerimeter": { + "field": "stboxPerimeter", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "stbox_perimeter" + ], + "primaryMeos": "stbox_perimeter" + }, + "stboxVolume": { + "field": "stboxVolume", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "stbox_volume" + ], + "primaryMeos": "stbox_volume" + }, + "stboxIsGeodetic": { + "field": "stboxIsGeodetic", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "stbox_isgeodetic" + ], + "primaryMeos": "stbox_isgeodetic" + }, + "stboxToGeo": { + "field": "stboxToGeo", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "stbox_to_geo", + "geo_as_text" + ], + "primaryMeos": "stbox_to_geo" + }, + "stboxToTstzspan": { + "field": "stboxToTstzspan", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "stbox_to_tstzspan", + "span_as_hexwkb" + ], + "primaryMeos": "stbox_to_tstzspan" + }, + "stboxRound": { + "field": "stboxRound", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "stbox_round" + ], + "primaryMeos": "stbox_round" + }, + "stboxSetSrid": { + "field": "stboxSetSrid", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "stbox_set_srid" + ], + "primaryMeos": "stbox_set_srid" + }, + "stboxShiftScaleTime": { + "field": "stboxShiftScaleTime", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "pg_interval_in", + "stbox_shift_scale_time" + ], + "primaryMeos": "stbox_shift_scale_time" + }, + "stboxGetSpace": { + "field": "stboxGetSpace", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "stbox_get_space" + ], + "primaryMeos": "stbox_get_space" + }, + "geoToStbox": { + "field": "geoToStbox", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geo_to_stbox" + ], + "primaryMeos": "geo_to_stbox" + }, + "tstzspanToStbox": { + "field": "tstzspanToStbox", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "tstzspan_to_stbox" + ], + "primaryMeos": "tstzspan_to_stbox" + }, + "timestamptzToStbox": { + "field": "timestamptzToStbox", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "java.sql.Timestamp" + ], + "retType": "String", + "meosFns": [ + "timestamptz_to_stbox" + ], + "primaryMeos": "timestamptz_to_stbox" + }, + "intersectionStboxStbox": { + "field": "intersectionStboxStbox", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "unionStboxStbox": { + "field": "unionStboxStbox", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "union_stbox_stbox" + ], + "primaryMeos": "union_stbox_stbox" + }, + "stboxIntersection": { + "field": "intersectionStboxStbox", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "stboxUnion": { + "field": "unionStboxStbox", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "union_stbox_stbox" + ], + "primaryMeos": "union_stbox_stbox" + }, + "stboxX": { + "field": "stboxX", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 4, + "argTypes": [ + "Double", + "Double", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "stboxT": { + "field": "stboxT", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "stboxXT": { + "field": "stboxXT", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 5, + "argTypes": [ + "Double", + "Double", + "Double", + "Double", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "stboxZ": { + "field": "stboxZ", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 6, + "argTypes": [ + "Double", + "Double", + "Double", + "Double", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "stboxZT": { + "field": "stboxZT", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 7, + "argTypes": [ + "Double", + "Double", + "Double", + "Double", + "Double", + "Double", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geodstboxZ": { + "field": "geodstboxZ", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 6, + "argTypes": [ + "Double", + "Double", + "Double", + "Double", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geodstboxT": { + "field": "geodstboxT", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geodstboxZT": { + "field": "geodstboxZT", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 7, + "argTypes": [ + "Double", + "Double", + "Double", + "Double", + "Double", + "Double", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "stboxContains": { + "field": "stboxContains", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxContained": { + "field": "stboxContained", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverlaps": { + "field": "stboxOverlaps", + "class": "BerlinMODUDFs", + "pkg": "org.mobilitydb.spark.demo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "stbox_from_hexwkb", + "overlaps_stbox_stbox" + ], + "primaryMeos": "overlaps_stbox_stbox" + }, + "stboxLeft": { + "field": "stboxLeft", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverleft": { + "field": "stboxOverleft", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxRight": { + "field": "stboxRight", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverright": { + "field": "stboxOverright", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxBelow": { + "field": "stboxBelow", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverbelow": { + "field": "stboxOverbelow", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxAbove": { + "field": "stboxAbove", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverabove": { + "field": "stboxOverabove", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxBefore": { + "field": "stboxBefore", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverbefore": { + "field": "stboxOverbefore", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxAfter": { + "field": "stboxAfter", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverafter": { + "field": "stboxOverafter", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxAdjacent": { + "field": "stboxAdjacent", + "class": "STBoxUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "span_from_hexwkb", + "stbox_make", + "stbox_as_hexwkb" + ], + "primaryMeos": "stbox_make" + }, + "translate": { + "field": "translate2", + "class": "GeoAffineUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "translate3": { + "field": "translate3", + "class": "GeoAffineUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 4, + "argTypes": [ + "String", + "Double", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "rotate": { + "field": "rotate", + "class": "GeoAffineUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "rotateX": { + "field": "rotateX", + "class": "GeoAffineUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "rotateY": { + "field": "rotateY", + "class": "GeoAffineUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "rotateZ": { + "field": "rotateZ", + "class": "GeoAffineUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "transscale": { + "field": "transscale", + "class": "GeoAffineUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 5, + "argTypes": [ + "String", + "Double", + "Double", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tDisjoint": { + "field": "tDisjoint", + "class": "TempSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tdisjoint_tgeo_geo" + ], + "primaryMeos": "tdisjoint_tgeo_geo" + }, + "tIntersects": { + "field": "tIntersects", + "class": "TempSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tintersects_tgeo_geo" + ], + "primaryMeos": "tintersects_tgeo_geo" + }, + "tTouches": { + "field": "tTouches", + "class": "TempSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "ttouches_tgeo_geo" + ], + "primaryMeos": "ttouches_tgeo_geo" + }, + "tDisjointTgeoTgeo": { + "field": "tDisjointTgeoTgeo", + "class": "TempSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tdisjoint_tgeo_tgeo" + ], + "primaryMeos": "tdisjoint_tgeo_tgeo" + }, + "tIntersectsTgeoTgeo": { + "field": "tIntersectsTgeoTgeo", + "class": "TempSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tintersects_tgeo_tgeo" + ], + "primaryMeos": "tintersects_tgeo_tgeo" + }, + "tTouchesTogeoTgeo": { + "field": "tTouchesTogeoTgeo", + "class": "TempSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttouches_tgeo_tgeo" + ], + "primaryMeos": "ttouches_tgeo_tgeo" + }, + "tContainsTgeoGeo": { + "field": "tContainsTgeoGeo", + "class": "TempSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tcontains_tgeo_geo" + ], + "primaryMeos": "tcontains_tgeo_geo" + }, + "tContainsTgeoTgeo": { + "field": "tContainsTgeoTgeo", + "class": "TempSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tcontains_tgeo_tgeo" + ], + "primaryMeos": "tcontains_tgeo_tgeo" + }, + "tCoversTgeoGeo": { + "field": "tCoversTgeoGeo", + "class": "TempSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tcovers_tgeo_geo" + ], + "primaryMeos": "tcovers_tgeo_geo" + }, + "tDwithinTgeoGeo": { + "field": "tDwithinTgeoGeo", + "class": "TempSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Number" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tdwithin_tgeo_geo" + ], + "primaryMeos": "tdwithin_tgeo_geo" + }, + "aDisjointTgeoGeo": { + "field": "aDisjointTgeoGeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aDisjointTgeoTgeo": { + "field": "aDisjointTgeoTgeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aIntersectsTgeoGeo": { + "field": "aIntersectsTgeoGeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aIntersectsTgeoTgeo": { + "field": "aIntersectsTgeoTgeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aTouchesTgeoGeo": { + "field": "aTouchesTgeoGeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aTouchesTgeoTgeo": { + "field": "aTouchesTgeoTgeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aContainsTgeoGeo": { + "field": "aContainsTgeoGeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aContainsTgeoTgeo": { + "field": "aContainsTgeoTgeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aContainsGeoTgeo": { + "field": "aContainsGeoTgeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aCoversTgeoGeo": { + "field": "aCoversTgeoGeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aDwithinTgeoGeo": { + "field": "aDwithinTgeoGeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "aDwithinTgeoTgeo": { + "field": "aDwithinTgeoTgeo", + "class": "AlwaysSpatialRelsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxLeftTpoint": { + "field": "stboxLeftTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverleftTpoint": { + "field": "stboxOverleftTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxRightTpoint": { + "field": "stboxRightTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverrightTpoint": { + "field": "stboxOverrightTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxBelowTpoint": { + "field": "stboxBelowTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverbelowTpoint": { + "field": "stboxOverbelowTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxAboveTpoint": { + "field": "stboxAboveTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOveraboveTpoint": { + "field": "stboxOveraboveTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxFrontTpoint": { + "field": "stboxFrontTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverfrontTpoint": { + "field": "stboxOverfrontTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxBackTpoint": { + "field": "stboxBackTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverbackTpoint": { + "field": "stboxOverbackTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxBeforeTpoint": { + "field": "stboxBeforeTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverbeforeTpoint": { + "field": "stboxOverbeforeTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxAfterTpoint": { + "field": "stboxAfterTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverafterTpoint": { + "field": "stboxOverafterTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxAdjacentTpoint": { + "field": "stboxAdjacentTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxContainsTpoint": { + "field": "stboxContainsTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxContainedTpoint": { + "field": "stboxContainedTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxOverlapsTpoint": { + "field": "stboxOverlapsTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxSameTpoint": { + "field": "stboxSameTpoint", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointLeftStbox": { + "field": "tpointLeftStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointOverleftStbox": { + "field": "tpointOverleftStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointRightStbox": { + "field": "tpointRightStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointOverrightStbox": { + "field": "tpointOverrightStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointBelowStbox": { + "field": "tpointBelowStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointOverbelowStbox": { + "field": "tpointOverbelowStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointAboveStbox": { + "field": "tpointAboveStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointOveraboveStbox": { + "field": "tpointOveraboveStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointFrontStbox": { + "field": "tpointFrontStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointOverfrontStbox": { + "field": "tpointOverfrontStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointBackStbox": { + "field": "tpointBackStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointOverbackStbox": { + "field": "tpointOverbackStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointBeforeStbox": { + "field": "tpointBeforeStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointOverbeforeStbox": { + "field": "tpointOverbeforeStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointAfterStbox": { + "field": "tpointAfterStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointOverafterStbox": { + "field": "tpointOverafterStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointAdjacentStbox": { + "field": "tpointAdjacentStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointContainsStbox": { + "field": "tpointContainsStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointContainedStbox": { + "field": "tpointContainedStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointOverlapsStbox": { + "field": "tpointOverlapsStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointSameStbox": { + "field": "tpointSameStbox", + "class": "TPointSTBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.geo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "h3IndexFromText": { + "field": "h3IndexFromText", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "LongType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Long", + "meosFns": [ + "h3index_parse" + ], + "primaryMeos": "h3index_parse" + }, + "h3IndexAsText": { + "field": "h3IndexAsText", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Long" + ], + "retType": "String", + "meosFns": [ + "h3index_to_string" + ], + "primaryMeos": "h3index_to_string" + }, + "h3IndexParse": { + "field": "h3IndexParse", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "LongType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Long", + "meosFns": [ + "h3index_parse" + ], + "primaryMeos": "h3index_parse" + }, + "h3IndexToString": { + "field": "h3IndexToString", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Long" + ], + "retType": "String", + "meosFns": [ + "h3index_to_string" + ], + "primaryMeos": "h3index_to_string" + }, + "h3IndexEq": { + "field": "h3IndexEq", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Long", + "Long" + ], + "retType": "Boolean", + "meosFns": [ + "h3index_eq" + ], + "primaryMeos": "h3index_eq" + }, + "h3IndexNe": { + "field": "h3IndexNe", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Long", + "Long" + ], + "retType": "Boolean", + "meosFns": [ + "h3index_ne" + ], + "primaryMeos": "h3index_ne" + }, + "h3IndexLt": { + "field": "h3IndexLt", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Long", + "Long" + ], + "retType": "Boolean", + "meosFns": [ + "h3index_lt" + ], + "primaryMeos": "h3index_lt" + }, + "h3IndexLe": { + "field": "h3IndexLe", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Long", + "Long" + ], + "retType": "Boolean", + "meosFns": [ + "h3index_le" + ], + "primaryMeos": "h3index_le" + }, + "h3IndexGt": { + "field": "h3IndexGt", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Long", + "Long" + ], + "retType": "Boolean", + "meosFns": [ + "h3index_gt" + ], + "primaryMeos": "h3index_gt" + }, + "h3IndexGe": { + "field": "h3IndexGe", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Long", + "Long" + ], + "retType": "Boolean", + "meosFns": [ + "h3index_ge" + ], + "primaryMeos": "h3index_ge" + }, + "h3IndexCmp": { + "field": "h3IndexCmp", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "Long", + "Long" + ], + "retType": "Integer", + "meosFns": [ + "h3index_cmp" + ], + "primaryMeos": "h3index_cmp" + }, + "h3IndexHash": { + "field": "h3IndexHash", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "LongType", + "arity": 1, + "argTypes": [ + "Long" + ], + "retType": "Long", + "meosFns": [ + "h3index_hash" + ], + "primaryMeos": "h3index_hash" + }, + "h3GridDisk": { + "field": "h3GridDisk", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Long", + "Integer" + ], + "retType": "String", + "meosFns": [ + "h3_grid_disk" + ], + "primaryMeos": "h3_grid_disk" + }, + "h3GridRing": { + "field": "h3GridRing", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Long", + "Integer" + ], + "retType": "String", + "meosFns": [ + "h3_grid_ring" + ], + "primaryMeos": "h3_grid_ring" + }, + "h3GridPathCells": { + "field": "h3GridPathCells", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Long", + "Long" + ], + "retType": "String", + "meosFns": [ + "h3_grid_path_cells" + ], + "primaryMeos": "h3_grid_path_cells" + }, + "h3CellToChildren": { + "field": "h3CellToChildren", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Long", + "Integer" + ], + "retType": "String", + "meosFns": [ + "h3_cell_to_children" + ], + "primaryMeos": "h3_cell_to_children" + }, + "h3CompactCells": { + "field": "h3CompactCells", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "h3_compact_cells" + ], + "primaryMeos": "h3_compact_cells" + }, + "h3UncompactCells": { + "field": "h3UncompactCells", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "h3_uncompact_cells" + ], + "primaryMeos": "h3_uncompact_cells" + }, + "h3OriginToDirectedEdges": { + "field": "h3OriginToDirectedEdges", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Long" + ], + "retType": "String", + "meosFns": [ + "h3_origin_to_directed_edges" + ], + "primaryMeos": "h3_origin_to_directed_edges" + }, + "h3CellToVertexes": { + "field": "h3CellToVertexes", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Long" + ], + "retType": "String", + "meosFns": [ + "h3_cell_to_vertexes" + ], + "primaryMeos": "h3_cell_to_vertexes" + }, + "h3GetIcosahedronFaces": { + "field": "h3GetIcosahedronFaces", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Long" + ], + "retType": "String", + "meosFns": [ + "h3_get_icosahedron_faces" + ], + "primaryMeos": "h3_get_icosahedron_faces" + }, + "th3IndexFromText": { + "field": "th3IndexFromText", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "th3index_in" + ], + "primaryMeos": "th3index_in" + }, + "th3IndexInstFromText": { + "field": "th3IndexInstFromText", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "th3indexinst_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "th3IndexSeqFromText": { + "field": "th3IndexSeqFromText", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "th3indexseq_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "th3IndexSeqSetFromText": { + "field": "th3IndexSeqSetFromText", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "th3indexseqset_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "th3IndexMake": { + "field": "th3IndexMake", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Long", + "Object" + ], + "retType": "String", + "meosFns": [ + "th3index_make" + ], + "primaryMeos": "th3index_make" + }, + "th3IndexInstMake": { + "field": "th3IndexInstMake", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Long", + "Object" + ], + "retType": "String", + "meosFns": [ + "th3indexinst_make", + "temporal_as_hexwkb" + ], + "primaryMeos": "th3indexinst_make" + }, + "th3IndexSeqMake": { + "field": "th3IndexSeqMake", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 5, + "argTypes": [ + "long[]", + "Object[]", + "Boolean", + "Boolean", + "Object" + ], + "retType": "String", + "meosFns": [ + "th3indexseq_make", + "temporal_as_hexwkb" + ], + "primaryMeos": "th3indexseq_make" + }, + "th3IndexSeqSetMake": { + "field": "th3IndexSeqSetMake", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String[]" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3indexseqset_make", + "temporal_as_hexwkb" + ], + "primaryMeos": "th3indexseqset_make" + }, + "th3IndexStartValue": { + "field": "th3IndexStartValue", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "LongType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Long", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_start_value" + ], + "primaryMeos": "th3index_start_value" + }, + "th3IndexEndValue": { + "field": "th3IndexEndValue", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "LongType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Long", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_end_value" + ], + "primaryMeos": "th3index_end_value" + }, + "th3IndexValueN": { + "field": "th3IndexValueN", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Long", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_value_n" + ], + "primaryMeos": "th3index_value_n" + }, + "th3IndexValueAtTimestamp": { + "field": "th3IndexValueAtTimestamp", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "LongType", + "arity": 3, + "argTypes": [ + "String", + "Object", + "Boolean" + ], + "retType": "Long", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_value_at_timestamptz" + ], + "primaryMeos": "th3index_value_at_timestamptz" + }, + "tbigintToTh3Index": { + "field": "tbigintToTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbigint_to_th3index" + ], + "primaryMeos": "tbigint_to_th3index" + }, + "th3IndexToTbigint": { + "field": "th3IndexToTbigint", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_to_tbigint" + ], + "primaryMeos": "th3index_to_tbigint" + }, + "everEqH3IndexTh3Index": { + "field": "everEqH3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Long", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everEqTh3IndexH3Index": { + "field": "everEqTh3IndexH3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everNeH3IndexTh3Index": { + "field": "everNeH3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Long", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everNeTh3IndexH3Index": { + "field": "everNeTh3IndexH3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysEqH3IndexTh3Index": { + "field": "alwaysEqH3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Long", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysEqTh3IndexH3Index": { + "field": "alwaysEqTh3IndexH3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysNeH3IndexTh3Index": { + "field": "alwaysNeH3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Long", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysNeTh3IndexH3Index": { + "field": "alwaysNeTh3IndexH3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "ever_eq_h3index_th3index", + "ever_eq_th3index_h3index", + "ever_ne_h3index_th3index", + "ever_ne_th3index_h3index", + "always_eq_h3index_th3index", + "always_eq_th3index_h3index", + "always_ne_h3index_th3index", + "always_ne_th3index_h3index" + ], + "primaryMeos": "always_ne_th3index_h3index" + }, + "everEqTh3IndexTh3Index": { + "field": "everEqTh3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everNeTh3IndexTh3Index": { + "field": "everNeTh3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysEqTh3IndexTh3Index": { + "field": "alwaysEqTh3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysNeTh3IndexTh3Index": { + "field": "alwaysNeTh3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "ever_eq_th3index_th3index", + "ever_ne_th3index_th3index", + "always_eq_th3index_th3index", + "always_ne_th3index_th3index" + ], + "primaryMeos": "always_ne_th3index_th3index" + }, + "teqH3IndexTh3Index": { + "field": "teqH3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Long", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "teq_h3index_th3index" + ], + "primaryMeos": "teq_h3index_th3index" + }, + "teqTh3IndexH3Index": { + "field": "teqTh3IndexH3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "teq_th3index_h3index" + ], + "primaryMeos": "teq_th3index_h3index" + }, + "teqTh3IndexTh3Index": { + "field": "teqTh3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "teq_th3index_th3index" + ], + "primaryMeos": "teq_th3index_th3index" + }, + "tneH3IndexTh3Index": { + "field": "tneH3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Long", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tne_h3index_th3index" + ], + "primaryMeos": "tne_h3index_th3index" + }, + "tneTh3IndexH3Index": { + "field": "tneTh3IndexH3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tne_th3index_h3index" + ], + "primaryMeos": "tne_th3index_h3index" + }, + "tneTh3IndexTh3Index": { + "field": "tneTh3IndexTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tne_th3index_th3index" + ], + "primaryMeos": "tne_th3index_th3index" + }, + "th3IndexGetResolution": { + "field": "th3IndexGetResolution", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexGetBaseCellNumber": { + "field": "th3IndexGetBaseCellNumber", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexIsValidCell": { + "field": "th3IndexIsValidCell", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexIsResClassIii": { + "field": "th3IndexIsResClassIii", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexIsPentagon": { + "field": "th3IndexIsPentagon", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_get_resolution", + "th3index_get_base_cell_number", + "th3index_is_valid_cell", + "th3index_is_res_class_iii", + "th3index_is_pentagon", + "th3index_cell_to_parent_next", + "th3index_cell_to_center_child_next", + "th3index_is_valid_directed_edge", + "th3index_get_directed_edge_origin", + "th3index_get_directed_edge_destination", + "th3index_directed_edge_to_boundary", + "th3index_vertex_to_latlng", + "th3index_is_valid_vertex", + "th3index_to_tgeogpoint", + "th3index_to_tgeompoint", + "th3index_cell_to_boundary" + ], + "primaryMeos": "th3index_cell_to_boundary" + }, + "th3IndexCellToParent": { + "field": "th3IndexCellToParent", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_cell_to_parent" + ], + "primaryMeos": "th3index_cell_to_parent" + }, + "th3IndexCellToParentNext": { + "field": "th3IndexCellToParentNext", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexCellToCenterChild": { + "field": "th3IndexCellToCenterChild", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_cell_to_center_child" + ], + "primaryMeos": "th3index_cell_to_center_child" + }, + "th3IndexCellToCenterChildNext": { + "field": "th3IndexCellToCenterChildNext", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexCellToChildPos": { + "field": "th3IndexCellToChildPos", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_cell_to_child_pos" + ], + "primaryMeos": "th3index_cell_to_child_pos" + }, + "th3IndexChildPosToCell": { + "field": "th3IndexChildPosToCell", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_child_pos_to_cell" + ], + "primaryMeos": "th3index_child_pos_to_cell" + }, + "tgeogpointToTh3Index": { + "field": "tgeogpointToTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeogpoint_to_th3index" + ], + "primaryMeos": "tgeogpoint_to_th3index" + }, + "tgeompointToTh3Index": { + "field": "tgeompointToTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeompoint_to_th3index" + ], + "primaryMeos": "tgeompoint_to_th3index" + }, + "th3IndexToTgeogpoint": { + "field": "th3IndexToTgeogpoint", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexToTgeompoint": { + "field": "th3IndexToTgeompoint", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexCellToBoundary": { + "field": "th3IndexCellToBoundary", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geomToH3Cell": { + "field": "geomToH3Cell", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Long", + "meosFns": [ + "geo_from_text", + "tpointinst_make", + "tgeompoint_to_th3index", + "th3index_start_value" + ], + "primaryMeos": "th3index_start_value" + }, + "geoToH3IndexSet": { + "field": "geoToH3IndexSet", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geo_to_h3index_set" + ], + "primaryMeos": "geo_to_h3index_set" + }, + "everIntersectsH3IndexSetTh3Index": { + "field": "everIntersectsH3IndexSetTh3Index", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "set_from_hexwkb", + "temporal_from_hexwkb", + "ever_eq_h3indexset_th3index" + ], + "primaryMeos": "ever_eq_h3indexset_th3index" + }, + "th3IndexAreNeighborCells": { + "field": "th3IndexAreNeighborCells", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_are_neighbor_cells" + ], + "primaryMeos": "th3index_are_neighbor_cells" + }, + "th3IndexCellsToDirectedEdge": { + "field": "th3IndexCellsToDirectedEdge", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_cells_to_directed_edge" + ], + "primaryMeos": "th3index_cells_to_directed_edge" + }, + "th3IndexIsValidDirectedEdge": { + "field": "th3IndexIsValidDirectedEdge", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexGetDirectedEdgeOrigin": { + "field": "th3IndexGetDirectedEdgeOrigin", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexGetDirectedEdgeDestination": { + "field": "th3IndexGetDirectedEdgeDestination", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexDirectedEdgeToBoundary": { + "field": "th3IndexDirectedEdgeToBoundary", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexCellToVertex": { + "field": "th3IndexCellToVertex", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_cell_to_vertex" + ], + "primaryMeos": "th3index_cell_to_vertex" + }, + "th3IndexVertexToLatlng": { + "field": "th3IndexVertexToLatlng", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexIsValidVertex": { + "field": "th3IndexIsValidVertex", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "th3IndexGridDistance": { + "field": "th3IndexGridDistance", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_grid_distance" + ], + "primaryMeos": "th3index_grid_distance" + }, + "th3IndexCellToLocalIj": { + "field": "th3IndexCellToLocalIj", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_cell_to_local_ij" + ], + "primaryMeos": "th3index_cell_to_local_ij" + }, + "th3IndexLocalIjToCell": { + "field": "th3IndexLocalIjToCell", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_local_ij_to_cell" + ], + "primaryMeos": "th3index_local_ij_to_cell" + }, + "th3IndexCellArea": { + "field": "th3IndexCellArea", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_cell_area" + ], + "primaryMeos": "th3index_cell_area" + }, + "th3IndexEdgeLength": { + "field": "th3IndexEdgeLength", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "th3index_edge_length" + ], + "primaryMeos": "th3index_edge_length" + }, + "tgeogpointGreatCircleDistance": { + "field": "tgeogpointGreatCircleDistance", + "class": "Th3IndexUDFs", + "pkg": "org.mobilitydb.spark.h3", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeogpoint_great_circle_distance" + ], + "primaryMeos": "tgeogpoint_great_circle_distance" + }, + "abs": { + "field": "abs", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_abs" + ], + "primaryMeos": "tnumber_abs" + }, + "ceil": { + "field": "ceil", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_ceil" + ], + "primaryMeos": "tfloat_ceil" + }, + "floor": { + "field": "floor", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_floor" + ], + "primaryMeos": "tfloat_floor" + }, + "exp": { + "field": "exp", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_exp" + ], + "primaryMeos": "tfloat_exp" + }, + "ln": { + "field": "ln", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_ln" + ], + "primaryMeos": "tfloat_ln" + }, + "log10": { + "field": "log10", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_log10" + ], + "primaryMeos": "tfloat_log10" + }, + "radians": { + "field": "radians", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_radians" + ], + "primaryMeos": "tfloat_radians" + }, + "derivative": { + "field": "derivative", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_derivative" + ], + "primaryMeos": "temporal_derivative" + }, + "deltavalue": { + "field": "deltavalue", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_delta_value" + ], + "primaryMeos": "tnumber_delta_value" + }, + "trend": { + "field": "trend", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_trend" + ], + "primaryMeos": "tnumber_trend" + }, + "degrees": { + "field": "degrees", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_degrees" + ], + "primaryMeos": "tfloat_degrees" + }, + "integral": { + "field": "integral", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_integral" + ], + "primaryMeos": "tnumber_integral" + }, + "twavg": { + "field": "twavg", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_twavg" + ], + "primaryMeos": "tnumber_twavg" + }, + "tnumber_add": { + "field": "tnumber_add", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "add_tnumber_tnumber" + ], + "primaryMeos": "add_tnumber_tnumber" + }, + "tnumber_sub": { + "field": "tnumber_sub", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "sub_tnumber_tnumber" + ], + "primaryMeos": "sub_tnumber_tnumber" + }, + "tnumber_mul": { + "field": "tnumber_mul", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "mul_tnumber_tnumber" + ], + "primaryMeos": "mul_tnumber_tnumber" + }, + "tnumber_div": { + "field": "tnumber_div", + "class": "MathGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "div_tnumber_tnumber" + ], + "primaryMeos": "div_tnumber_tnumber" + }, + "tfloatDerivative": { + "field": "tfloatDerivative", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_derivative", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_derivative" + }, + "tfloatRound": { + "field": "tfloatRound", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_round", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_round" + }, + "tfloatFloor": { + "field": "tfloatFloor", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_floor", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_floor" + }, + "tfloatCeil": { + "field": "tfloatCeil", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_ceil", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_ceil" + }, + "tfloatDegrees": { + "field": "tfloatDegrees", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_degrees", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_degrees" + }, + "tfloatRadians": { + "field": "tfloatRadians", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_radians", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_radians" + }, + "tnumberIntegral": { + "field": "tnumberIntegral", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_integral" + ], + "primaryMeos": "tnumber_integral" + }, + "tnumberTwavg": { + "field": "tnumberTwavg", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_twavg" + ], + "primaryMeos": "tnumber_twavg" + }, + "tnumberTrend": { + "field": "tnumberTrend", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_trend", + "temporal_as_hexwkb" + ], + "primaryMeos": "tnumber_trend" + }, + "tpointLength": { + "field": "tpointLength", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_length" + ], + "primaryMeos": "tpoint_length" + }, + "tpointSpeed": { + "field": "tpointSpeed", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_speed", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_speed" + }, + "tpointAzimuth": { + "field": "tpointAzimuth", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_azimuth", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_azimuth" + }, + "tpointDirection": { + "field": "tpointDirection", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_direction", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_direction" + }, + "tpointCumulativeLength": { + "field": "tpointCumulativeLength", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_cumulative_length", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_cumulative_length" + }, + "tgeoTraversedArea": { + "field": "tgeoTraversedArea", + "class": "AnalyticsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeo_traversed_area", + "geo_as_text" + ], + "primaryMeos": "tgeo_traversed_area" + }, + "span_union": { + "field": "spanUnion", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "super_union_span_span" + ], + "primaryMeos": "super_union_span_span" + }, + "span_minus": { + "field": "spanMinus", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "minus_span_span" + ], + "primaryMeos": "minus_span_span" + }, + "span_intersection": { + "field": "spanIntersection", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "intersection_span_span" + ], + "primaryMeos": "intersection_span_span" + }, + "spanset_union": { + "field": "spansetUnion", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "union_spanset_spanset" + ], + "primaryMeos": "union_spanset_spanset" + }, + "spanset_minus": { + "field": "spansetMinus", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "minus_spanset_spanset" + ], + "primaryMeos": "minus_spanset_spanset" + }, + "spanset_intersection": { + "field": "spansetIntersection", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "intersection_spanset_spanset" + ], + "primaryMeos": "intersection_spanset_spanset" + }, + "spann": { + "field": "spann", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_span_n" + ], + "primaryMeos": "spanset_span_n" + }, + "startSpan": { + "field": "startSpan", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_start_span" + ], + "primaryMeos": "spanset_start_span" + }, + "endSpan": { + "field": "endSpan", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_end_span" + ], + "primaryMeos": "spanset_end_span" + }, + "numSpans": { + "field": "numSpans", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_num_spans" + ], + "primaryMeos": "spanset_num_spans" + }, + "setUnion": { + "field": "setUnion", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "union_set_set", + "set_as_hexwkb" + ], + "primaryMeos": "union_set_set" + }, + "setMinus": { + "field": "setMinus", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "minus_set_set", + "set_as_hexwkb" + ], + "primaryMeos": "minus_set_set" + }, + "setIntersection": { + "field": "setIntersection", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "intersection_set_set", + "set_as_hexwkb" + ], + "primaryMeos": "intersection_set_set" + }, + "tbox_union": { + "field": "tboxUnion", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "tbox_from_hexwkb", + "union_tbox_tbox" + ], + "primaryMeos": "union_tbox_tbox" + }, + "tbox_intersection": { + "field": "tboxIntersection", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "tbox_from_hexwkb", + "intersection_tbox_tbox" + ], + "primaryMeos": "intersection_tbox_tbox" + }, + "stbox_union": { + "field": "stboxUnion", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "stbox_from_hexwkb", + "union_stbox_stbox" + ], + "primaryMeos": "union_stbox_stbox" + }, + "stbox_intersection": { + "field": "stboxIntersection", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "stbox_from_hexwkb", + "intersection_stbox_stbox" + ], + "primaryMeos": "intersection_stbox_stbox" + }, + "bigintSpan": { + "field": "bigintSpan", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tbox_from_hexwkb", + "tbox_to_bigintspan" + ], + "primaryMeos": "tbox_to_bigintspan" + }, + "atTbox": { + "field": "atTbox", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbox_from_hexwkb", + "tnumber_at_tbox", + "temporal_as_hexwkb" + ], + "primaryMeos": "tnumber_at_tbox" + }, + "minusTbox": { + "field": "minusTbox", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbox_from_hexwkb", + "tnumber_minus_tbox", + "temporal_as_hexwkb" + ], + "primaryMeos": "tnumber_minus_tbox" + }, + "span_distance": { + "field": "spanDistance", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "span_from_hexwkb", + "distance_floatspan_floatspan" + ], + "primaryMeos": "distance_floatspan_floatspan" + }, + "spanset_distance": { + "field": "spansetDistance", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "spanset_from_hexwkb", + "distance_floatspanset_floatspanset" + ], + "primaryMeos": "distance_floatspanset_floatspanset" + }, + "set_distance": { + "field": "setDistance", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "set_from_hexwkb", + "distance_floatset_floatset" + ], + "primaryMeos": "distance_floatset_floatset" + }, + "time_distance": { + "field": "timeDistanceSpan", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "span_from_hexwkb", + "distance_tstzspan_tstzspan" + ], + "primaryMeos": "distance_tstzspan_tstzspan" + }, + "time_distance_spanset": { + "field": "timeDistanceSpanset", + "class": "SetSpanGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "spanset_from_hexwkb", + "distance_tstzspanset_tstzspanset" + ], + "primaryMeos": "distance_tstzspanset_tstzspanset" + }, + "startValue": { + "field": "startValue", + "class": "AccessorGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "trgeometry_start_value", + "geo_as_text" + ], + "primaryMeos": "trgeometry_start_value" + }, + "endValue": { + "field": "endValue", + "class": "AccessorGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "trgeometry_end_value", + "geo_as_text" + ], + "primaryMeos": "trgeometry_end_value" + }, + "valueN": { + "field": "valueN", + "class": "AccessorGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "trgeometry_value_n", + "geo_as_text" + ], + "primaryMeos": "trgeometry_value_n" + }, + "minusValue": { + "field": "minusValue", + "class": "AccessorGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "cbuffer_from_hexwkb", + "tcbuffer_minus_cbuffer", + "temporal_as_hexwkb" + ], + "primaryMeos": "tcbuffer_minus_cbuffer" + }, + "minusValues": { + "field": "minusValues", + "class": "AccessorGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_from_hexwkb", + "temporal_minus_values", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_minus_values" + }, + "atValue": { + "field": "atValue", + "class": "AccessorGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "cbuffer_from_hexwkb", + "tcbuffer_at_cbuffer", + "temporal_as_hexwkb", + "temporal_timestamps" + ], + "primaryMeos": "temporal_timestamps" + }, + "traversedArea": { + "field": "traversedArea", + "class": "AccessorGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeo_traversed_area", + "geo_as_text" + ], + "primaryMeos": "tgeo_traversed_area" + }, + "getSpace": { + "field": "getSpace", + "class": "AccessorGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "stbox_from_hexwkb", + "stbox_get_space", + "stbox_as_hexwkb" + ], + "primaryMeos": "stbox_get_space" + }, + "tprecision": { + "field": "tprecision", + "class": "AccessorGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_tprecision", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_tprecision" + }, + "tsample": { + "field": "tsample", + "class": "AccessorGapUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_tsample", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_tsample" + }, + "tboolInst": { + "field": "tboolInst", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Boolean", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "tboolinst_make", + "temporal_as_hexwkb" + ], + "primaryMeos": "tboolinst_make" + }, + "tintInst": { + "field": "tintInst", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Integer", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "tintinst_make", + "temporal_as_hexwkb" + ], + "primaryMeos": "tintinst_make" + }, + "tfloatInst": { + "field": "tfloatInst", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Double", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "tfloatinst_make", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloatinst_make" + }, + "ttextInst": { + "field": "ttextInst", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "cstring2text", + "ttextinst_make", + "temporal_as_hexwkb", + "temporal_from_hexwkb", + "temporal_to_tsequence", + "temporal_to_tsequenceset" + ], + "primaryMeos": "temporal_to_tsequenceset" + }, + "tgeompointInst": { + "field": "tgeompointInst", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "tpointinst_make", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpointinst_make" + }, + "tgeogpointInst": { + "field": "tgeogpointInst", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometryInst": { + "field": "tgeometryInst", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tgeographyInst": { + "field": "tgeographyInst", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tboolSeq": { + "field": "tboolSeq", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tintSeq": { + "field": "tintSeq", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tfloatSeq": { + "field": "tfloatSeq", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "ttextSeq": { + "field": "ttextSeq", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeompointSeq": { + "field": "tgeompointSeq", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeogpointSeq": { + "field": "tgeogpointSeq", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometrySeq": { + "field": "tgeometrySeq", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeographySeq": { + "field": "tgeographySeq", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tboolSeqSet": { + "field": "tboolSeqSet", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tintSeqSet": { + "field": "tintSeqSet", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tfloatSeqSet": { + "field": "tfloatSeqSet", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "ttextSeqSet": { + "field": "ttextSeqSet", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeompointSeqSet": { + "field": "tgeompointSeqSet", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeogpointSeqSet": { + "field": "tgeogpointSeqSet", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometrySeqSet": { + "field": "tgeometrySeqSet", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeographySeqSet": { + "field": "tgeographySeqSet", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tempSubtype": { + "field": "tempSubtype", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_subtype" + ], + "primaryMeos": "temporal_subtype" + }, + "memSize": { + "field": "memSize", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb" + ], + "primaryMeos": "temporal_from_hexwkb" + }, + "getTime": { + "field": "getTime", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_time", + "spanset_as_hexwkb" + ], + "primaryMeos": "temporal_time" + }, + "deleteTime": { + "field": "deleteTime", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_delete_timestamptz", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_delete_timestamptz" + }, + "beforeTimestamp": { + "field": "beforeTimestamp", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "afterTimestamp": { + "field": "afterTimestamp", + "class": "SubtypeConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "temporalToTInstant": { + "field": "temporalToTInstant", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tinstant", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tinstant" + }, + "temporalToTSequence": { + "field": "temporalToTSequence", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tsequence", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tsequence" + }, + "temporalToTSequenceSet": { + "field": "temporalToTSequenceSet", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tsequenceset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tsequenceset" + }, + "temporalSetInterp": { + "field": "temporalSetInterp", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_set_interp", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_set_interp" + }, + "tfloatToTint": { + "field": "tfloatToTint", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_to_tint", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_to_tint" + }, + "tintToTfloat": { + "field": "tintToTfloat", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tint_to_tfloat", + "temporal_as_hexwkb" + ], + "primaryMeos": "tint_to_tfloat" + }, + "tintShiftValue": { + "field": "tintShiftValue", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tint_shift_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tint_shift_value" + }, + "tintScaleValue": { + "field": "tintScaleValue", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tint_scale_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tint_scale_value" + }, + "tintShiftScaleValue": { + "field": "tintShiftScaleValue", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Integer", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tint_shift_scale_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tint_shift_scale_value" + }, + "tfloatShiftValue": { + "field": "tfloatShiftValue", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_shift_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_shift_value" + }, + "tfloatScaleValue": { + "field": "tfloatScaleValue", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_scale_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_scale_value" + }, + "tfloatShiftScaleValue": { + "field": "tfloatShiftScaleValue", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_shift_scale_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_shift_scale_value" + }, + "temporalShiftTime": { + "field": "temporalShiftTime", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_shift_time", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_shift_time" + }, + "temporalScaleTime": { + "field": "temporalScaleTime", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_scale_time", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_scale_time" + }, + "temporalShiftScaleTime": { + "field": "temporalShiftScaleTime", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_shift_scale_time", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_shift_scale_time" + }, + "tpointSetSrid": { + "field": "tpointSetSrid", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_set_srid", + "temporal_as_hexwkb" + ], + "primaryMeos": "tspatial_set_srid" + }, + "temporalSimplifyDp": { + "field": "temporalSimplifyDp", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_simplify_dp", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_simplify_dp" + }, + "temporalSimplifyMaxDist": { + "field": "temporalSimplifyMaxDist", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_simplify_max_dist", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_simplify_max_dist" + }, + "temporalSimplifyMinDist": { + "field": "temporalSimplifyMinDist", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_simplify_min_dist", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_simplify_min_dist" + }, + "temporalSimplifyMinTdelta": { + "field": "temporalSimplifyMinTdelta", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_simplify_min_tdelta", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_simplify_min_tdelta" + }, + "temporalTPrecision": { + "field": "temporalTPrecision", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_tprecision", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_tprecision" + }, + "temporalTSample": { + "field": "temporalTSample", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_tsample", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_tsample" + }, + "tpointTrajectory": { + "field": "tpointTrajectory", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_trajectory", + "geo_as_text" + ], + "primaryMeos": "tpoint_trajectory" + }, + "floatsetCeil": { + "field": "floatsetCeil", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "floatset_ceil", + "set_as_hexwkb" + ], + "primaryMeos": "floatset_ceil" + }, + "floatsetFloor": { + "field": "floatsetFloor", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "floatset_floor", + "set_as_hexwkb" + ], + "primaryMeos": "floatset_floor" + }, + "floatsetDegrees": { + "field": "floatsetDegrees", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "floatset_degrees", + "set_as_hexwkb" + ], + "primaryMeos": "floatset_degrees" + }, + "floatsetRadians": { + "field": "floatsetRadians", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "floatset_radians", + "set_as_hexwkb" + ], + "primaryMeos": "floatset_radians" + }, + "textsetLower": { + "field": "textsetLower", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "textset_lower", + "set_as_hexwkb" + ], + "primaryMeos": "textset_lower" + }, + "textsetUpper": { + "field": "textsetUpper", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "textset_upper", + "set_as_hexwkb" + ], + "primaryMeos": "textset_upper" + }, + "textsetInitcap": { + "field": "textsetInitcap", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "textset_initcap", + "set_as_hexwkb" + ], + "primaryMeos": "textset_initcap" + }, + "intspanShiftScale": { + "field": "intspanShiftScale", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Integer", + "Integer" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "intspan_shift_scale", + "span_as_hexwkb" + ], + "primaryMeos": "intspan_shift_scale" + }, + "floatspanShiftScale": { + "field": "floatspanShiftScale", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "floatspan_shift_scale", + "span_as_hexwkb" + ], + "primaryMeos": "floatspan_shift_scale" + }, + "intspansetShiftScale": { + "field": "intspansetShiftScale", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Integer", + "Integer" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "intspanset_shift_scale", + "spanset_as_hexwkb" + ], + "primaryMeos": "intspanset_shift_scale" + }, + "floatspansetShiftScale": { + "field": "floatspansetShiftScale", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "floatspanset_shift_scale", + "spanset_as_hexwkb" + ], + "primaryMeos": "floatspanset_shift_scale" + }, + "floatspansetCeil": { + "field": "floatspansetCeil", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "floatspanset_ceil", + "spanset_as_hexwkb" + ], + "primaryMeos": "floatspanset_ceil" + }, + "floatspansetFloor": { + "field": "floatspansetFloor", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "floatspanset_floor", + "spanset_as_hexwkb" + ], + "primaryMeos": "floatspanset_floor" + }, + "floatspansetRound": { + "field": "floatspansetRound", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "floatspanset_round", + "spanset_as_hexwkb" + ], + "primaryMeos": "floatspanset_round" + }, + "intspansetToFloat": { + "field": "intspansetToFloat", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "intspanset_to_floatspanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "intspanset_to_floatspanset" + }, + "floatspansetToInt": { + "field": "floatspansetToInt", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "floatspanset_to_intspanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "floatspanset_to_intspanset" + }, + "douglasPeuckerSimplify": { + "field": "temporalSimplifyDp", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_simplify_dp", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_simplify_dp" + }, + "maxDistSimplify": { + "field": "temporalSimplifyMaxDist", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_simplify_max_dist", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_simplify_max_dist" + }, + "minDistSimplify": { + "field": "temporalSimplifyMinDist", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_simplify_min_dist", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_simplify_min_dist" + }, + "minTimeDeltaSimplify": { + "field": "temporalSimplifyMinTdelta", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_simplify_min_tdelta", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_simplify_min_tdelta" + }, + "intspanset": { + "field": "floatspansetToInt", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "floatspanset_to_intspanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "floatspanset_to_intspanset" + }, + "floatspanset": { + "field": "intspansetToFloat", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "intspanset_to_floatspanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "intspanset_to_floatspanset" + }, + "shiftScale": { + "field": "floatspanShiftScale", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "floatspan_shift_scale", + "span_as_hexwkb" + ], + "primaryMeos": "floatspan_shift_scale" + }, + "dateset": { + "field": "tstzsetToDateset", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "tstzset_to_dateset", + "set_as_hexwkb" + ], + "primaryMeos": "tstzset_to_dateset" + }, + "tstzset": { + "field": "tstzset", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tstzset_in", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "span": { + "field": "temporalToTstzspan", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tstzspan", + "span_as_hexwkb" + ], + "primaryMeos": "temporal_to_tstzspan" + }, + "spanset": { + "field": "spanToSpanset", + "class": "TransformUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "span_to_spanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "span_to_spanset" + }, + "getTimeTile": { + "field": "getTimeTile", + "class": "TileUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "Timestamp", + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "pg_interval_in", + "stbox_as_hexwkb" + ], + "primaryMeos": "stbox_as_hexwkb" + }, + "getSpaceTile": { + "field": "getSpaceTile", + "class": "TileUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 5, + "argTypes": [ + "String", + "Double", + "Double", + "Double", + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "stbox_as_hexwkb" + ], + "primaryMeos": "stbox_as_hexwkb" + }, + "getSpaceTimeTile": { + "field": "getSpaceTimeTile", + "class": "TileUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 8, + "argTypes": [ + "String", + "Timestamp", + "Double", + "Double", + "Double", + "String", + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "pg_interval_in", + "stbox_as_hexwkb" + ], + "primaryMeos": "stbox_as_hexwkb" + }, + "getStboxTimeTile": { + "field": "getTimeTile", + "class": "TileUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "Timestamp", + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "pg_interval_in", + "stbox_as_hexwkb" + ], + "primaryMeos": "stbox_as_hexwkb" + }, + "getValueTile": { + "field": "getValueTileFloat", + "class": "TileUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "Double", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [ + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_as_hexwkb" + }, + "getTBoxTimeTile": { + "field": "getTBoxTimeTile", + "class": "TileUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "Timestamp", + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "pg_interval_in", + "tbox_as_hexwkb", + "temporal_from_hexwkb", + "geo_as_hexewkb", + "stbox_from_hexwkb", + "geo_as_text" + ], + "primaryMeos": "geo_as_hexewkb" + }, + "tnumberAdjacentTnumber": { + "field": "tnumberAdjacentTnumber", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberContainsTnumber": { + "field": "tnumberContainsTnumber", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberContainedTnumber": { + "field": "tnumberContainedTnumber", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberOverlapsTnumber": { + "field": "tnumberOverlapsTnumber", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberSameTnumber": { + "field": "tnumberSameTnumber", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "numspanAdjacentTnumber": { + "field": "numspanAdjacentTnumber", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "numspanContainsTnumber": { + "field": "numspanContainsTnumber", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "numspanContainedTnumber": { + "field": "numspanContainedTnumber", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "numspanOverlapsTnumber": { + "field": "numspanOverlapsTnumber", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "numspanSameTnumber": { + "field": "numspanSameTnumber", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberAdjacentNumspan": { + "field": "tnumberAdjacentNumspan", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberContainsNumspan": { + "field": "tnumberContainsNumspan", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberContainedNumspan": { + "field": "tnumberContainedNumspan", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberOverlapsNumspan": { + "field": "tnumberOverlapsNumspan", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberSameNumspan": { + "field": "tnumberSameNumspan", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tstzspanAdjacentTemporal": { + "field": "tstzspanAdjacentTemporal", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tstzspanContainsTemporal": { + "field": "tstzspanContainsTemporal", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tstzspanContainedTemporal": { + "field": "tstzspanContainedTemporal", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tstzspanOverlapsTemporal": { + "field": "tstzspanOverlapsTemporal", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tstzspanSameTemporal": { + "field": "tstzspanSameTemporal", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "temporalAdjacentTstzspan": { + "field": "temporalAdjacentTstzspan", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "temporalContainsTstzspan": { + "field": "temporalContainsTstzspan", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "temporalContainedTstzspan": { + "field": "temporalContainedTstzspan", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "temporalOverlapsTstzspan": { + "field": "temporalOverlapsTstzspan", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "temporalSameTstzspan": { + "field": "temporalSameTstzspan", + "class": "TemporalBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "floatBucket": { + "field": "floatBucket", + "class": "BucketUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 3, + "argTypes": [ + "Double", + "Double", + "Double" + ], + "retType": "Double", + "meosFns": [], + "primaryMeos": null + }, + "intBucket": { + "field": "intBucket", + "class": "BucketUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 3, + "argTypes": [ + "Integer", + "Integer", + "Integer" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "temporalAtTstzspan": { + "field": "temporalAtTstzspan", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "span_from_hexwkb", + "temporal_at_tstzspan", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_tstzspan" + }, + "temporalAtTstzspanset": { + "field": "temporalAtTstzspanset", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "spanset_from_hexwkb", + "temporal_at_tstzspanset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_tstzspanset" + }, + "temporalAtTstzset": { + "field": "temporalAtTstzset", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_from_hexwkb", + "temporal_at_tstzset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_tstzset" + }, + "temporalMinusTstzset": { + "field": "temporalMinusTstzset", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_from_hexwkb", + "temporal_minus_tstzset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_minus_tstzset" + }, + "temporalMinusTstzspan": { + "field": "temporalMinusTstzspan", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "span_from_hexwkb", + "temporal_minus_tstzspan", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_minus_tstzspan" + }, + "temporalMinusTstzspanset": { + "field": "temporalMinusTstzspanset", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "spanset_from_hexwkb", + "temporal_minus_tstzspanset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_minus_tstzspanset" + }, + "temporalAtTimestamptz": { + "field": "temporalAtTimestamptz", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_at_timestamptz", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_timestamptz" + }, + "temporalMinusTimestamptz": { + "field": "temporalMinusTimestamptz", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_minus_timestamptz", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_minus_timestamptz" + }, + "temporalDeleteTstzspan": { + "field": "temporalDeleteTstzspan", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "span_from_hexwkb", + "temporal_delete_tstzspan", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_delete_tstzspan" + }, + "temporalDeleteTstzspanset": { + "field": "temporalDeleteTstzspanset", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "spanset_from_hexwkb", + "temporal_delete_tstzspanset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_delete_tstzspanset" + }, + "temporalDeleteTstzset": { + "field": "temporalDeleteTstzset", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_from_hexwkb", + "temporal_delete_tstzset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_delete_tstzset" + }, + "temporalDeleteTimestamptz": { + "field": "temporalDeleteTimestamptz", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_delete_timestamptz", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_delete_timestamptz" + }, + "tfloatAtValue": { + "field": "tfloatAtValue", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_at_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_at_value" + }, + "tfloatMinusValue": { + "field": "tfloatMinusValue", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_minus_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_minus_value" + }, + "tintAtValue": { + "field": "tintAtValue", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tint_at_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tint_at_value" + }, + "tintMinusValue": { + "field": "tintMinusValue", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tint_minus_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tint_minus_value" + }, + "tnumberAtSpan": { + "field": "tnumberAtSpan", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "span_from_hexwkb", + "tnumber_at_span", + "temporal_as_hexwkb" + ], + "primaryMeos": "tnumber_at_span" + }, + "tnumberMinusSpan": { + "field": "tnumberMinusSpan", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "span_from_hexwkb", + "tnumber_minus_span", + "temporal_as_hexwkb" + ], + "primaryMeos": "tnumber_minus_span" + }, + "tnumberAtSpanset": { + "field": "tnumberAtSpanset", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "spanset_from_hexwkb", + "tnumber_at_spanset", + "temporal_as_hexwkb" + ], + "primaryMeos": "tnumber_at_spanset" + }, + "tnumberMinusSpanset": { + "field": "tnumberMinusSpanset", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "spanset_from_hexwkb", + "tnumber_minus_spanset", + "temporal_as_hexwkb" + ], + "primaryMeos": "tnumber_minus_spanset" + }, + "tboolAtValue": { + "field": "tboolAtValue", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_at_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tbool_at_value" + }, + "tboolMinusValue": { + "field": "tboolMinusValue", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_minus_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tbool_minus_value" + }, + "ttextAtValue": { + "field": "ttextAtValue", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "cstring2text", + "ttext_at_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "ttext_at_value" + }, + "ttextMinusValue": { + "field": "ttextMinusValue", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "cstring2text", + "ttext_minus_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "ttext_minus_value" + }, + "tpointAtValue": { + "field": "tpointAtValue", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tpoint_at_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_at_value" + }, + "tpointMinusValue": { + "field": "tpointMinusValue", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tpoint_minus_value", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_minus_value" + }, + "tgeoAtStbox": { + "field": "tgeoAtStbox", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "stbox_from_hexwkb", + "tgeo_at_stbox", + "temporal_as_hexwkb" + ], + "primaryMeos": "tgeo_at_stbox" + }, + "tgeoMinusStbox": { + "field": "tgeoMinusStbox", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "stbox_from_hexwkb", + "tgeo_minus_stbox", + "temporal_as_hexwkb" + ], + "primaryMeos": "tgeo_minus_stbox" + }, + "tpointAtElevation": { + "field": "tpointAtElevation", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "span_from_hexwkb", + "tpoint_at_elevation", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_at_elevation" + }, + "tpointMinusElevation": { + "field": "tpointMinusElevation", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "span_from_hexwkb", + "tpoint_minus_elevation", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_minus_elevation" + }, + "temporalAtMax": { + "field": "temporalAtMax", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_at_max", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_max" + }, + "temporalAtMin": { + "field": "temporalAtMin", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_at_min", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_min" + }, + "temporalAtValues": { + "field": "temporalAtValues", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_from_hexwkb", + "temporal_at_values", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_values" + }, + "temporalMinusValues": { + "field": "temporalMinusValues", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_from_hexwkb", + "temporal_minus_values", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_minus_values" + }, + "tgeoAtGeom": { + "field": "tgeoAtGeom", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tgeo_at_geom", + "temporal_as_hexwkb" + ], + "primaryMeos": "tgeo_at_geom" + }, + "tgeoMinusGeom": { + "field": "tgeoMinusGeom", + "class": "RestrictionUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tgeo_minus_geom", + "temporal_as_hexwkb" + ], + "primaryMeos": "tgeo_minus_geom" + }, + "temporalEq": { + "field": "temporalEq", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_eq" + ], + "primaryMeos": "temporal_eq" + }, + "temporalNe": { + "field": "temporalNe", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_ne" + ], + "primaryMeos": "temporal_ne" + }, + "temporalLt": { + "field": "temporalLt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_lt" + ], + "primaryMeos": "temporal_lt" + }, + "temporalLe": { + "field": "temporalLe", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_le" + ], + "primaryMeos": "temporal_le" + }, + "temporalGt": { + "field": "temporalGt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_gt" + ], + "primaryMeos": "temporal_gt" + }, + "temporalGe": { + "field": "temporalGe", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_ge" + ], + "primaryMeos": "temporal_ge" + }, + "everEqTintInt": { + "field": "everEqTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "ever_eq_tint_int" + ], + "primaryMeos": "ever_eq_tint_int" + }, + "everEqTfloatFloat": { + "field": "everEqTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "ever_eq_tfloat_float" + ], + "primaryMeos": "ever_eq_tfloat_float" + }, + "everEqTemporal": { + "field": "everEqTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_eq_temporal_temporal" + ], + "primaryMeos": "ever_eq_temporal_temporal" + }, + "everLtTintInt": { + "field": "everLtTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "ever_lt_tint_int" + ], + "primaryMeos": "ever_lt_tint_int" + }, + "everLtTfloatFloat": { + "field": "everLtTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "ever_lt_tfloat_float" + ], + "primaryMeos": "ever_lt_tfloat_float" + }, + "everLtTemporal": { + "field": "everLtTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_lt_temporal_temporal" + ], + "primaryMeos": "ever_lt_temporal_temporal" + }, + "everLeTintInt": { + "field": "everLeTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "ever_le_tint_int" + ], + "primaryMeos": "ever_le_tint_int" + }, + "everLeTfloatFloat": { + "field": "everLeTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "ever_le_tfloat_float" + ], + "primaryMeos": "ever_le_tfloat_float" + }, + "everLeTemporal": { + "field": "everLeTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_le_temporal_temporal" + ], + "primaryMeos": "ever_le_temporal_temporal" + }, + "everGtTintInt": { + "field": "everGtTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "ever_gt_tint_int" + ], + "primaryMeos": "ever_gt_tint_int" + }, + "everGtTfloatFloat": { + "field": "everGtTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "ever_gt_tfloat_float" + ], + "primaryMeos": "ever_gt_tfloat_float" + }, + "everGtTemporal": { + "field": "everGtTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_gt_temporal_temporal" + ], + "primaryMeos": "ever_gt_temporal_temporal" + }, + "everGeTintInt": { + "field": "everGeTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ge_tint_int" + ], + "primaryMeos": "ever_ge_tint_int" + }, + "everGeTfloatFloat": { + "field": "everGeTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ge_tfloat_float" + ], + "primaryMeos": "ever_ge_tfloat_float" + }, + "everGeTemporal": { + "field": "everGeTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ge_temporal_temporal" + ], + "primaryMeos": "ever_ge_temporal_temporal" + }, + "everNeTintInt": { + "field": "everNeTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ne_tint_int" + ], + "primaryMeos": "ever_ne_tint_int" + }, + "everNeTfloatFloat": { + "field": "everNeTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ne_tfloat_float" + ], + "primaryMeos": "ever_ne_tfloat_float" + }, + "everNeTemporal": { + "field": "everNeTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ne_temporal_temporal" + ], + "primaryMeos": "ever_ne_temporal_temporal" + }, + "alwaysEqTintInt": { + "field": "alwaysEqTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "always_eq_tint_int" + ], + "primaryMeos": "always_eq_tint_int" + }, + "alwaysEqTfloatFloat": { + "field": "alwaysEqTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "always_eq_tfloat_float" + ], + "primaryMeos": "always_eq_tfloat_float" + }, + "alwaysEqTemporal": { + "field": "alwaysEqTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_eq_temporal_temporal" + ], + "primaryMeos": "always_eq_temporal_temporal" + }, + "alwaysLtTintInt": { + "field": "alwaysLtTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "always_lt_tint_int" + ], + "primaryMeos": "always_lt_tint_int" + }, + "alwaysLtTfloatFloat": { + "field": "alwaysLtTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "always_lt_tfloat_float" + ], + "primaryMeos": "always_lt_tfloat_float" + }, + "alwaysLtTemporal": { + "field": "alwaysLtTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_lt_temporal_temporal" + ], + "primaryMeos": "always_lt_temporal_temporal" + }, + "alwaysLeTintInt": { + "field": "alwaysLeTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "always_le_tint_int" + ], + "primaryMeos": "always_le_tint_int" + }, + "alwaysLeTfloatFloat": { + "field": "alwaysLeTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "always_le_tfloat_float" + ], + "primaryMeos": "always_le_tfloat_float" + }, + "alwaysLeTemporal": { + "field": "alwaysLeTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_le_temporal_temporal" + ], + "primaryMeos": "always_le_temporal_temporal" + }, + "alwaysGtTintInt": { + "field": "alwaysGtTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "always_gt_tint_int" + ], + "primaryMeos": "always_gt_tint_int" + }, + "alwaysGtTfloatFloat": { + "field": "alwaysGtTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "always_gt_tfloat_float" + ], + "primaryMeos": "always_gt_tfloat_float" + }, + "alwaysGtTemporal": { + "field": "alwaysGtTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_gt_temporal_temporal" + ], + "primaryMeos": "always_gt_temporal_temporal" + }, + "alwaysGeTintInt": { + "field": "alwaysGeTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "always_ge_tint_int" + ], + "primaryMeos": "always_ge_tint_int" + }, + "alwaysGeTfloatFloat": { + "field": "alwaysGeTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "always_ge_tfloat_float" + ], + "primaryMeos": "always_ge_tfloat_float" + }, + "alwaysGeTemporal": { + "field": "alwaysGeTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_ge_temporal_temporal" + ], + "primaryMeos": "always_ge_temporal_temporal" + }, + "alwaysNeTintInt": { + "field": "alwaysNeTintInt", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "always_ne_tint_int" + ], + "primaryMeos": "always_ne_tint_int" + }, + "alwaysNeTfloatFloat": { + "field": "alwaysNeTfloatFloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "Boolean", + "meosFns": [ + "always_ne_tfloat_float" + ], + "primaryMeos": "always_ne_tfloat_float" + }, + "alwaysNeTemporal": { + "field": "alwaysNeTemporal", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_ne_temporal_temporal" + ], + "primaryMeos": "always_ne_temporal_temporal" + }, + "alwaysEqIntTint": { + "field": "alwaysEqIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_eq_int_tint" + ], + "primaryMeos": "always_eq_int_tint" + }, + "alwaysNeIntTint": { + "field": "alwaysNeIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_ne_int_tint" + ], + "primaryMeos": "always_ne_int_tint" + }, + "alwaysLtIntTint": { + "field": "alwaysLtIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_lt_int_tint" + ], + "primaryMeos": "always_lt_int_tint" + }, + "alwaysLeIntTint": { + "field": "alwaysLeIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_le_int_tint" + ], + "primaryMeos": "always_le_int_tint" + }, + "alwaysGtIntTint": { + "field": "alwaysGtIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_gt_int_tint" + ], + "primaryMeos": "always_gt_int_tint" + }, + "alwaysGeIntTint": { + "field": "alwaysGeIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_ge_int_tint" + ], + "primaryMeos": "always_ge_int_tint" + }, + "alwaysEqFloatTfloat": { + "field": "alwaysEqFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_eq_float_tfloat" + ], + "primaryMeos": "always_eq_float_tfloat" + }, + "alwaysNeFloatTfloat": { + "field": "alwaysNeFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_ne_float_tfloat" + ], + "primaryMeos": "always_ne_float_tfloat" + }, + "alwaysLtFloatTfloat": { + "field": "alwaysLtFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_lt_float_tfloat" + ], + "primaryMeos": "always_lt_float_tfloat" + }, + "alwaysLeFloatTfloat": { + "field": "alwaysLeFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_le_float_tfloat" + ], + "primaryMeos": "always_le_float_tfloat" + }, + "alwaysGtFloatTfloat": { + "field": "alwaysGtFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_gt_float_tfloat" + ], + "primaryMeos": "always_gt_float_tfloat" + }, + "alwaysGeFloatTfloat": { + "field": "alwaysGeFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_ge_float_tfloat" + ], + "primaryMeos": "always_ge_float_tfloat" + }, + "everEqIntTint": { + "field": "everEqIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_eq_int_tint" + ], + "primaryMeos": "ever_eq_int_tint" + }, + "everNeIntTint": { + "field": "everNeIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ne_int_tint" + ], + "primaryMeos": "ever_ne_int_tint" + }, + "everLtIntTint": { + "field": "everLtIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_lt_int_tint" + ], + "primaryMeos": "ever_lt_int_tint" + }, + "everLeIntTint": { + "field": "everLeIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_le_int_tint" + ], + "primaryMeos": "ever_le_int_tint" + }, + "everGtIntTint": { + "field": "everGtIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_gt_int_tint" + ], + "primaryMeos": "ever_gt_int_tint" + }, + "everGeIntTint": { + "field": "everGeIntTint", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ge_int_tint" + ], + "primaryMeos": "ever_ge_int_tint" + }, + "everEqFloatTfloat": { + "field": "everEqFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_eq_float_tfloat" + ], + "primaryMeos": "ever_eq_float_tfloat" + }, + "everNeFloatTfloat": { + "field": "everNeFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ne_float_tfloat" + ], + "primaryMeos": "ever_ne_float_tfloat" + }, + "everLtFloatTfloat": { + "field": "everLtFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_lt_float_tfloat" + ], + "primaryMeos": "ever_lt_float_tfloat" + }, + "everLeFloatTfloat": { + "field": "everLeFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_le_float_tfloat" + ], + "primaryMeos": "ever_le_float_tfloat" + }, + "everGtFloatTfloat": { + "field": "everGtFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_gt_float_tfloat" + ], + "primaryMeos": "ever_gt_float_tfloat" + }, + "everGeFloatTfloat": { + "field": "everGeFloatTfloat", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ge_float_tfloat" + ], + "primaryMeos": "ever_ge_float_tfloat" + }, + "alwaysEqTboolBool": { + "field": "alwaysEqTboolBool", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "Boolean", + "meosFns": [ + "always_eq_tbool_bool" + ], + "primaryMeos": "always_eq_tbool_bool" + }, + "alwaysNeTboolBool": { + "field": "alwaysNeTboolBool", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "Boolean", + "meosFns": [ + "always_ne_tbool_bool" + ], + "primaryMeos": "always_ne_tbool_bool" + }, + "alwaysEqBoolTbool": { + "field": "alwaysEqBoolTbool", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Boolean", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_eq_bool_tbool" + ], + "primaryMeos": "always_eq_bool_tbool" + }, + "alwaysNeBoolTbool": { + "field": "alwaysNeBoolTbool", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Boolean", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "always_ne_bool_tbool" + ], + "primaryMeos": "always_ne_bool_tbool" + }, + "everEqTboolBool": { + "field": "everEqTboolBool", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "Boolean", + "meosFns": [ + "ever_eq_tbool_bool" + ], + "primaryMeos": "ever_eq_tbool_bool" + }, + "everNeTboolBool": { + "field": "everNeTboolBool", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ne_tbool_bool" + ], + "primaryMeos": "ever_ne_tbool_bool" + }, + "everEqBoolTbool": { + "field": "everEqBoolTbool", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Boolean", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_eq_bool_tbool" + ], + "primaryMeos": "ever_eq_bool_tbool" + }, + "everNeBoolTbool": { + "field": "everNeBoolTbool", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "Boolean", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "ever_ne_bool_tbool", + "ttext_in", + "ttext_value_n", + "temporal_from_hexwkb" + ], + "primaryMeos": "ttext_value_n" + }, + "alwaysEqTextTtext": { + "field": "alwaysEqTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysNeTextTtext": { + "field": "alwaysNeTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysLtTextTtext": { + "field": "alwaysLtTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysLeTextTtext": { + "field": "alwaysLeTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysGtTextTtext": { + "field": "alwaysGtTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysGeTextTtext": { + "field": "alwaysGeTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysEqTtextText": { + "field": "alwaysEqTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysNeTtextText": { + "field": "alwaysNeTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysLtTtextText": { + "field": "alwaysLtTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysLeTtextText": { + "field": "alwaysLeTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysGtTtextText": { + "field": "alwaysGtTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "alwaysGeTtextText": { + "field": "alwaysGeTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everEqTextTtext": { + "field": "everEqTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everNeTextTtext": { + "field": "everNeTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everLtTextTtext": { + "field": "everLtTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everLeTextTtext": { + "field": "everLeTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everGtTextTtext": { + "field": "everGtTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everGeTextTtext": { + "field": "everGeTextTtext", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everEqTtextText": { + "field": "everEqTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everNeTtextText": { + "field": "everNeTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everLtTtextText": { + "field": "everLtTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everLeTtextText": { + "field": "everLeTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everGtTtextText": { + "field": "everGtTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "everGeTtextText": { + "field": "everGeTtextText", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tpointIsSimple": { + "field": "tpointIsSimple", + "class": "PredicateUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_is_simple" + ], + "primaryMeos": "tpoint_is_simple" + }, + "tboxLeftTbox": { + "field": "tboxLeftTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverleftTbox": { + "field": "tboxOverleftTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxRightTbox": { + "field": "tboxRightTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverrightTbox": { + "field": "tboxOverrightTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxBeforeTbox": { + "field": "tboxBeforeTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverbeforeTbox": { + "field": "tboxOverbeforeTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxAfterTbox": { + "field": "tboxAfterTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverafterTbox": { + "field": "tboxOverafterTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxAdjacentTbox": { + "field": "tboxAdjacentTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxContainsTbox": { + "field": "tboxContainsTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxContainedTbox": { + "field": "tboxContainedTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverlapsTbox": { + "field": "tboxOverlapsTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxSameTbox": { + "field": "tboxSameTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxLeftTnumber": { + "field": "tboxLeftTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverleftTnumber": { + "field": "tboxOverleftTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxRightTnumber": { + "field": "tboxRightTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverrightTnumber": { + "field": "tboxOverrightTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxBeforeTnumber": { + "field": "tboxBeforeTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverbeforeTnumber": { + "field": "tboxOverbeforeTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxAfterTnumber": { + "field": "tboxAfterTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverafterTnumber": { + "field": "tboxOverafterTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxAdjacentTnumber": { + "field": "tboxAdjacentTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxContainsTnumber": { + "field": "tboxContainsTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxContainedTnumber": { + "field": "tboxContainedTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverlapsTnumber": { + "field": "tboxOverlapsTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxSameTnumber": { + "field": "tboxSameTnumber", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberLeftTbox": { + "field": "tnumberLeftTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberOverleftTbox": { + "field": "tnumberOverleftTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberRightTbox": { + "field": "tnumberRightTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberOverrightTbox": { + "field": "tnumberOverrightTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberBeforeTbox": { + "field": "tnumberBeforeTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberOverbeforeTbox": { + "field": "tnumberOverbeforeTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberAfterTbox": { + "field": "tnumberAfterTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberOverafterTbox": { + "field": "tnumberOverafterTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberAdjacentTbox": { + "field": "tnumberAdjacentTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberContainsTbox": { + "field": "tnumberContainsTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberContainedTbox": { + "field": "tnumberContainedTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberOverlapsTbox": { + "field": "tnumberOverlapsTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tnumberSameTbox": { + "field": "tnumberSameTbox", + "class": "TBoxOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "intspanLower": { + "field": "intspanLower", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "span_from_hexwkb", + "intspan_lower" + ], + "primaryMeos": "intspan_lower" + }, + "intspanUpper": { + "field": "intspanUpper", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "span_from_hexwkb", + "intspan_upper" + ], + "primaryMeos": "intspan_upper" + }, + "intspanWidth": { + "field": "intspanWidth", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "span_from_hexwkb", + "intspan_width" + ], + "primaryMeos": "intspan_width" + }, + "floatspanLower": { + "field": "floatspanLower", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "span_from_hexwkb", + "floatspan_lower" + ], + "primaryMeos": "floatspan_lower" + }, + "floatspanUpper": { + "field": "floatspanUpper", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "span_from_hexwkb", + "floatspan_upper" + ], + "primaryMeos": "floatspan_upper" + }, + "floatspanWidth": { + "field": "floatspanWidth", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "span_from_hexwkb", + "floatspan_width" + ], + "primaryMeos": "floatspan_width" + }, + "bigintspanLower": { + "field": "bigintspanLower", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Long", + "meosFns": [ + "span_from_hexwkb", + "bigintspan_lower" + ], + "primaryMeos": "bigintspan_lower" + }, + "bigintspanUpper": { + "field": "bigintspanUpper", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Long", + "meosFns": [ + "span_from_hexwkb", + "bigintspan_upper" + ], + "primaryMeos": "bigintspan_upper" + }, + "datespanLower": { + "field": "datespanLower", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DateType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Date", + "meosFns": [ + "span_from_hexwkb", + "datespan_lower" + ], + "primaryMeos": "datespan_lower" + }, + "datespanUpper": { + "field": "datespanUpper", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DateType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Date", + "meosFns": [ + "span_from_hexwkb", + "datespan_upper" + ], + "primaryMeos": "datespan_upper" + }, + "tstzspanLower": { + "field": "tstzspanLower", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "span_from_hexwkb", + "tstzspan_lower" + ], + "primaryMeos": "tstzspan_lower" + }, + "tstzspanUpper": { + "field": "tstzspanUpper", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "span_from_hexwkb", + "tstzspan_upper" + ], + "primaryMeos": "tstzspan_upper" + }, + "spanLowerInc": { + "field": "spanLowerInc", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "span_from_hexwkb", + "span_lower_inc" + ], + "primaryMeos": "span_lower_inc" + }, + "spanUpperInc": { + "field": "spanUpperInc", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "span_from_hexwkb", + "span_upper_inc" + ], + "primaryMeos": "span_upper_inc" + }, + "spansetNumSpans": { + "field": "spansetNumSpans", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_num_spans" + ], + "primaryMeos": "spanset_num_spans" + }, + "spansetStartSpan": { + "field": "spansetStartSpan", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_start_span", + "span_as_hexwkb" + ], + "primaryMeos": "spanset_start_span" + }, + "spansetEndSpan": { + "field": "spansetEndSpan", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_end_span", + "span_as_hexwkb" + ], + "primaryMeos": "spanset_end_span" + }, + "spansetLowerInc": { + "field": "spansetLowerInc", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_lower_inc" + ], + "primaryMeos": "spanset_lower_inc" + }, + "spansetUpperInc": { + "field": "spansetUpperInc", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_upper_inc" + ], + "primaryMeos": "spanset_upper_inc" + }, + "spanToSpanset": { + "field": "spanToSpanset", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "span_to_spanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "span_to_spanset" + }, + "setNumValues": { + "field": "setNumValues", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "set_from_hexwkb", + "set_num_values" + ], + "primaryMeos": "set_num_values" + }, + "intsetStartValue": { + "field": "intsetStartValue", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "set_from_hexwkb", + "intset_start_value" + ], + "primaryMeos": "intset_start_value" + }, + "intsetEndValue": { + "field": "intsetEndValue", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "set_from_hexwkb", + "intset_end_value", + "set_num_values", + "intset_values" + ], + "primaryMeos": "intset_values" + }, + "floatsetStartValue": { + "field": "floatsetStartValue", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "set_from_hexwkb", + "floatset_start_value" + ], + "primaryMeos": "floatset_start_value" + }, + "floatsetEndValue": { + "field": "floatsetEndValue", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "set_from_hexwkb", + "floatset_end_value", + "set_num_values", + "floatset_values" + ], + "primaryMeos": "floatset_values" + }, + "datesetStartValue": { + "field": "datesetStartValue", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DateType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Date", + "meosFns": [ + "set_from_hexwkb", + "dateset_start_value" + ], + "primaryMeos": "dateset_start_value" + }, + "datesetEndValue": { + "field": "datesetEndValue", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DateType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Date", + "meosFns": [ + "set_from_hexwkb", + "dateset_end_value", + "set_num_values", + "dateset_values" + ], + "primaryMeos": "dateset_values" + }, + "tstzsetStartValue": { + "field": "tstzsetStartValue", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "set_from_hexwkb", + "tstzset_start_value" + ], + "primaryMeos": "tstzset_start_value" + }, + "tstzsetEndValue": { + "field": "tstzsetEndValue", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "set_from_hexwkb", + "tstzset_end_value", + "set_num_values", + "tstzset_values" + ], + "primaryMeos": "tstzset_values" + }, + "textsetStartValue": { + "field": "textsetStartValue", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "textset_start_value", + "text_out" + ], + "primaryMeos": "textset_start_value" + }, + "textsetEndValue": { + "field": "textsetEndValue", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "textset_end_value", + "text_out", + "set_num_values", + "textset_values" + ], + "primaryMeos": "textset_values" + }, + "tstzspansetLower": { + "field": "tstzspansetLower", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "spanset_from_hexwkb", + "tstzspanset_lower" + ], + "primaryMeos": "tstzspanset_lower" + }, + "tstzspansetUpper": { + "field": "tstzspansetUpper", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "spanset_from_hexwkb", + "tstzspanset_upper" + ], + "primaryMeos": "tstzspanset_upper" + }, + "tstzspansetStartTimestamptz": { + "field": "tstzspansetStartTimestamptz", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "spanset_from_hexwkb", + "tstzspanset_start_timestamptz" + ], + "primaryMeos": "tstzspanset_start_timestamptz" + }, + "tstzspansetEndTimestamptz": { + "field": "tstzspansetEndTimestamptz", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "spanset_from_hexwkb", + "tstzspanset_end_timestamptz" + ], + "primaryMeos": "tstzspanset_end_timestamptz" + }, + "spansetSpanN": { + "field": "spansetSpanN", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_span_n", + "span_as_hexwkb" + ], + "primaryMeos": "spanset_span_n" + }, + "intspansetLower": { + "field": "intspansetLower", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "spanset_from_hexwkb", + "intspanset_lower" + ], + "primaryMeos": "intspanset_lower" + }, + "intspansetUpper": { + "field": "intspansetUpper", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "spanset_from_hexwkb", + "intspanset_upper" + ], + "primaryMeos": "intspanset_upper" + }, + "intspansetWidth": { + "field": "intspansetWidth", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "Integer", + "meosFns": [ + "spanset_from_hexwkb", + "intspanset_width" + ], + "primaryMeos": "intspanset_width" + }, + "floatspansetLower": { + "field": "floatspansetLower", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_start_span", + "floatspan_lower" + ], + "primaryMeos": "floatspan_lower" + }, + "floatspansetUpper": { + "field": "floatspansetUpper", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_end_span", + "floatspan_upper" + ], + "primaryMeos": "floatspan_upper" + }, + "floatspansetWidth": { + "field": "floatspansetWidth", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "Double", + "meosFns": [ + "spanset_from_hexwkb", + "floatspanset_width" + ], + "primaryMeos": "floatspanset_width" + }, + "tstzspansetNumTimestamps": { + "field": "tstzspansetNumTimestamps", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "spanset_from_hexwkb", + "tstzspanset_num_timestamps", + "tstzspanset_timestamps" + ], + "primaryMeos": "tstzspanset_timestamps" + }, + "tstzspansetDuration": { + "field": "tstzspansetDuration", + "class": "SpanAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "tstzspanset_duration", + "pg_interval_out" + ], + "primaryMeos": "tstzspanset_duration" + }, + "intsetFromHexWKB": { + "field": "intsetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "bigintsetFromHexWKB": { + "field": "bigintsetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "floatsetFromHexWKB": { + "field": "floatsetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "textsetFromHexWKB": { + "field": "textsetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tstzsetFromHexWKB": { + "field": "tstzsetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "datesetFromHexWKB": { + "field": "datesetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "intspanFromHexWKB": { + "field": "intspanFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "bigintspanFromHexWKB": { + "field": "bigintspanFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "floatspanFromHexWKB": { + "field": "floatspanFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tstzspanFromHexWKB": { + "field": "tstzspanFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "datespanFromHexWKB": { + "field": "datespanFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "intspansetFromHexWKB": { + "field": "intspansetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "bigintspansetFromHexWKB": { + "field": "bigintspansetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "floatspansetFromHexWKB": { + "field": "floatspansetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tstzspansetFromHexWKB": { + "field": "tstzspansetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "datespansetFromHexWKB": { + "field": "datespansetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tboolFromHexWKB": { + "field": "tboolFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tintFromHexWKB": { + "field": "tintFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tfloatFromHexWKB": { + "field": "tfloatFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "ttextFromHexWKB": { + "field": "ttextFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometryFromHexEWKB": { + "field": "tgeometryFromHexEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeographyFromHexEWKB": { + "field": "tgeographyFromHexEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeompointFromHexEWKB": { + "field": "tgeompointFromHexEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeogpointFromHexEWKB": { + "field": "tgeogpointFromHexEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometryFromMFJSON": { + "field": "tgeometryFromMFJSON", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeographyFromMFJSON": { + "field": "tgeographyFromMFJSON", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeompointFromMFJSON": { + "field": "tgeompointFromMFJSON", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeogpointFromMFJSON": { + "field": "tgeogpointFromMFJSON", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tboolFromText": { + "field": "tboolFromText", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tintFromText": { + "field": "tintFromText", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tfloatFromText": { + "field": "tfloatFromText", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "ttextFromText": { + "field": "ttextFromText", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeompointFromText": { + "field": "tgeompointFromText", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeogpointFromText": { + "field": "tgeogpointFromText", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeompointFromEWKT": { + "field": "tgeompointFromEWKT", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeogpointFromEWKT": { + "field": "tgeogpointFromEWKT", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometryFromText": { + "field": "tgeometryFromText", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeographyFromText": { + "field": "tgeographyFromText", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometryFromEWKT": { + "field": "tgeometryFromEWKT", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeographyFromEWKT": { + "field": "tgeographyFromEWKT", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tboolFromBinary": { + "field": "tboolFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tintFromBinary": { + "field": "tintFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tfloatFromBinary": { + "field": "tfloatFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "ttextFromBinary": { + "field": "ttextFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeompointFromBinary": { + "field": "tgeompointFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeogpointFromBinary": { + "field": "tgeogpointFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometryFromBinary": { + "field": "tgeometryFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeographyFromBinary": { + "field": "tgeographyFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeompointFromEWKB": { + "field": "tgeompointFromEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeogpointFromEWKB": { + "field": "tgeogpointFromEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometryFromEWKB": { + "field": "tgeometryFromEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeographyFromEWKB": { + "field": "tgeographyFromEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "asBinary": { + "field": "asBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BinaryType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "byte[]", + "meosFns": [], + "primaryMeos": null + }, + "asEWKB": { + "field": "asEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BinaryType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "byte[]", + "meosFns": [], + "primaryMeos": null + }, + "asHexEWKB": { + "field": "asHexEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb", + "geomset_in", + "set_as_hexwkb", + "geogset_in", + "set_from_hexwkb" + ], + "primaryMeos": "set_from_hexwkb" + }, + "geomsetFromText": { + "field": "geomsetFromText", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geogsetFromText": { + "field": "geogsetFromText", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geomsetFromEWKT": { + "field": "geomsetFromEWKT", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geogsetFromEWKT": { + "field": "geogsetFromEWKT", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geomsetFromHexWKB": { + "field": "geomsetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geogsetFromHexWKB": { + "field": "geogsetFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geomsetFromBinary": { + "field": "geomsetFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geogsetFromBinary": { + "field": "geogsetFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geomsetFromEWKB": { + "field": "geomsetFromEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "geogsetFromEWKB": { + "field": "geogsetFromEWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tboxFromHexWKB": { + "field": "tboxFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tbox_from_hexwkb", + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_as_hexwkb" + }, + "tboxFromBinary": { + "field": "tboxFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [ + "tbox_from_hexwkb", + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_as_hexwkb" + }, + "stboxFromHexWKB": { + "field": "stboxFromHexWKB", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "stbox_from_hexwkb", + "stbox_as_hexwkb" + ], + "primaryMeos": "stbox_as_hexwkb" + }, + "stboxFromBinary": { + "field": "stboxFromBinary", + "class": "IOAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [ + "stbox_from_hexwkb", + "stbox_as_hexwkb" + ], + "primaryMeos": "stbox_as_hexwkb" + }, + "ttextUpper": { + "field": "ttextUpper", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_upper", + "temporal_as_hexwkb" + ], + "primaryMeos": "ttext_upper" + }, + "ttextLower": { + "field": "ttextLower", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_lower", + "temporal_as_hexwkb" + ], + "primaryMeos": "ttext_lower" + }, + "ttextInitcap": { + "field": "ttextInitcap", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_initcap", + "temporal_as_hexwkb", + "ttext_in", + "ttext_value_n" + ], + "primaryMeos": "ttext_value_n" + }, + "teqTextTtext": { + "field": "teqTextTtext", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tneTextTtext": { + "field": "tneTextTtext", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tltTextTtext": { + "field": "tltTextTtext", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tleTextTtext": { + "field": "tleTextTtext", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgtTextTtext": { + "field": "tgtTextTtext", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeTextTtext": { + "field": "tgeTextTtext", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "teqTtextText": { + "field": "teqTtextText", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tneTtextText": { + "field": "tneTtextText", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tltTtextText": { + "field": "tltTtextText", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tleTtextText": { + "field": "tleTtextText", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgtTtextText": { + "field": "tgtTtextText", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeTtextText": { + "field": "tgeTtextText", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "ttextCatTtextText": { + "field": "ttextCatTtextText", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "cstring2text", + "temporal_as_hexwkb" + ], + "primaryMeos": "cstring2text" + }, + "ttextCatTextTtext": { + "field": "ttextCatTextTtext", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "cstring2text", + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "cstring2text" + }, + "ttextCatTtextTtext": { + "field": "ttextCatTtextTtext", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "ttextCat": { + "field": "ttextCatTtextTtext", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "textsetCatTextsetText": { + "field": "textsetCatTextsetText", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "cstring2text", + "textcat_textset_text", + "set_as_hexwkb" + ], + "primaryMeos": "textcat_textset_text" + }, + "textsetCatTextTextset": { + "field": "textsetCatTextTextset", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "cstring2text", + "set_from_hexwkb", + "textcat_text_textset", + "set_as_hexwkb" + ], + "primaryMeos": "textcat_text_textset" + }, + "textsetCat": { + "field": "textsetCatTextsetText", + "class": "TTextUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "cstring2text", + "textcat_textset_text", + "set_as_hexwkb" + ], + "primaryMeos": "textcat_textset_text" + }, + "tint": { + "field": "tint", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tint_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tfloat": { + "field": "tfloat", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tfloat_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tbool": { + "field": "tbool", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tbool_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "ttext": { + "field": "ttext", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "ttext_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tgeogpoint": { + "field": "tgeogpoint", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tgeogpoint_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tstzspan": { + "field": "tstzspan", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tstzspan_in", + "span_as_hexwkb" + ], + "primaryMeos": "span_as_hexwkb" + }, + "tstzspanset": { + "field": "tstzspanset", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tstzspanset_in", + "spanset_as_hexwkb" + ], + "primaryMeos": "spanset_as_hexwkb" + }, + "intspan": { + "field": "intspan", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "intspan_in", + "span_as_hexwkb" + ], + "primaryMeos": "span_as_hexwkb" + }, + "floatspan": { + "field": "floatspan", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "floatspan_in", + "span_as_hexwkb" + ], + "primaryMeos": "span_as_hexwkb" + }, + "datespan": { + "field": "datespan", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "datespan_in", + "span_as_hexwkb" + ], + "primaryMeos": "span_as_hexwkb" + }, + "datespanset": { + "field": "datespanset", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "datespanset_in", + "spanset_as_hexwkb" + ], + "primaryMeos": "spanset_as_hexwkb" + }, + "intset": { + "field": "intset", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "intset_in", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "floatset": { + "field": "floatset", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "floatset_in", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "textset": { + "field": "textset", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "textset_in", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "bigintset": { + "field": "bigintset", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "bigintset_in", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "stbox": { + "field": "stbox", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "stbox_in", + "stbox_as_hexwkb" + ], + "primaryMeos": "stbox_as_hexwkb" + }, + "tbox": { + "field": "tbox", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tbox_in", + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_as_hexwkb" + }, + "tboolFromMfjson": { + "field": "tboolFromMfjson", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tbool_from_mfjson", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tintFromMfjson": { + "field": "tintFromMfjson", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tint_from_mfjson", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tfloatFromMfjson": { + "field": "tfloatFromMfjson", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tfloat_from_mfjson", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "ttextFromMfjson": { + "field": "ttextFromMfjson", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "ttext_from_mfjson", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tgeompointFromMfjson": { + "field": "tgeompointFromMfjson", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tgeompoint_from_mfjson", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tgeogpointFromMfjson": { + "field": "tgeogpointFromMfjson", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tgeogpoint_from_mfjson", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tboolFromBaseTemp": { + "field": "tboolFromBaseTemp", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Boolean", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_from_base_temp", + "temporal_as_hexwkb" + ], + "primaryMeos": "tbool_from_base_temp" + }, + "tintFromBaseTemp": { + "field": "tintFromBaseTemp", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Integer", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tint_from_base_temp", + "temporal_as_hexwkb" + ], + "primaryMeos": "tint_from_base_temp" + }, + "tfloatFromBaseTemp": { + "field": "tfloatFromBaseTemp", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Double", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_from_base_temp", + "temporal_as_hexwkb" + ], + "primaryMeos": "tfloat_from_base_temp" + }, + "ttextFromBaseTemp": { + "field": "ttextFromBaseTemp", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "ttext_in", + "ttext_value_n", + "temporal_from_hexwkb", + "ttext_from_base_temp", + "temporal_as_hexwkb" + ], + "primaryMeos": "ttext_from_base_temp" + }, + "tpointFromBaseTemp": { + "field": "tpointFromBaseTemp", + "class": "ConstructorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "temporal_from_hexwkb", + "tpoint_from_base_temp", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_from_base_temp" + }, + "tnumberAbs": { + "field": "tnumberAbs", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_abs" + ], + "primaryMeos": "tnumber_abs" + }, + "tnumberDeltaValue": { + "field": "tnumberDeltaValue", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_delta_value" + ], + "primaryMeos": "tnumber_delta_value" + }, + "tnumberAngularDifference": { + "field": "tnumberAngularDifference", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_angular_difference" + ], + "primaryMeos": "tnumber_angular_difference" + }, + "tpointAngularDifference": { + "field": "tpointAngularDifference", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_angular_difference" + ], + "primaryMeos": "tpoint_angular_difference" + }, + "tfloatExp": { + "field": "tfloatExp", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_exp" + ], + "primaryMeos": "tfloat_exp" + }, + "tfloatLn": { + "field": "tfloatLn", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_ln" + ], + "primaryMeos": "tfloat_ln" + }, + "tfloatLog10": { + "field": "tfloatLog10", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_log10" + ], + "primaryMeos": "tfloat_log10" + }, + "addTintInt": { + "field": "addTintInt", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "add_tint_int" + ], + "primaryMeos": "add_tint_int" + }, + "subTintInt": { + "field": "subTintInt", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "sub_tint_int" + ], + "primaryMeos": "sub_tint_int" + }, + "multTintInt": { + "field": "multTintInt", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "mul_tint_int" + ], + "primaryMeos": "mul_tint_int" + }, + "divTintInt": { + "field": "divTintInt", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "div_tint_int" + ], + "primaryMeos": "div_tint_int" + }, + "addTfloatFloat": { + "field": "addTfloatFloat", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "add_tfloat_float" + ], + "primaryMeos": "add_tfloat_float" + }, + "subTfloatFloat": { + "field": "subTfloatFloat", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "sub_tfloat_float" + ], + "primaryMeos": "sub_tfloat_float" + }, + "multTfloatFloat": { + "field": "multTfloatFloat", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "mul_tfloat_float" + ], + "primaryMeos": "mul_tfloat_float" + }, + "divTfloatFloat": { + "field": "divTfloatFloat", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "div_tfloat_float" + ], + "primaryMeos": "div_tfloat_float" + }, + "addTnumberTnumber": { + "field": "addTnumberTnumber", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "add_tnumber_tnumber" + ], + "primaryMeos": "add_tnumber_tnumber" + }, + "subTnumberTnumber": { + "field": "subTnumberTnumber", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "sub_tnumber_tnumber" + ], + "primaryMeos": "sub_tnumber_tnumber" + }, + "multTnumberTnumber": { + "field": "multTnumberTnumber", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "mul_tnumber_tnumber" + ], + "primaryMeos": "mul_tnumber_tnumber" + }, + "divTnumberTnumber": { + "field": "divTnumberTnumber", + "class": "MathUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "div_tnumber_tnumber" + ], + "primaryMeos": "div_tnumber_tnumber" + }, + "cbufferEq": { + "field": "cbufferEq", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferNe": { + "field": "cbufferNe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferLt": { + "field": "cbufferLt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferLe": { + "field": "cbufferLe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferGt": { + "field": "cbufferGt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferGe": { + "field": "cbufferGe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "cbufferCmp": { + "field": "cbufferCmp", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "npointEq": { + "field": "npointEq", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "npointNe": { + "field": "npointNe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "npointLt": { + "field": "npointLt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "npointLe": { + "field": "npointLe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "npointGt": { + "field": "npointGt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "npointGe": { + "field": "npointGe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "npointCmp": { + "field": "npointCmp", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "npointHash": { + "field": "npointHash", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "npointHashExtended": { + "field": "npointHashExtended", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Long", + "meosFns": [], + "primaryMeos": null + }, + "poseEq": { + "field": "poseEq", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "poseNe": { + "field": "poseNe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "poseLt": { + "field": "poseLt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "poseLe": { + "field": "poseLe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "poseGt": { + "field": "poseGt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "poseGe": { + "field": "poseGe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "poseCmp": { + "field": "poseCmp", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "poseHash": { + "field": "poseHash", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "poseHashExtended": { + "field": "poseHashExtended", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Long", + "meosFns": [], + "primaryMeos": null + }, + "nsegmentEq": { + "field": "nsegmentEq", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "nsegmentNe": { + "field": "nsegmentNe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "nsegmentLt": { + "field": "nsegmentLt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "nsegmentLe": { + "field": "nsegmentLe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "nsegmentGt": { + "field": "nsegmentGt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "nsegmentGe": { + "field": "nsegmentGe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "nsegmentCmp": { + "field": "nsegmentCmp", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "setEq": { + "field": "setEq", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setNe": { + "field": "setNe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setLt": { + "field": "setLt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setLe": { + "field": "setLe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setGt": { + "field": "setGt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setGe": { + "field": "setGe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setCmp": { + "field": "setCmp", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "setHash": { + "field": "setHash", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "setHashExtended": { + "field": "setHashExtended", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Long", + "meosFns": [], + "primaryMeos": null + }, + "spanEq": { + "field": "spanEq", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanNe": { + "field": "spanNe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanLt": { + "field": "spanLt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanLe": { + "field": "spanLe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanGt": { + "field": "spanGt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanGe": { + "field": "spanGe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanCmp": { + "field": "spanCmp", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "spanHash": { + "field": "spanHash", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "spanHashExtended": { + "field": "spanHashExtended", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Long", + "meosFns": [], + "primaryMeos": null + }, + "spansetEq": { + "field": "spansetEq", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetNe": { + "field": "spansetNe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetLt": { + "field": "spansetLt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetLe": { + "field": "spansetLe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetGt": { + "field": "spansetGt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetGe": { + "field": "spansetGe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetCmp": { + "field": "spansetCmp", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "spansetHash": { + "field": "spansetHash", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "spansetHashExtended": { + "field": "spansetHashExtended", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Long", + "meosFns": [], + "primaryMeos": null + }, + "tboxEq": { + "field": "tboxEq", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxNe": { + "field": "tboxNe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxLt": { + "field": "tboxLt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxLe": { + "field": "tboxLe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxGt": { + "field": "tboxGt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxGe": { + "field": "tboxGe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxCmp": { + "field": "tboxCmp", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "tboxHash": { + "field": "tboxHash", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "tboxHashExtended": { + "field": "tboxHashExtended", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Long", + "meosFns": [], + "primaryMeos": null + }, + "stboxEq": { + "field": "stboxEq", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxNe": { + "field": "stboxNe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxLt": { + "field": "stboxLt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxLe": { + "field": "stboxLe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxGt": { + "field": "stboxGt", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxGe": { + "field": "stboxGe", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "stboxCmp": { + "field": "stboxCmp", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "stboxHash": { + "field": "stboxHash", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "stboxHashExtended": { + "field": "stboxHashExtended", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "Long", + "meosFns": [], + "primaryMeos": null + }, + "temporalCmp": { + "field": "temporalCmp", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "temporalHash": { + "field": "temporalHash", + "class": "ComparisonUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [], + "primaryMeos": null + }, + "atTime": { + "field": "atTime", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Object" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_at_timestamptz", + "tstzspan_in", + "temporal_at_tstzspan", + "pg_timestamptz_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_tstzspan" + }, + "startTimestamp": { + "field": "startTimestamp", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Timestamp", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_start_timestamptz" + ], + "primaryMeos": "temporal_start_timestamptz" + }, + "endTimestamp": { + "field": "endTimestamp", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Timestamp", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_end_timestamptz" + ], + "primaryMeos": "temporal_end_timestamptz" + }, + "numInstants": { + "field": "numInstants", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_num_instants" + ], + "primaryMeos": "temporal_num_instants" + }, + "speed": { + "field": "speed", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_speed", + "temporal_as_hexwkb" + ], + "primaryMeos": "tpoint_speed" + }, + "atGeometry": { + "field": "atGeometry", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "geo_from_text", + "tgeo_at_geom", + "temporal_as_hexwkb" + ], + "primaryMeos": "tgeo_at_geom" + }, + "asHexWKB": { + "field": "asHexWKB", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "temporalAsMfjson": { + "field": "temporalAsMfjson", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_mfjson" + ], + "primaryMeos": "temporal_as_mfjson" + }, + "tboolOut": { + "field": "tboolOut", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_out" + ], + "primaryMeos": "tbool_out" + }, + "tintOut": { + "field": "tintOut", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tint_out" + ], + "primaryMeos": "tint_out" + }, + "tfloatOut": { + "field": "tfloatOut", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_out" + ], + "primaryMeos": "tfloat_out" + }, + "ttextOut": { + "field": "ttextOut", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_out" + ], + "primaryMeos": "ttext_out" + }, + "getTimestamp": { + "field": "startTimestamp", + "class": "TemporalUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Timestamp", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_start_timestamptz" + ], + "primaryMeos": "temporal_start_timestamptz" + }, + "teqTintInt": { + "field": "teqTintInt", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "teqTfloatFloat": { + "field": "teqTfloatFloat", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "teqTboolBool": { + "field": "teqTboolBool", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tneTintInt": { + "field": "tneTintInt", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tneTfloatFloat": { + "field": "tneTfloatFloat", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tneTboolBool": { + "field": "tneTboolBool", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tltTintInt": { + "field": "tltTintInt", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tltTfloatFloat": { + "field": "tltTfloatFloat", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tleTintInt": { + "field": "tleTintInt", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tleTfloatFloat": { + "field": "tleTfloatFloat", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgtTintInt": { + "field": "tgtTintInt", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgtTfloatFloat": { + "field": "tgtTfloatFloat", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeTintInt": { + "field": "tgeTintInt", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeTfloatFloat": { + "field": "tgeTfloatFloat", + "class": "TemporalCompUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "bigintspanWidth": { + "field": "bigintspanWidth", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Long", + "meosFns": [ + "span_from_hexwkb", + "bigintspan_width" + ], + "primaryMeos": "bigintspan_width" + }, + "bigintspansetWidth": { + "field": "bigintspansetWidth", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "Long", + "meosFns": [ + "spanset_from_hexwkb", + "bigintspanset_width" + ], + "primaryMeos": "bigintspanset_width" + }, + "width": { + "field": "floatspanWidth", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "span_from_hexwkb", + "floatspan_width" + ], + "primaryMeos": "floatspan_width" + }, + "startDate": { + "field": "startDate", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "spanset_from_hexwkb", + "datespanset_start_date" + ], + "primaryMeos": "datespanset_start_date" + }, + "endDate": { + "field": "endDate", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "spanset_from_hexwkb", + "datespanset_end_date" + ], + "primaryMeos": "datespanset_end_date" + }, + "numDates": { + "field": "numDates", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "spanset_from_hexwkb", + "datespanset_num_dates" + ], + "primaryMeos": "datespanset_num_dates" + }, + "dateN": { + "field": "dateN", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Integer", + "meosFns": [ + "spanset_from_hexwkb", + "datespanset_date_n" + ], + "primaryMeos": "datespanset_date_n" + }, + "dates": { + "field": "dates", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "datespanset_dates", + "set_as_hexwkb" + ], + "primaryMeos": "datespanset_dates" + }, + "valueSpan": { + "field": "valueSpan", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_to_span", + "span_as_hexwkb" + ], + "primaryMeos": "tnumber_to_span" + }, + "intsetFromBinary": { + "field": "intsetFromBinary", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "bigintsetFromBinary": { + "field": "bigintsetFromBinary", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "floatsetFromBinary": { + "field": "floatsetFromBinary", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "textsetFromBinary": { + "field": "textsetFromBinary", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tstzsetFromBinary": { + "field": "tstzsetFromBinary", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "datesetFromBinary": { + "field": "datesetFromBinary", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometry": { + "field": "tgeometry", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tgeography": { + "field": "tgeography", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "geometry": { + "field": "tgeometry", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "geography": { + "field": "tgeography", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "valueSet": { + "field": "valueSet", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_as_hexwkb", + "pg_interval_in", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "box2d": { + "field": "box2d", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "stbox_from_hexwkb" + ], + "primaryMeos": "stbox_from_hexwkb" + }, + "box3d": { + "field": "box3d", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "stbox_from_hexwkb" + ], + "primaryMeos": "stbox_from_hexwkb" + }, + "avgValue": { + "field": "avgValue", + "class": "AccessorAliasUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb" + ], + "primaryMeos": "temporal_from_hexwkb" + }, + "frechetDistance": { + "field": "frechetDistance", + "class": "SimilarityUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_frechet_distance" + ], + "primaryMeos": "temporal_frechet_distance" + }, + "dynamicTimeWarp": { + "field": "dynamicTimeWarp", + "class": "SimilarityUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_dyntimewarp_distance" + ], + "primaryMeos": "temporal_dyntimewarp_distance" + }, + "hausdorffDistance": { + "field": "hausdorffDistance", + "class": "SimilarityUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_hausdorff_distance" + ], + "primaryMeos": "temporal_hausdorff_distance" + }, + "dynTimeWarpDistance": { + "field": "dynamicTimeWarp", + "class": "SimilarityUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_dyntimewarp_distance" + ], + "primaryMeos": "temporal_dyntimewarp_distance" + }, + "tboolSeqSetGaps": { + "field": "tboolSeqSetGaps", + "class": "SeqSetGapsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String[]", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "ttextSeqSetGaps": { + "field": "ttextSeqSetGaps", + "class": "SeqSetGapsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String[]", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tintSeqSetGaps": { + "field": "tintSeqSetGaps", + "class": "SeqSetGapsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String[]", + "String", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tfloatSeqSetGaps": { + "field": "tfloatSeqSetGaps", + "class": "SeqSetGapsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 4, + "argTypes": [ + "String[]", + "String", + "Double", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeompointSeqSetGaps": { + "field": "tgeompointSeqSetGaps", + "class": "SeqSetGapsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 4, + "argTypes": [ + "String[]", + "String", + "Double", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeogpointSeqSetGaps": { + "field": "tgeogpointSeqSetGaps", + "class": "SeqSetGapsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 4, + "argTypes": [ + "String[]", + "String", + "Double", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeometrySeqSetGaps": { + "field": "tgeometrySeqSetGaps", + "class": "SeqSetGapsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 4, + "argTypes": [ + "String[]", + "String", + "Double", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tgeographySeqSetGaps": { + "field": "tgeographySeqSetGaps", + "class": "SeqSetGapsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 4, + "argTypes": [ + "String[]", + "String", + "Double", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tnotTbool": { + "field": "tnotTbool", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnot_tbool" + ], + "primaryMeos": "tnot_tbool" + }, + "tandBool": { + "field": "tandBool", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tand_tbool_bool" + ], + "primaryMeos": "tand_tbool_bool" + }, + "tandBoolTbool": { + "field": "tandBoolTbool", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Boolean", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tand_bool_tbool" + ], + "primaryMeos": "tand_bool_tbool" + }, + "tandTboolTbool": { + "field": "tandTboolTbool", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tand_tbool_tbool" + ], + "primaryMeos": "tand_tbool_tbool" + }, + "torBool": { + "field": "torBool", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Boolean" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tor_tbool_bool" + ], + "primaryMeos": "tor_tbool_bool" + }, + "torBoolTbool": { + "field": "torBoolTbool", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Boolean", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tor_bool_tbool" + ], + "primaryMeos": "tor_bool_tbool" + }, + "torTboolTbool": { + "field": "torTboolTbool", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tor_tbool_tbool" + ], + "primaryMeos": "tor_tbool_tbool" + }, + "tboolWhenTrue": { + "field": "tboolWhenTrue", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_when_true", + "spanset_as_hexwkb" + ], + "primaryMeos": "tbool_when_true" + }, + "teqTemporalTemporal": { + "field": "teqTemporalTemporal", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "teq_temporal_temporal", + "temporal_as_hexwkb" + ], + "primaryMeos": "teq_temporal_temporal" + }, + "tneTemporalTemporal": { + "field": "tneTemporalTemporal", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tne_temporal_temporal", + "temporal_as_hexwkb" + ], + "primaryMeos": "tne_temporal_temporal" + }, + "tltTemporalTemporal": { + "field": "tltTemporalTemporal", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tlt_temporal_temporal", + "temporal_as_hexwkb" + ], + "primaryMeos": "tlt_temporal_temporal" + }, + "tleTemporalTemporal": { + "field": "tleTemporalTemporal", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tle_temporal_temporal", + "temporal_as_hexwkb" + ], + "primaryMeos": "tle_temporal_temporal" + }, + "tgtTemporalTemporal": { + "field": "tgtTemporalTemporal", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgt_temporal_temporal", + "temporal_as_hexwkb" + ], + "primaryMeos": "tgt_temporal_temporal" + }, + "tgeTemporalTemporal": { + "field": "tgeTemporalTemporal", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tge_temporal_temporal", + "temporal_as_hexwkb" + ], + "primaryMeos": "tge_temporal_temporal" + }, + "tboolNot": { + "field": "tnotTbool", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnot_tbool" + ], + "primaryMeos": "tnot_tbool" + }, + "tboolAnd": { + "field": "tandTboolTbool", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tand_tbool_tbool" + ], + "primaryMeos": "tand_tbool_tbool" + }, + "tboolOr": { + "field": "torTboolTbool", + "class": "BoolOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tor_tbool_tbool" + ], + "primaryMeos": "tor_tbool_tbool" + }, + "numSequences": { + "field": "numSequences", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_num_sequences" + ], + "primaryMeos": "temporal_num_sequences" + }, + "interp": { + "field": "interp", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_interp" + ], + "primaryMeos": "temporal_interp" + }, + "time": { + "field": "time", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_time", + "spanset_as_hexwkb" + ], + "primaryMeos": "temporal_time" + }, + "timespan": { + "field": "timespan", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tstzspan", + "span_as_hexwkb" + ], + "primaryMeos": "temporal_to_tstzspan" + }, + "merge": { + "field": "merge", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_merge", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_merge" + }, + "shift": { + "field": "shift", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_shift_time", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_shift_time" + }, + "scale": { + "field": "scale", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "temporal_scale_time", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_scale_time" + }, + "atSpan": { + "field": "atSpan", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "span_from_hexwkb", + "temporal_at_tstzspan", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_tstzspan" + }, + "atSpanset": { + "field": "atSpanset", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "spanset_from_hexwkb", + "temporal_at_tstzspanset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_tstzspanset" + }, + "insert": { + "field": "insert", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_insert", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_insert" + }, + "update": { + "field": "update", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_update", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_update" + }, + "tfloatStartValue": { + "field": "tfloatStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_start_value" + ], + "primaryMeos": "tfloat_start_value" + }, + "tfloatEndValue": { + "field": "tfloatEndValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_end_value" + ], + "primaryMeos": "tfloat_end_value" + }, + "tfloatMinValue": { + "field": "tfloatMinValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_min_value" + ], + "primaryMeos": "tfloat_min_value" + }, + "tfloatMaxValue": { + "field": "tfloatMaxValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_max_value" + ], + "primaryMeos": "tfloat_max_value" + }, + "tintStartValue": { + "field": "tintStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "tint_start_value" + ], + "primaryMeos": "tint_start_value" + }, + "tintEndValue": { + "field": "tintEndValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "tint_end_value" + ], + "primaryMeos": "tint_end_value" + }, + "tintMinValue": { + "field": "tintMinValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "tint_min_value" + ], + "primaryMeos": "tint_min_value" + }, + "tintMaxValue": { + "field": "tintMaxValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "tint_max_value" + ], + "primaryMeos": "tint_max_value" + }, + "tboolStartValue": { + "field": "tboolStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_start_value" + ], + "primaryMeos": "tbool_start_value" + }, + "tboolEndValue": { + "field": "tboolEndValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_end_value" + ], + "primaryMeos": "tbool_end_value" + }, + "tpointStartValue": { + "field": "tpointStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeo_start_value", + "geo_as_text" + ], + "primaryMeos": "tgeo_start_value" + }, + "tpointEndValue": { + "field": "tpointEndValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeo_end_value", + "geo_as_text" + ], + "primaryMeos": "tgeo_end_value" + }, + "ttextStartValue": { + "field": "ttextStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_start_value", + "text_out" + ], + "primaryMeos": "ttext_start_value" + }, + "ttextEndValue": { + "field": "ttextEndValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_end_value", + "text_out" + ], + "primaryMeos": "ttext_end_value" + }, + "tintGetValue": { + "field": "tintStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "tint_start_value" + ], + "primaryMeos": "tint_start_value" + }, + "tfloatGetValue": { + "field": "tfloatStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_start_value" + ], + "primaryMeos": "tfloat_start_value" + }, + "tboolGetValue": { + "field": "tboolStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_start_value" + ], + "primaryMeos": "tbool_start_value" + }, + "ttextGetValue": { + "field": "ttextStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_start_value", + "text_out" + ], + "primaryMeos": "ttext_start_value" + }, + "tpointGetValue": { + "field": "tpointStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeo_start_value", + "geo_as_text" + ], + "primaryMeos": "tgeo_start_value" + }, + "getValue": { + "field": "tfloatStartValue", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_start_value" + ], + "primaryMeos": "tfloat_start_value" + }, + "atMin": { + "field": "atMin", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_at_min", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_min" + }, + "atMax": { + "field": "atMax", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_at_max", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_max" + }, + "atValues": { + "field": "atValues", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "set_from_hexwkb", + "temporal_at_values", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_at_values" + }, + "minusTime": { + "field": "minusTime", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "span_from_hexwkb", + "temporal_minus_tstzspan", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_minus_tstzspan" + }, + "minusMin": { + "field": "minusMin", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_minus_min", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_minus_min" + }, + "minusMax": { + "field": "minusMax", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_minus_max", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_minus_max" + }, + "atStbox": { + "field": "atStbox", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "stbox_from_hexwkb", + "tgeo_at_stbox", + "temporal_as_hexwkb" + ], + "primaryMeos": "tgeo_at_stbox" + }, + "minusStbox": { + "field": "minusStbox", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "stbox_from_hexwkb", + "tgeo_minus_stbox", + "temporal_as_hexwkb" + ], + "primaryMeos": "tgeo_minus_stbox" + }, + "tnumberAtTbox": { + "field": "tnumberAtTbox", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbox_from_hexwkb", + "tnumber_at_tbox", + "temporal_as_hexwkb" + ], + "primaryMeos": "tnumber_at_tbox" + }, + "tnumberMinusTbox": { + "field": "tnumberMinusTbox", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbox_from_hexwkb", + "tnumber_minus_tbox", + "temporal_as_hexwkb" + ], + "primaryMeos": "tnumber_minus_tbox" + }, + "appendInstant": { + "field": "appendInstant", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_append_tinstant", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_append_tinstant" + }, + "appendSequence": { + "field": "appendSequence", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_append_tsequence", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_append_tsequence" + }, + "tnumberValuespans": { + "field": "tnumberValuespans", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_valuespans", + "spanset_as_hexwkb" + ], + "primaryMeos": "tnumber_valuespans" + }, + "tnumberToSpan": { + "field": "tnumberToSpan", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_to_span", + "span_as_hexwkb" + ], + "primaryMeos": "tnumber_to_span" + }, + "tnumberToTbox": { + "field": "tnumberToTbox", + "class": "AccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tnumber_to_tbox", + "tbox_as_hexwkb" + ], + "primaryMeos": "tnumber_to_tbox" + }, + "setLeft": { + "field": "setLeft", + "class": "SetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setRight": { + "field": "setRight", + "class": "SetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setOverleft": { + "field": "setOverleft", + "class": "SetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setOverright": { + "field": "setOverright", + "class": "SetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setContains": { + "field": "setContains", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "contains_set_set" + ], + "primaryMeos": "contains_set_set" + }, + "setContained": { + "field": "setContained", + "class": "SetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "setOverlaps": { + "field": "setOverlaps", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "overlaps_set_set" + ], + "primaryMeos": "overlaps_set_set" + }, + "distanceIntsetIntset": { + "field": "distanceIntsetIntset", + "class": "SetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [ + "set_from_hexwkb", + "distance_intset_intset" + ], + "primaryMeos": "distance_intset_intset" + }, + "distanceBigintsetBigintset": { + "field": "distanceBigintsetBigintset", + "class": "SetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Long", + "meosFns": [ + "set_from_hexwkb", + "distance_bigintset_bigintset" + ], + "primaryMeos": "distance_bigintset_bigintset" + }, + "distanceFloatsetFloatset": { + "field": "distanceFloatsetFloatset", + "class": "SetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "set_from_hexwkb", + "distance_floatset_floatset" + ], + "primaryMeos": "distance_floatset_floatset" + }, + "distanceTstzsetTstzset": { + "field": "distanceTstzsetTstzset", + "class": "SetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "set_from_hexwkb", + "distance_tstzset_tstzset" + ], + "primaryMeos": "distance_tstzset_tstzset" + }, + "setDistance": { + "field": "distanceFloatsetFloatset", + "class": "SetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "set_from_hexwkb", + "distance_floatset_floatset" + ], + "primaryMeos": "distance_floatset_floatset" + }, + "spanContains": { + "field": "spanContains", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "contains_span_span" + ], + "primaryMeos": "contains_span_span" + }, + "spanContainedIn": { + "field": "spanContainedIn", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "contained_span_span" + ], + "primaryMeos": "contained_span_span" + }, + "spanOverlaps": { + "field": "spanOverlaps", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "overlaps_span_span" + ], + "primaryMeos": "overlaps_span_span" + }, + "spanAdjacent": { + "field": "spanAdjacent", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "adjacent_span_span" + ], + "primaryMeos": "adjacent_span_span" + }, + "spanLeft": { + "field": "spanLeft", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "left_span_span" + ], + "primaryMeos": "left_span_span" + }, + "spanRight": { + "field": "spanRight", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "right_span_span" + ], + "primaryMeos": "right_span_span" + }, + "spanOverleft": { + "field": "spanOverleft", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "overleft_span_span" + ], + "primaryMeos": "overleft_span_span" + }, + "spanOverright": { + "field": "spanOverright", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "overright_span_span" + ], + "primaryMeos": "overright_span_span" + }, + "spanUnion": { + "field": "spanUnion", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "union_span_span", + "spanset_as_hexwkb" + ], + "primaryMeos": "union_span_span" + }, + "spanIntersection": { + "field": "spanIntersection", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "intersection_span_span", + "span_as_hexwkb" + ], + "primaryMeos": "intersection_span_span" + }, + "spanMinus": { + "field": "spanMinus", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "minus_span_span", + "spanset_as_hexwkb" + ], + "primaryMeos": "minus_span_span" + }, + "tstzspanDistance": { + "field": "tstzspanDistance", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "distance_tstzspan_tstzspan" + ], + "primaryMeos": "distance_tstzspan_tstzspan" + }, + "intspanDistance": { + "field": "intspanDistance", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [ + "distance_intspan_intspan" + ], + "primaryMeos": "distance_intspan_intspan" + }, + "bigintspanDistance": { + "field": "bigintspanDistance", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "LongType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Long", + "meosFns": [ + "distance_bigintspan_bigintspan" + ], + "primaryMeos": "distance_bigintspan_bigintspan" + }, + "floatspanDistance": { + "field": "floatspanDistance", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "distance_floatspan_floatspan" + ], + "primaryMeos": "distance_floatspan_floatspan" + }, + "datespanDistance": { + "field": "datespanDistance", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Integer", + "meosFns": [ + "distance_datespan_datespan" + ], + "primaryMeos": "distance_datespan_datespan" + }, + "spanDistance": { + "field": "floatspanDistance", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "distance_floatspan_floatspan" + ], + "primaryMeos": "distance_floatspan_floatspan" + }, + "timeDistance": { + "field": "tstzspanDistance", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Double", + "meosFns": [ + "distance_tstzspan_tstzspan" + ], + "primaryMeos": "distance_tstzspan_tstzspan" + }, + "intspanExpand": { + "field": "intspanExpand", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "span_as_hexwkb" + ], + "primaryMeos": "span_as_hexwkb" + }, + "bigintspanExpand": { + "field": "bigintspanExpand", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Long" + ], + "retType": "String", + "meosFns": [ + "span_as_hexwkb" + ], + "primaryMeos": "span_as_hexwkb" + }, + "floatspanExpand": { + "field": "floatspanExpand", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "span_as_hexwkb" + ], + "primaryMeos": "span_as_hexwkb" + }, + "expand": { + "field": "floatspanExpand", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "span_as_hexwkb" + ], + "primaryMeos": "span_as_hexwkb" + }, + "spansetContainsSpan": { + "field": "spansetContainsSpan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "contains_spanset_span" + ], + "primaryMeos": "contains_spanset_span" + }, + "spanContainedInSpanset": { + "field": "spanContainedInSpanset", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "contained_span_spanset" + ], + "primaryMeos": "contained_span_spanset" + }, + "spansetOverlaps": { + "field": "spansetOverlaps", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "overlaps_spanset_spanset" + ], + "primaryMeos": "overlaps_spanset_spanset" + }, + "spansetUnion": { + "field": "spansetUnion", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "union_spanset_spanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "union_spanset_spanset" + }, + "spansetIntersection": { + "field": "spansetIntersection", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "intersection_spanset_spanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "intersection_spanset_spanset" + }, + "spansetMinus": { + "field": "spansetMinus", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "minus_spanset_spanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "minus_spanset_spanset" + }, + "intspanToFloatspan": { + "field": "intspanToFloatspan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "intspan_to_floatspan", + "span_as_hexwkb" + ], + "primaryMeos": "intspan_to_floatspan" + }, + "floatspanToIntspan": { + "field": "floatspanToIntspan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "floatspan_to_intspan", + "span_as_hexwkb" + ], + "primaryMeos": "floatspan_to_intspan" + }, + "datespanToTstzspan": { + "field": "datespanToTstzspan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "datespan_to_tstzspan", + "span_as_hexwkb" + ], + "primaryMeos": "datespan_to_tstzspan" + }, + "tstzspanToDatespan": { + "field": "tstzspanToDatespan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tstzspan_to_datespan", + "span_as_hexwkb" + ], + "primaryMeos": "tstzspan_to_datespan" + }, + "intsetToFloatset": { + "field": "intsetToFloatset", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "intset_to_floatset", + "set_as_hexwkb" + ], + "primaryMeos": "intset_to_floatset" + }, + "floatsetToIntset": { + "field": "floatsetToIntset", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "floatset_to_intset", + "set_as_hexwkb" + ], + "primaryMeos": "floatset_to_intset" + }, + "setToSpan": { + "field": "setToSpan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "set_to_span", + "span_as_hexwkb" + ], + "primaryMeos": "set_to_span" + }, + "setToSpanset": { + "field": "setToSpanset", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "set_to_spanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "set_to_spanset" + }, + "tstzspanDuration": { + "field": "tstzspanDuration", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tstzspan_duration", + "pg_interval_out" + ], + "primaryMeos": "tstzspan_duration" + }, + "datespanDuration": { + "field": "datespanDuration", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "datespan_duration", + "pg_interval_out" + ], + "primaryMeos": "datespan_duration" + }, + "tstzspanShiftScale": { + "field": "tstzspanShiftScale", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "pg_interval_in", + "tstzspan_shift_scale", + "span_as_hexwkb" + ], + "primaryMeos": "tstzspan_shift_scale" + }, + "tstzspansetShiftScale": { + "field": "tstzspansetShiftScale", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "pg_interval_in", + "tstzspanset_shift_scale", + "spanset_as_hexwkb" + ], + "primaryMeos": "tstzspanset_shift_scale" + }, + "timestamptzToSpan": { + "field": "timestamptzToSpan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "java.sql.Timestamp" + ], + "retType": "String", + "meosFns": [ + "timestamptz_to_span", + "span_as_hexwkb" + ], + "primaryMeos": "timestamptz_to_span" + }, + "timestamptzToSet": { + "field": "timestamptzToSet", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "java.sql.Timestamp" + ], + "retType": "String", + "meosFns": [ + "timestamptz_to_set", + "set_as_hexwkb" + ], + "primaryMeos": "timestamptz_to_set" + }, + "spansetIntersectionSpan": { + "field": "spansetIntersectionSpan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "intersection_spanset_span", + "spanset_as_hexwkb" + ], + "primaryMeos": "intersection_spanset_span" + }, + "spansetUnionSpan": { + "field": "spansetUnionSpan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "union_spanset_span", + "spanset_as_hexwkb" + ], + "primaryMeos": "union_spanset_span" + }, + "spansetMinusSpan": { + "field": "spansetMinusSpan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "minus_spanset_span", + "spanset_as_hexwkb" + ], + "primaryMeos": "minus_spanset_span" + }, + "intToSpan": { + "field": "intToSpan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Integer" + ], + "retType": "String", + "meosFns": [ + "int_to_span", + "span_as_hexwkb" + ], + "primaryMeos": "int_to_span" + }, + "intToSet": { + "field": "intToSet", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Integer" + ], + "retType": "String", + "meosFns": [ + "int_to_set", + "set_as_hexwkb" + ], + "primaryMeos": "int_to_set" + }, + "intToSpanset": { + "field": "intToSpanset", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Integer" + ], + "retType": "String", + "meosFns": [ + "int_to_spanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "int_to_spanset" + }, + "floatToSpan": { + "field": "floatToSpan", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Double" + ], + "retType": "String", + "meosFns": [ + "float_to_span", + "span_as_hexwkb" + ], + "primaryMeos": "float_to_span" + }, + "floatToSet": { + "field": "floatToSet", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Double" + ], + "retType": "String", + "meosFns": [ + "float_to_set", + "set_as_hexwkb" + ], + "primaryMeos": "float_to_set" + }, + "floatToSpanset": { + "field": "floatToSpanset", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Double" + ], + "retType": "String", + "meosFns": [ + "float_to_spanset", + "spanset_as_hexwkb" + ], + "primaryMeos": "float_to_spanset" + }, + "intToTbox": { + "field": "intToTbox", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Integer" + ], + "retType": "String", + "meosFns": [ + "int_to_tbox", + "tbox_as_hexwkb" + ], + "primaryMeos": "int_to_tbox" + }, + "floatToTbox": { + "field": "floatToTbox", + "class": "SpanAlgebraUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "Double" + ], + "retType": "String", + "meosFns": [ + "float_to_tbox", + "tbox_as_hexwkb" + ], + "primaryMeos": "float_to_tbox" + }, + "tboxHasx": { + "field": "tboxHasx", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "tbox_hasx" + ], + "primaryMeos": "tbox_hasx" + }, + "tboxHast": { + "field": "tboxHast", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "tbox_hast" + ], + "primaryMeos": "tbox_hast" + }, + "tboxXmin": { + "field": "tboxXmin", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "tbox_xmin" + ], + "primaryMeos": "tbox_xmin" + }, + "tboxXmax": { + "field": "tboxXmax", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "tbox_xmax" + ], + "primaryMeos": "tbox_xmax" + }, + "tboxXminInc": { + "field": "tboxXminInc", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "tbox_xmin_inc" + ], + "primaryMeos": "tbox_xmin_inc" + }, + "tboxXmaxInc": { + "field": "tboxXmaxInc", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "tbox_xmax_inc" + ], + "primaryMeos": "tbox_xmax_inc" + }, + "tboxTmin": { + "field": "tboxTmin", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "tbox_tmin" + ], + "primaryMeos": "tbox_tmin" + }, + "tboxTmax": { + "field": "tboxTmax", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "java.sql.Timestamp", + "meosFns": [ + "tbox_tmax" + ], + "primaryMeos": "tbox_tmax" + }, + "tboxTminInc": { + "field": "tboxTminInc", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "tbox_tmin_inc" + ], + "primaryMeos": "tbox_tmin_inc" + }, + "tboxTmaxInc": { + "field": "tboxTmaxInc", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "tbox_tmax_inc" + ], + "primaryMeos": "tbox_tmax_inc" + }, + "tboxToIntspan": { + "field": "tboxToIntspan", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tbox_to_intspan", + "span_as_hexwkb" + ], + "primaryMeos": "tbox_to_intspan" + }, + "tboxToFloatspan": { + "field": "tboxToFloatspan", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tbox_to_floatspan", + "span_as_hexwkb" + ], + "primaryMeos": "tbox_to_floatspan" + }, + "tboxToTstzspan": { + "field": "tboxToTstzspan", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "tbox_to_tstzspan", + "span_as_hexwkb" + ], + "primaryMeos": "tbox_to_tstzspan" + }, + "tboxRound": { + "field": "tboxRound", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "tbox_round", + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_round" + }, + "spanToTbox": { + "field": "spanToTbox", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "span_to_tbox", + "tbox_as_hexwkb" + ], + "primaryMeos": "span_to_tbox" + }, + "spansetToTbox": { + "field": "spansetToTbox", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "spanset_from_hexwkb", + "spanset_to_tbox", + "tbox_as_hexwkb" + ], + "primaryMeos": "spanset_to_tbox" + }, + "setToTbox": { + "field": "setToTbox", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "set_to_tbox", + "tbox_as_hexwkb" + ], + "primaryMeos": "set_to_tbox" + }, + "tboxfloatXmin": { + "field": "tboxfloatXmin", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "tboxfloat_xmin" + ], + "primaryMeos": "tboxfloat_xmin" + }, + "tboxfloatXmax": { + "field": "tboxfloatXmax", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "tboxfloat_xmax" + ], + "primaryMeos": "tboxfloat_xmax" + }, + "tboxintXmin": { + "field": "tboxintXmin", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "tboxint_xmin" + ], + "primaryMeos": "tboxint_xmin" + }, + "tboxintXmax": { + "field": "tboxintXmax", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "tboxint_xmax" + ], + "primaryMeos": "tboxint_xmax" + }, + "tboxMake": { + "field": "tboxMake", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "tbox_make", + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_make" + }, + "timestamptzToTbox": { + "field": "timestamptzToTbox", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "java.sql.Timestamp" + ], + "retType": "String", + "meosFns": [ + "timestamptz_to_tbox", + "tbox_as_hexwkb" + ], + "primaryMeos": "timestamptz_to_tbox" + }, + "numspanTimestamptzToTbox": { + "field": "numspanTimestamptzToTbox", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "java.sql.Timestamp" + ], + "retType": "String", + "meosFns": [ + "span_from_hexwkb", + "numspan_timestamptz_to_tbox", + "tbox_as_hexwkb" + ], + "primaryMeos": "numspan_timestamptz_to_tbox" + }, + "tboxExpandTime": { + "field": "tboxExpandTime", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "pg_interval_in", + "tbox_expand_time", + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_expand_time" + }, + "tboxExpandFloat": { + "field": "tboxExpandFloat", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_as_hexwkb" + }, + "tboxExpandInt": { + "field": "tboxExpandInt", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_as_hexwkb" + }, + "tboxShiftScaleTime": { + "field": "tboxShiftScaleTime", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "String", + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "pg_interval_in", + "tbox_shift_scale_time", + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_shift_scale_time" + }, + "intersectionTboxTbox": { + "field": "intersectionTboxTbox", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "unionTboxTbox": { + "field": "unionTboxTbox", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "union_tbox_tbox" + ], + "primaryMeos": "union_tbox_tbox" + }, + "tboxIntersection": { + "field": "intersectionTboxTbox", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tboxUnion": { + "field": "unionTboxTbox", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "String", + "meosFns": [ + "union_tbox_tbox" + ], + "primaryMeos": "union_tbox_tbox" + }, + "expandValue": { + "field": "tboxExpandFloat", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Double" + ], + "retType": "String", + "meosFns": [ + "tbox_as_hexwkb" + ], + "primaryMeos": "tbox_as_hexwkb" + }, + "tboxContains": { + "field": "tboxContains", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxContained": { + "field": "tboxContained", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverlaps": { + "field": "tboxOverlaps", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxLeft": { + "field": "tboxLeft", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverleft": { + "field": "tboxOverleft", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxRight": { + "field": "tboxRight", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverright": { + "field": "tboxOverright", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxBefore": { + "field": "tboxBefore", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverbefore": { + "field": "tboxOverbefore", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxAfter": { + "field": "tboxAfter", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxOverafter": { + "field": "tboxOverafter", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "tboxAdjacent": { + "field": "tboxAdjacent", + "class": "TBoxUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "temporalSubtype": { + "field": "temporalSubtype", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_subtype" + ], + "primaryMeos": "temporal_subtype" + }, + "startInstant": { + "field": "startInstant", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_start_instant", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_start_instant" + }, + "endInstant": { + "field": "endInstant", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_end_instant", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_end_instant" + }, + "instantN": { + "field": "instantN", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_instant_n", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_instant_n" + }, + "startSequence": { + "field": "startSequence", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_start_sequence", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_start_sequence" + }, + "endSequence": { + "field": "endSequence", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_end_sequence", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_end_sequence" + }, + "sequenceN": { + "field": "sequenceN", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_sequence_n", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_sequence_n" + }, + "minInstant": { + "field": "minInstant", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_min_instant", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_min_instant" + }, + "maxInstant": { + "field": "maxInstant", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_max_instant", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_max_instant" + }, + "numTimestamps": { + "field": "numTimestamps", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_num_timestamps" + ], + "primaryMeos": "temporal_num_timestamps" + }, + "timestampN": { + "field": "timestampN", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "TimestampType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Timestamp", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_timestamptz_n" + ], + "primaryMeos": "temporal_timestamptz_n" + }, + "lowerInc": { + "field": "lowerInc", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_lower_inc" + ], + "primaryMeos": "temporal_lower_inc" + }, + "upperInc": { + "field": "upperInc", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_upper_inc" + ], + "primaryMeos": "temporal_upper_inc" + }, + "duration": { + "field": "duration", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_duration", + "pg_interval_out" + ], + "primaryMeos": "temporal_duration" + }, + "tboolValueN": { + "field": "tboolValueN", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_value_n" + ], + "primaryMeos": "tbool_value_n" + }, + "tfloatValueN": { + "field": "tfloatValueN", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_value_n" + ], + "primaryMeos": "tfloat_value_n" + }, + "ttextMinValue": { + "field": "ttextMinValue", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_min_value", + "text_out" + ], + "primaryMeos": "ttext_min_value" + }, + "ttextMaxValue": { + "field": "ttextMaxValue", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_max_value", + "text_out" + ], + "primaryMeos": "ttext_max_value" + }, + "ttextValueN": { + "field": "ttextValueN", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_value_n", + "text_out" + ], + "primaryMeos": "ttext_value_n" + }, + "tpointSrid": { + "field": "tpointSrid", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "tspatial_srid" + ], + "primaryMeos": "tspatial_srid" + }, + "tpointValueN": { + "field": "tpointValueN", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeo_value_n", + "geo_as_text" + ], + "primaryMeos": "tgeo_value_n" + }, + "tintValueN": { + "field": "tintValueN", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "Integer" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "tint_value_n" + ], + "primaryMeos": "tint_value_n" + }, + "tboolValueAtTimestamptz": { + "field": "tboolValueAtTimestamptz", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_value_at_timestamptz" + ], + "primaryMeos": "tbool_value_at_timestamptz" + }, + "tintValueAtTimestamptz": { + "field": "tintValueAtTimestamptz", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "IntegerType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "Integer", + "meosFns": [ + "temporal_from_hexwkb", + "tint_value_at_timestamptz" + ], + "primaryMeos": "tint_value_at_timestamptz" + }, + "tfloatValueAtTimestamptz": { + "field": "tfloatValueAtTimestamptz", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "DoubleType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tfloat_value_at_timestamptz" + ], + "primaryMeos": "tfloat_value_at_timestamptz" + }, + "ttextValueAtTimestamptz": { + "field": "ttextValueAtTimestamptz", + "class": "MoreAccessorUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "ttext_value_at_timestamptz", + "text_out", + "temporal_timestamps", + "tbool_values", + "tint_values", + "tfloat_values", + "temporal_as_hexwkb", + "ttext_values" + ], + "primaryMeos": "ttext_values" + }, + "temporalBeforeSpan": { + "field": "temporalBeforeSpan", + "class": "PosOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "before_temporal_tstzspan" + ], + "primaryMeos": "before_temporal_tstzspan" + }, + "temporalAfterSpan": { + "field": "temporalAfterSpan", + "class": "PosOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "after_temporal_tstzspan" + ], + "primaryMeos": "after_temporal_tstzspan" + }, + "temporalOverbeforeSpan": { + "field": "temporalOverbeforeSpan", + "class": "PosOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "overbefore_temporal_tstzspan" + ], + "primaryMeos": "overbefore_temporal_tstzspan" + }, + "temporalOverafterSpan": { + "field": "temporalOverafterSpan", + "class": "PosOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "overafter_temporal_tstzspan" + ], + "primaryMeos": "overafter_temporal_tstzspan" + }, + "tstzspanFromBinary": { + "field": "tstzspanFromBinary", + "class": "SpanUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "intspanFromBinary": { + "field": "intspanFromBinary", + "class": "SpanUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "floatspanFromBinary": { + "field": "floatspanFromBinary", + "class": "SpanUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "bigintspanFromBinary": { + "field": "bigintspanFromBinary", + "class": "SpanUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "datespanFromBinary": { + "field": "datespanFromBinary", + "class": "SpanUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tstzspansetFromBinary": { + "field": "tstzspansetFromBinary", + "class": "SpanUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "intspansetFromBinary": { + "field": "intspansetFromBinary", + "class": "SpanUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "floatspansetFromBinary": { + "field": "floatspansetFromBinary", + "class": "SpanUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "bigintspansetFromBinary": { + "field": "bigintspansetFromBinary", + "class": "SpanUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "datespansetFromBinary": { + "field": "datespansetFromBinary", + "class": "SpanUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "spanLeftSpanset": { + "field": "spanLeftSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanOverleftSpanset": { + "field": "spanOverleftSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanRightSpanset": { + "field": "spanRightSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanOverrightSpanset": { + "field": "spanOverrightSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanAdjacentSpanset": { + "field": "spanAdjacentSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanContainsSpanset": { + "field": "spanContainsSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanContainedSpanset": { + "field": "spanContainedSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spanOverlapsSpanset": { + "field": "spanOverlapsSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetLeftSpan": { + "field": "spansetLeftSpan", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetOverleftSpan": { + "field": "spansetOverleftSpan", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetRightSpan": { + "field": "spansetRightSpan", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetOverrightSpan": { + "field": "spansetOverrightSpan", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetAdjacentSpan": { + "field": "spansetAdjacentSpan", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetContainedSpan": { + "field": "spansetContainedSpan", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetOverlapsSpan": { + "field": "spansetOverlapsSpan", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetLeftSpanset": { + "field": "spansetLeftSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetOverleftSpanset": { + "field": "spansetOverleftSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetRightSpanset": { + "field": "spansetRightSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetOverrightSpanset": { + "field": "spansetOverrightSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetAdjacentSpanset": { + "field": "spansetAdjacentSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetContainsSpanset": { + "field": "spansetContainsSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "spansetContainedSpanset": { + "field": "spansetContainedSpanset", + "class": "SpansetOpsUDFs", + "pkg": "org.mobilitydb.spark.temporal", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "length": { + "field": "length", + "class": "BerlinMODUDFs", + "pkg": "org.mobilitydb.spark.demo", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [ + "temporal_from_hexwkb", + "tpoint_length" + ], + "primaryMeos": "tpoint_length" + }, + "bboxOverlaps": { + "field": "bboxOverlaps", + "class": "BerlinMODUDFs", + "pkg": "org.mobilitydb.spark.demo", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [ + "temporal_from_hexwkb", + "tstzspan_in", + "overlaps_temporal_tstzspan", + "stbox_from_hexwkb", + "overlaps_tspatial_stbox" + ], + "primaryMeos": "overlaps_tspatial_stbox" + }, + "valueAtTimestamp": { + "field": "valueAtTimestamp", + "class": "BerlinMODUDFs", + "pkg": "org.mobilitydb.spark.demo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Object" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tgeo_value_at_timestamptz", + "geo_as_text" + ], + "primaryMeos": "tgeo_value_at_timestamptz" + }, + "geoTimeStbox": { + "field": "geoTimeStbox", + "class": "BerlinMODUDFs", + "pkg": "org.mobilitydb.spark.demo", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Object" + ], + "retType": "String", + "meosFns": [ + "geo_from_text", + "geo_timestamptz_to_stbox", + "tstzspan_in", + "geo_tstzspan_to_stbox", + "pg_timestamptz_in", + "stbox_as_hexwkb" + ], + "primaryMeos": "geo_tstzspan_to_stbox" + }, + "whenTrue": { + "field": "whenTrue", + "class": "BerlinMODUDFs", + "pkg": "org.mobilitydb.spark.demo", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "tbool_when_true", + "tstzspanset_out" + ], + "primaryMeos": "tbool_when_true" + }, + "npoint": { + "field": "npoint", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "Long", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "nsegment": { + "field": "nsegment", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 3, + "argTypes": [ + "Long", + "Double", + "Double" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "route": { + "field": "route", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "LongType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Long", + "meosFns": [], + "primaryMeos": null + }, + "getPosition": { + "field": "getPosition", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [], + "primaryMeos": null + }, + "startPosition": { + "field": "startPosition", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [], + "primaryMeos": null + }, + "endPosition": { + "field": "endPosition", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "DoubleType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Double", + "meosFns": [], + "primaryMeos": null + }, + "npointFromText": { + "field": "npointFromText", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "npointFromEWKT": { + "field": "npointFromEWKT", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "npointFromHexEWKB": { + "field": "npointFromHexEWKB", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "npointFromBinary": { + "field": "npointFromBinary", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "npointFromEWKB": { + "field": "npointFromEWKB", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "npointsetFromHexWKB": { + "field": "npointsetFromHexWKB", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "npointsetFromText": { + "field": "npointsetFromText", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "npointsetFromEWKT": { + "field": "npointsetFromEWKT", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "npointsetFromBinary": { + "field": "npointsetFromBinary", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "set_as_hexwkb" + ], + "primaryMeos": "set_as_hexwkb" + }, + "npointsetFromEWKB": { + "field": "npointsetFromEWKB", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "routes": { + "field": "routes", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "set_from_hexwkb", + "set_as_hexwkb", + "temporal_from_hexwkb" + ], + "primaryMeos": "temporal_from_hexwkb" + }, + "tnpoint": { + "field": "tnpoint", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [ + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tnpointInst": { + "field": "tnpointInst", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String", + "Timestamp" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tnpointRoute": { + "field": "tnpointRoute", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "LongType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "Long", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_as_hexwkb" + }, + "tnpointFromHexWKB": { + "field": "tnpointFromHexWKB", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tnpointFromBinary": { + "field": "tnpointFromBinary", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "byte[]" + ], + "retType": "String", + "meosFns": [], + "primaryMeos": null + }, + "tnpointSeq": { + "field": "tnpointSeq", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tsequence", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tsequence" + }, + "tnpointSeqSet": { + "field": "tnpointSeqSet", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 1, + "argTypes": [ + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "temporal_to_tsequenceset", + "temporal_as_hexwkb" + ], + "primaryMeos": "temporal_to_tsequenceset" + }, + "tnpointSeqSetGaps": { + "field": "tnpointSeqSetGaps", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "StringType", + "arity": 2, + "argTypes": [ + "String[]", + "String" + ], + "retType": "String", + "meosFns": [ + "temporal_from_hexwkb", + "pg_interval_in", + "tsequenceset_make_gaps", + "temporal_as_hexwkb", + "set_from_hexwkb" + ], + "primaryMeos": "tsequenceset_make_gaps" + }, + "containsRid": { + "field": "containsRid", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "containedRid": { + "field": "containedRid", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "sameRid": { + "field": "sameRid", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + }, + "overlapsRid": { + "field": "overlapsRid", + "class": "NpointUDFs", + "pkg": "org.mobilitydb.spark.npoint", + "retDataType": "BooleanType", + "arity": 2, + "argTypes": [ + "String", + "String" + ], + "retType": "Boolean", + "meosFns": [], + "primaryMeos": null + } + } +} \ No newline at end of file diff --git a/codegen/output/MobilitySparkConnectExtensionsGen.scala b/codegen/output/MobilitySparkConnectExtensionsGen.scala new file mode 100644 index 00000000..02116d79 --- /dev/null +++ b/codegen/output/MobilitySparkConnectExtensionsGen.scala @@ -0,0 +1,317 @@ +/* GENERATED by codegen/tools/generate_spark_registrar.py from the canonical + * named-operation surface (meos-named-surface.json) joined with the MobilitySpark + * impl scan (spark-impls.json). Do not edit by hand. Each canonical function is + * injected under its identity name (no camelCase remap, no hand-written table). + * Single-impl functions bind to the one impl; multi-impl functions that differ on + * arg0's MEOS type dispatch per row on the arg0 WKB type tag. Functions that + * differ only on a later argument are listed in the trailing comment. */ +package org.mobilitydb.spark.connect + +import org.apache.spark.sql.SparkSessionExtensions +import org.apache.spark.sql.catalyst.FunctionIdentifier +import org.apache.spark.sql.catalyst.expressions.{Expression, ExpressionInfo, ScalaUDF} +import org.apache.spark.sql.catalyst.encoders.ExpressionEncoder +import org.apache.spark.sql.types._ +import org.apache.spark.sql.api.java.{UDF1, UDF2, UDF3, UDF4} +import functions.GeneratedFunctions + +class MobilitySparkConnectExtensionsGen extends (SparkSessionExtensions => Unit) { + private lazy val encs: Map[String, ExpressionEncoder[_]] = Map( + "String" -> ExpressionEncoder[String](), "Integer" -> ExpressionEncoder[java.lang.Integer](), + "Long" -> ExpressionEncoder[java.lang.Long](), "Double" -> ExpressionEncoder[java.lang.Double](), + "Number" -> ExpressionEncoder[java.lang.Double](), "Float" -> ExpressionEncoder[java.lang.Float](), + "Boolean" -> ExpressionEncoder[java.lang.Boolean](), "Timestamp" -> ExpressionEncoder[java.sql.Timestamp]()) + private def enc(t: String) = encs.getOrElse(t, encs("String")) + private def dt(t: String): DataType = t match { + case "Integer" => IntegerType; case "Long" => LongType; case "Double" | "Number" => DoubleType + case "Float" => FloatType; case "Boolean" => BooleanType; case "Timestamp" => TimestampType + case _ => StringType + } + private def inj(ext: SparkSessionExtensions, name: String, arity: Int, + argTs: Array[String], retT: String, udf: AnyRef, defaults: Array[AnyRef]): Unit = { + val builder = (children: Seq[Expression]) => { + val n = math.min(children.size, arity) + ScalaUDF(MobilitySparkConnectExtensionsGen.fn(n, udf, arity, defaults), dt(retT), children, + argTs.take(n).map(t => Some(enc(t))).toSeq, Some(enc(retT)), Some(name)) + } + try ext.injectFunction((FunctionIdentifier(name), new ExpressionInfo(name, name), builder)) + catch { case _: Throwable => } + } + // One SQL name over several type-specific impls: dispatch per row on the + // differentiating argument's MEOS type tag to the impl whose receiver matches. + // Each route carries (impl, impl arity, impl SQL-default fills). + private def injMulti(ext: SparkSessionExtensions, name: String, dpos: Int, retT: String, + routes: Map[String, (AnyRef, Int, Array[AnyRef])], + dflt: (AnyRef, Int, Array[AnyRef])): Unit = { + val builder = (children: Seq[Expression]) => { + val n = children.size + ScalaUDF(MobilitySparkConnectExtensionsGen.disp(n, dpos, routes, dflt), dt(retT), children, + children.map(_ => Some(enc("String"))), Some(enc(retT)), Some(name)) + } + try ext.injectFunction((FunctionIdentifier(name), new ExpressionInfo(name, name), builder)) + catch { case _: Throwable => } + } + + def apply(ext: SparkSessionExtensions): Unit = { + inj(ext, "Ymax", 1, Array[String]("String"), "Double", org.mobilitydb.spark.geo.STBoxUDFs.stboxYmax, Array[AnyRef](null)) + inj(ext, "Ymin", 1, Array[String]("String"), "Double", org.mobilitydb.spark.geo.STBoxUDFs.stboxYmin, Array[AnyRef](null)) + inj(ext, "Zmax", 1, Array[String]("String"), "Double", org.mobilitydb.spark.geo.STBoxUDFs.stboxZmax, Array[AnyRef](null)) + inj(ext, "Zmin", 1, Array[String]("String"), "Double", org.mobilitydb.spark.geo.STBoxUDFs.stboxZmin, Array[AnyRef](null)) + inj(ext, "aDisjoint", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.demo.BerlinMODUDFs.aDisjoint, Array[AnyRef](null, null)) + inj(ext, "abs", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MathGapUDFs.abs, Array[AnyRef](null)) + inj(ext, "appendInstant", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.appendInstant, Array[AnyRef](null, null)) + inj(ext, "appendSequence", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.appendSequence, Array[AnyRef](null, null)) + inj(ext, "asEWKT", 2, Array[String]("String", "Integer"), "String", org.mobilitydb.spark.geo.GeoAnalyticsUDFs.asEWKT, Array[AnyRef](null, (Integer.valueOf(15): AnyRef))) + inj(ext, "asMFJSON", 2, Array[String]("String", "Integer"), "String", org.mobilitydb.spark.temporal.TemporalUDFs.temporalAsMfjson, Array[AnyRef](null, null)) + inj(ext, "asText", 2, Array[String]("String", "Integer"), "String", org.mobilitydb.spark.geo.GeoAnalyticsUDFs.asText, Array[AnyRef](null, (Integer.valueOf(15): AnyRef))) + inj(ext, "atMax", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.atMax, Array[AnyRef](null)) + inj(ext, "atMin", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.atMin, Array[AnyRef](null)) + inj(ext, "atStbox", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.atStbox, Array[AnyRef](null, null)) + inj(ext, "atTbox", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.SetSpanGapUDFs.atTbox, Array[AnyRef](null, null)) + inj(ext, "atValues", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.atValues, Array[AnyRef](null, null)) + inj(ext, "azimuth", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AnalyticsUDFs.tpointAzimuth, Array[AnyRef](null)) + inj(ext, "bigintspan", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.SetSpanGapUDFs.bigintSpan, Array[AnyRef](null)) + inj(ext, "convexHull", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MoreAccessorUDFs.tpointConvexHull, Array[AnyRef](null)) + inj(ext, "cumulativeLength", 1, Array[String]("String"), "String", org.mobilitydb.spark.geo.GeoUDFs.cumulativeLength, Array[AnyRef](null)) + inj(ext, "dateN", 2, Array[String]("String", "Integer"), "Integer", org.mobilitydb.spark.temporal.AccessorAliasUDFs.dateN, Array[AnyRef](null, null)) + inj(ext, "dates", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AccessorAliasUDFs.dates, Array[AnyRef](null)) + inj(ext, "dateset", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.TransformUDFs.tstzsetToDateset, Array[AnyRef](null)) + inj(ext, "deltaValue", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MathGapUDFs.deltavalue, Array[AnyRef](null)) + inj(ext, "derivative", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MathGapUDFs.derivative, Array[AnyRef](null)) + inj(ext, "direction", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AnalyticsUDFs.tpointDirection, Array[AnyRef](null)) + inj(ext, "douglasPeuckerSimplify", 2, Array[String]("String", "Double"), "String", org.mobilitydb.spark.temporal.TransformUDFs.temporalSimplifyDp, Array[AnyRef](null, null)) + inj(ext, "dynTimeWarpDistance", 2, Array[String]("String", "String"), "Double", org.mobilitydb.spark.temporal.SimilarityUDFs.dynamicTimeWarp, Array[AnyRef](null, null)) + inj(ext, "eContains", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.geo.GeoUDFs.eContains, Array[AnyRef](null, null)) + inj(ext, "eCovers", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.geo.GeoUDFs.eCovers, Array[AnyRef](null, null)) + inj(ext, "eIntersects", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.geo.GeoUDFs.eIntersectsTgeoTgeo, Array[AnyRef](null, null)) + inj(ext, "eTouches", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.geo.GeoUDFs.eTouches, Array[AnyRef](null, null)) + inj(ext, "endDate", 1, Array[String]("String"), "Integer", org.mobilitydb.spark.temporal.AccessorAliasUDFs.endDate, Array[AnyRef](null)) + inj(ext, "endInstant", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MoreAccessorUDFs.endInstant, Array[AnyRef](null)) + inj(ext, "endSequence", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MoreAccessorUDFs.endSequence, Array[AnyRef](null)) + inj(ext, "endSpan", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.SetSpanGapUDFs.endSpan, Array[AnyRef](null)) + inj(ext, "expandSpace", 2, Array[String]("String", "Number"), "String", org.mobilitydb.spark.geo.GeoUDFs.expandSpace, Array[AnyRef](null, null)) + inj(ext, "expandTime", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.TBoxUDFs.tboxExpandTime, Array[AnyRef](null, null)) + inj(ext, "floatset", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.intsetToFloatset, Array[AnyRef](null)) + inj(ext, "floatspanset", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.TransformUDFs.intspansetToFloat, Array[AnyRef](null)) + inj(ext, "frechetDistance", 2, Array[String]("String", "String"), "Double", org.mobilitydb.spark.temporal.SimilarityUDFs.frechetDistance, Array[AnyRef](null, null)) + inj(ext, "geometry", 1, Array[String]("String"), "String", org.mobilitydb.spark.geo.STBoxUDFs.stboxToGeo, Array[AnyRef](null)) + inj(ext, "getSpace", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AccessorGapUDFs.getSpace, Array[AnyRef](null)) + inj(ext, "getTime", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.SubtypeConstructorUDFs.getTime, Array[AnyRef](null)) + inj(ext, "getX", 1, Array[String]("String"), "String", org.mobilitydb.spark.geo.GeoUDFs.getX, Array[AnyRef](null)) + inj(ext, "getY", 1, Array[String]("String"), "String", org.mobilitydb.spark.geo.GeoUDFs.getY, Array[AnyRef](null)) + inj(ext, "getZ", 1, Array[String]("String"), "String", org.mobilitydb.spark.geo.GeoUDFs.getZ, Array[AnyRef](null)) + inj(ext, "hasZ", 1, Array[String]("String"), "Boolean", org.mobilitydb.spark.geo.STBoxUDFs.stboxHasz, Array[AnyRef](null)) + inj(ext, "initcap", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.TransformUDFs.textsetInitcap, Array[AnyRef](null)) + inj(ext, "insert", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.insert, Array[AnyRef](null, null)) + inj(ext, "instantN", 2, Array[String]("String", "Integer"), "String", org.mobilitydb.spark.temporal.MoreAccessorUDFs.instantN, Array[AnyRef](null, null)) + inj(ext, "interp", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.interp, Array[AnyRef](null)) + inj(ext, "intset", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.floatsetToIntset, Array[AnyRef](null)) + inj(ext, "intsetFromHexWKB", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.IOAliasUDFs.asHexEWKB, Array[AnyRef](null)) + inj(ext, "isGeodetic", 1, Array[String]("String"), "Boolean", org.mobilitydb.spark.geo.STBoxUDFs.stboxIsGeodetic, Array[AnyRef](null)) + inj(ext, "length", 1, Array[String]("String"), "Double", org.mobilitydb.spark.demo.BerlinMODUDFs.length, Array[AnyRef](null)) + inj(ext, "lowerInc", 1, Array[String]("String"), "Boolean", org.mobilitydb.spark.temporal.MoreAccessorUDFs.lowerInc, Array[AnyRef](null)) + inj(ext, "maxInstant", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MoreAccessorUDFs.maxInstant, Array[AnyRef](null)) + inj(ext, "merge", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.merge, Array[AnyRef](null, null)) + inj(ext, "minDistSimplify", 2, Array[String]("String", "Double"), "String", org.mobilitydb.spark.temporal.TransformUDFs.temporalSimplifyMinDist, Array[AnyRef](null, null)) + inj(ext, "minDistance", 2, Array[String]("Object", "Object"), "Double", org.mobilitydb.spark.geo.DistanceUDFs.minDistanceTgeoarrTgeoarr, Array[AnyRef](null, null)) + inj(ext, "minInstant", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MoreAccessorUDFs.minInstant, Array[AnyRef](null)) + inj(ext, "minTimeDeltaSimplify", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.TransformUDFs.temporalSimplifyMinTdelta, Array[AnyRef](null, null)) + inj(ext, "minusMax", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.minusMax, Array[AnyRef](null)) + inj(ext, "minusMin", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.minusMin, Array[AnyRef](null)) + inj(ext, "minusStbox", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.minusStbox, Array[AnyRef](null, null)) + inj(ext, "minusTbox", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.SetSpanGapUDFs.minusTbox, Array[AnyRef](null, null)) + inj(ext, "minusValues", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.AccessorGapUDFs.minusValues, Array[AnyRef](null, null)) + inj(ext, "nearestApproachDistance", 2, Array[String]("String", "String"), "Double", org.mobilitydb.spark.geo.GeoUDFs.nearestApproachDistance, Array[AnyRef](null, null)) + inj(ext, "numDates", 1, Array[String]("String"), "Integer", org.mobilitydb.spark.temporal.AccessorAliasUDFs.numDates, Array[AnyRef](null)) + inj(ext, "numInstants", 1, Array[String]("String"), "Integer", org.mobilitydb.spark.temporal.TemporalUDFs.numInstants, Array[AnyRef](null)) + inj(ext, "numSequences", 1, Array[String]("String"), "Integer", org.mobilitydb.spark.temporal.AccessorUDFs.numSequences, Array[AnyRef](null)) + inj(ext, "numSpans", 1, Array[String]("String"), "Integer", org.mobilitydb.spark.temporal.SetSpanGapUDFs.numSpans, Array[AnyRef](null)) + inj(ext, "numTimestamps", 1, Array[String]("String"), "Integer", org.mobilitydb.spark.temporal.MoreAccessorUDFs.numTimestamps, Array[AnyRef](null)) + inj(ext, "numValues", 1, Array[String]("String"), "Integer", org.mobilitydb.spark.temporal.SpanAccessorUDFs.setNumValues, Array[AnyRef](null)) + inj(ext, "scaleTime", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.scale, Array[AnyRef](null, null)) + inj(ext, "sequenceN", 2, Array[String]("String", "Integer"), "String", org.mobilitydb.spark.temporal.MoreAccessorUDFs.sequenceN, Array[AnyRef](null, null)) + inj(ext, "setInterp", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.TransformUDFs.temporalSetInterp, Array[AnyRef](null, null)) + inj(ext, "set_contains", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.setContains, Array[AnyRef](null, null)) + inj(ext, "set_intersection", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.setIntersection, Array[AnyRef](null, null)) + inj(ext, "set_minus", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.setMinus, Array[AnyRef](null, null)) + inj(ext, "set_overlaps", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.setOverlaps, Array[AnyRef](null, null)) + inj(ext, "set_union", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.setUnion, Array[AnyRef](null, null)) + inj(ext, "shortestLine", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.geo.DistanceUDFs.shortestLineTgeoTgeo, Array[AnyRef](null, null)) + inj(ext, "spanN", 2, Array[String]("String", "Integer"), "String", org.mobilitydb.spark.temporal.SetSpanGapUDFs.spann, Array[AnyRef](null, null)) + inj(ext, "span_adjacent", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.spanAdjacent, Array[AnyRef](null, null)) + inj(ext, "span_left", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.spanLeft, Array[AnyRef](null, null)) + inj(ext, "span_overleft", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.spanOverleft, Array[AnyRef](null, null)) + inj(ext, "span_overright", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.spanOverright, Array[AnyRef](null, null)) + inj(ext, "span_right", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.SpanAlgebraUDFs.spanRight, Array[AnyRef](null, null)) + inj(ext, "speed", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.TemporalUDFs.speed, Array[AnyRef](null)) + inj(ext, "startDate", 1, Array[String]("String"), "Integer", org.mobilitydb.spark.temporal.AccessorAliasUDFs.startDate, Array[AnyRef](null)) + inj(ext, "startInstant", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MoreAccessorUDFs.startInstant, Array[AnyRef](null)) + inj(ext, "startSequence", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MoreAccessorUDFs.startSequence, Array[AnyRef](null)) + inj(ext, "startSpan", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.SetSpanGapUDFs.startSpan, Array[AnyRef](null)) + inj(ext, "stboxFromHexWKB", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AccessorAliasUDFs.box2d, Array[AnyRef](null)) + inj(ext, "stbox_intersection", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.SetSpanGapUDFs.stboxIntersection, Array[AnyRef](null, null)) + inj(ext, "stbox_overlaps", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.demo.BerlinMODUDFs.stboxOverlaps, Array[AnyRef](null, null)) + inj(ext, "stbox_union", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.SetSpanGapUDFs.stboxUnion, Array[AnyRef](null, null)) + inj(ext, "tCovers", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.geo.TempSpatialRelsUDFs.tCoversTgeoGeo, Array[AnyRef](null, null)) + inj(ext, "tempSubtype", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.SubtypeConstructorUDFs.tempSubtype, Array[AnyRef](null)) + inj(ext, "temporal_after", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.PosOpsUDFs.temporalAfterSpan, Array[AnyRef](null, null)) + inj(ext, "temporal_before", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.PosOpsUDFs.temporalBeforeSpan, Array[AnyRef](null, null)) + inj(ext, "temporal_overafter", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.PosOpsUDFs.temporalOverafterSpan, Array[AnyRef](null, null)) + inj(ext, "temporal_overbefore", 2, Array[String]("String", "String"), "Boolean", org.mobilitydb.spark.temporal.PosOpsUDFs.temporalOverbeforeSpan, Array[AnyRef](null, null)) + inj(ext, "temporal_teq", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.BoolOpsUDFs.teqTemporalTemporal, Array[AnyRef](null, null)) + inj(ext, "temporal_tge", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.BoolOpsUDFs.tgeTemporalTemporal, Array[AnyRef](null, null)) + inj(ext, "temporal_tgt", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.BoolOpsUDFs.tgtTemporalTemporal, Array[AnyRef](null, null)) + inj(ext, "temporal_tle", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.BoolOpsUDFs.tleTemporalTemporal, Array[AnyRef](null, null)) + inj(ext, "temporal_tlt", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.BoolOpsUDFs.tltTemporalTemporal, Array[AnyRef](null, null)) + inj(ext, "temporal_tne", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.BoolOpsUDFs.tneTemporalTemporal, Array[AnyRef](null, null)) + inj(ext, "tfloat", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.TransformUDFs.tintToTfloat, Array[AnyRef](null)) + inj(ext, "timestampN", 2, Array[String]("String", "Integer"), "Timestamp", org.mobilitydb.spark.temporal.MoreAccessorUDFs.timestampN, Array[AnyRef](null, null)) + inj(ext, "tintFromHexWKB", 1, Array[String]("String"), "String", org.mobilitydb.spark.npoint.NpointUDFs.routes, Array[AnyRef](null)) + inj(ext, "tintInst", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.TransformUDFs.temporalToTInstant, Array[AnyRef](null)) + inj(ext, "tintSeq", 1, Array[String]("String"), "String", org.mobilitydb.spark.pose.PoseUDFs.tposeSeq, Array[AnyRef](null)) + inj(ext, "tintSeqSet", 2, Array[String]("String", "Timestamp"), "String", org.mobilitydb.spark.temporal.SubtypeConstructorUDFs.ttextInst, Array[AnyRef](null, null)) + inj(ext, "tintSeqSetGaps", 2, Array[String]("String[]", "String"), "String", org.mobilitydb.spark.pose.PoseUDFs.tposeSeqSetGaps, Array[AnyRef](null, null)) + inj(ext, "trajectory", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.TransformUDFs.tpointTrajectory, Array[AnyRef](null)) + inj(ext, "traversedArea", 2, Array[String]("String", "Boolean"), "String", org.mobilitydb.spark.temporal.AccessorGapUDFs.traversedArea, Array[AnyRef](null, (java.lang.Boolean.FALSE: AnyRef))) + inj(ext, "trend", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.MathGapUDFs.trend, Array[AnyRef](null)) + inj(ext, "twAvg", 1, Array[String]("String"), "Double", org.mobilitydb.spark.temporal.MathGapUDFs.twavg, Array[AnyRef](null)) + inj(ext, "twCentroid", 1, Array[String]("String"), "String", org.mobilitydb.spark.geo.GeoAnalyticsUDFs.twCentroid, Array[AnyRef](null)) + inj(ext, "update", 2, Array[String]("String", "String"), "String", org.mobilitydb.spark.temporal.AccessorUDFs.update, Array[AnyRef](null, null)) + inj(ext, "upperInc", 1, Array[String]("String"), "Boolean", org.mobilitydb.spark.temporal.MoreAccessorUDFs.upperInc, Array[AnyRef](null)) + inj(ext, "valueSpan", 1, Array[String]("String"), "String", org.mobilitydb.spark.temporal.AccessorAliasUDFs.valueSpan, Array[AnyRef](null)) + inj(ext, "volume", 1, Array[String]("String"), "Double", org.mobilitydb.spark.geo.STBoxUDFs.stboxVolume, Array[AnyRef](null)) + inj(ext, "whenTrue", 1, Array[String]("String"), "String", org.mobilitydb.spark.demo.BerlinMODUDFs.whenTrue, Array[AnyRef](null)) + + // multi-impl: per-row arg0 MEOS-type-tag dispatch + injMulti(ext, "SRID", 0, "Integer", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxSrid: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.MoreAccessorUDFs.tpointSrid: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "Tmax", 0, "java.sql.Timestamp", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxTmax: AnyRef, 1, Array[AnyRef](null)), "tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.tboxTmax: AnyRef, 1, Array[AnyRef](null))), null) + injMulti(ext, "Tmin", 0, "java.sql.Timestamp", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxTmin: AnyRef, 1, Array[AnyRef](null)), "tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.tboxTmin: AnyRef, 1, Array[AnyRef](null))), null) + injMulti(ext, "Xmax", 0, "Double", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxXmax: AnyRef, 1, Array[AnyRef](null)), "tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.tboxXmax: AnyRef, 1, Array[AnyRef](null))), null) + injMulti(ext, "Xmin", 0, "Double", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxXmin: AnyRef, 1, Array[AnyRef](null)), "tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.tboxXmin: AnyRef, 1, Array[AnyRef](null))), null) + injMulti(ext, "asHexWKB", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.temporal.TileUDFs.getSpaceTile: AnyRef, 5, Array[AnyRef](null, null, null, null, null)), "tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.tboxExpandFloat: AnyRef, 2, Array[AnyRef](null, null))), (org.mobilitydb.spark.temporal.SubtypeConstructorUDFs.afterTimestamp: AnyRef, 2, Array[AnyRef](null, null))) + injMulti(ext, "atTime", 1, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("tstzset" -> (org.mobilitydb.spark.temporal.RestrictionUDFs.temporalAtTstzset: AnyRef, 2, Array[AnyRef](null, null)), "tstzspan" -> (org.mobilitydb.spark.temporal.AccessorUDFs.atSpan: AnyRef, 2, Array[AnyRef](null, null)), "tstzspanset" -> (org.mobilitydb.spark.temporal.AccessorUDFs.atSpanset: AnyRef, 2, Array[AnyRef](null, null))), null) + injMulti(ext, "ceil", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("floatset" -> (org.mobilitydb.spark.temporal.TransformUDFs.floatsetCeil: AnyRef, 1, Array[AnyRef](null)), "floatspanset" -> (org.mobilitydb.spark.temporal.TransformUDFs.floatspansetCeil: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.MathGapUDFs.ceil: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "degrees", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("floatset" -> (org.mobilitydb.spark.temporal.TransformUDFs.floatsetDegrees: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.MathGapUDFs.degrees: AnyRef, 2, Array[AnyRef](null, (java.lang.Boolean.FALSE: AnyRef)))) + injMulti(ext, "deleteTime", 1, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("tstzset" -> (org.mobilitydb.spark.temporal.RestrictionUDFs.temporalDeleteTstzset: AnyRef, 2, Array[AnyRef](null, null)), "tstzspan" -> (org.mobilitydb.spark.temporal.RestrictionUDFs.temporalDeleteTstzspan: AnyRef, 2, Array[AnyRef](null, null)), "tstzspanset" -> (org.mobilitydb.spark.temporal.RestrictionUDFs.temporalDeleteTstzspanset: AnyRef, 2, Array[AnyRef](null, null))), null) + injMulti(ext, "duration", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("datespan" -> (org.mobilitydb.spark.temporal.SpanAlgebraUDFs.datespanDuration: AnyRef, 1, Array[AnyRef](null)), "tstzspan" -> (org.mobilitydb.spark.temporal.SpanAlgebraUDFs.tstzspanDuration: AnyRef, 1, Array[AnyRef](null)), "tstzspanset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.tstzspansetDuration: AnyRef, 2, Array[AnyRef](null, (java.lang.Boolean.FALSE: AnyRef)))), (org.mobilitydb.spark.temporal.MoreAccessorUDFs.duration: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "endTimestamp", 0, "Timestamp", Map[String, (AnyRef, Int, Array[AnyRef])]("tstzspanset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.tstzspansetEndTimestamptz: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.TemporalUDFs.endTimestamp: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "floor", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("floatset" -> (org.mobilitydb.spark.temporal.TransformUDFs.floatsetFloor: AnyRef, 1, Array[AnyRef](null)), "floatspanset" -> (org.mobilitydb.spark.temporal.TransformUDFs.floatspansetFloor: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.MathGapUDFs.floor: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "getValues", 0, "java.sql.Date", Map[String, (AnyRef, Int, Array[AnyRef])]("dateset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.datesetEndValue: AnyRef, 1, Array[AnyRef](null)), "floatset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.floatsetEndValue: AnyRef, 1, Array[AnyRef](null)), "intset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.intsetEndValue: AnyRef, 1, Array[AnyRef](null)), "textset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.textsetEndValue: AnyRef, 1, Array[AnyRef](null)), "tstzset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.tstzsetEndValue: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.AccessorUDFs.tnumberValuespans: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "hasT", 0, "Boolean", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxHast: AnyRef, 1, Array[AnyRef](null)), "tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.tboxHast: AnyRef, 1, Array[AnyRef](null))), null) + injMulti(ext, "hasX", 0, "Boolean", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxHasx: AnyRef, 1, Array[AnyRef](null)), "tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.tboxHasx: AnyRef, 1, Array[AnyRef](null))), null) + injMulti(ext, "lower", 0, "Long", Map[String, (AnyRef, Int, Array[AnyRef])]("bigintspan" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.bigintspanLower: AnyRef, 1, Array[AnyRef](null)), "datespan" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.datespanLower: AnyRef, 1, Array[AnyRef](null)), "floatspan" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.floatspanLower: AnyRef, 1, Array[AnyRef](null)), "intspan" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.intspanLower: AnyRef, 1, Array[AnyRef](null)), "intspanset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.intspansetLower: AnyRef, 1, Array[AnyRef](null)), "textset" -> (org.mobilitydb.spark.temporal.TransformUDFs.textsetLower: AnyRef, 1, Array[AnyRef](null)), "tstzspan" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.tstzspanLower: AnyRef, 1, Array[AnyRef](null)), "tstzspanset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.tstzspansetLower: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.TTextUDFs.ttextLower: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "minusTime", 1, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("tstzset" -> (org.mobilitydb.spark.temporal.RestrictionUDFs.temporalMinusTstzset: AnyRef, 2, Array[AnyRef](null, null)), "tstzspan" -> (org.mobilitydb.spark.temporal.AccessorUDFs.minusTime: AnyRef, 2, Array[AnyRef](null, null)), "tstzspanset" -> (org.mobilitydb.spark.temporal.RestrictionUDFs.temporalMinusTstzspanset: AnyRef, 2, Array[AnyRef](null, null))), null) + injMulti(ext, "radians", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("floatset" -> (org.mobilitydb.spark.temporal.TransformUDFs.floatsetRadians: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.MathGapUDFs.radians: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "round", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("floatspanset" -> (org.mobilitydb.spark.temporal.TransformUDFs.floatspansetRound: AnyRef, 2, Array[AnyRef](null, (Integer.valueOf(0): AnyRef))), "stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxRound: AnyRef, 2, Array[AnyRef](null, (Integer.valueOf(0): AnyRef))), "tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.tboxRound: AnyRef, 2, Array[AnyRef](null, (Integer.valueOf(0): AnyRef)))), null) + injMulti(ext, "setSRID", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxSetSrid: AnyRef, 2, Array[AnyRef](null, null))), (org.mobilitydb.spark.geo.GeoAnalyticsUDFs.setSRID: AnyRef, 2, Array[AnyRef](null, null))) + injMulti(ext, "set_distance", 0, "Long", Map[String, (AnyRef, Int, Array[AnyRef])]("bigintset" -> (org.mobilitydb.spark.temporal.SetOpsUDFs.distanceBigintsetBigintset: AnyRef, 2, Array[AnyRef](null, null)), "floatset" -> (org.mobilitydb.spark.temporal.SetOpsUDFs.distanceFloatsetFloatset: AnyRef, 2, Array[AnyRef](null, null)), "intset" -> (org.mobilitydb.spark.temporal.SetOpsUDFs.distanceIntsetIntset: AnyRef, 2, Array[AnyRef](null, null)), "tstzset" -> (org.mobilitydb.spark.temporal.SetOpsUDFs.distanceTstzsetTstzset: AnyRef, 2, Array[AnyRef](null, null))), null) + injMulti(ext, "shift", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("floatspan" -> (org.mobilitydb.spark.temporal.TransformUDFs.floatspanShiftScale: AnyRef, 3, Array[AnyRef](null, null, null)), "floatspanset" -> (org.mobilitydb.spark.temporal.TransformUDFs.floatspansetShiftScale: AnyRef, 3, Array[AnyRef](null, null, null)), "intspan" -> (org.mobilitydb.spark.temporal.TransformUDFs.intspanShiftScale: AnyRef, 3, Array[AnyRef](null, null, null)), "intspanset" -> (org.mobilitydb.spark.temporal.TransformUDFs.intspansetShiftScale: AnyRef, 3, Array[AnyRef](null, null, null)), "tstzspan" -> (org.mobilitydb.spark.temporal.SpanAlgebraUDFs.tstzspanShiftScale: AnyRef, 3, Array[AnyRef](null, null, null)), "tstzspanset" -> (org.mobilitydb.spark.temporal.SpanAlgebraUDFs.tstzspansetShiftScale: AnyRef, 3, Array[AnyRef](null, null, null))), null) + injMulti(ext, "shiftTime", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxShiftScaleTime: AnyRef, 3, Array[AnyRef](null, null, null)), "tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.tboxShiftScaleTime: AnyRef, 3, Array[AnyRef](null, null, null))), (org.mobilitydb.spark.temporal.AccessorUDFs.shift: AnyRef, 2, Array[AnyRef](null, null))) + injMulti(ext, "span_distance", 0, "Long", Map[String, (AnyRef, Int, Array[AnyRef])]("bigintspan" -> (org.mobilitydb.spark.temporal.SpanAlgebraUDFs.bigintspanDistance: AnyRef, 2, Array[AnyRef](null, null)), "datespan" -> (org.mobilitydb.spark.temporal.SpanAlgebraUDFs.datespanDistance: AnyRef, 2, Array[AnyRef](null, null)), "floatspan" -> (org.mobilitydb.spark.temporal.SpanAlgebraUDFs.floatspanDistance: AnyRef, 2, Array[AnyRef](null, null)), "floatspanset" -> (org.mobilitydb.spark.temporal.SetSpanGapUDFs.spansetDistance: AnyRef, 2, Array[AnyRef](null, null)), "intspan" -> (org.mobilitydb.spark.temporal.SpanAlgebraUDFs.intspanDistance: AnyRef, 2, Array[AnyRef](null, null)), "tstzspan" -> (org.mobilitydb.spark.temporal.SpanAlgebraUDFs.tstzspanDistance: AnyRef, 2, Array[AnyRef](null, null)), "tstzspanset" -> (org.mobilitydb.spark.temporal.SetSpanGapUDFs.timeDistanceSpanset: AnyRef, 2, Array[AnyRef](null, null))), null) + injMulti(ext, "startTimestamp", 0, "Timestamp", Map[String, (AnyRef, Int, Array[AnyRef])]("tstzspanset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.tstzspansetStartTimestamptz: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.TemporalUDFs.startTimestamp: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "startValue", 0, "java.sql.Date", Map[String, (AnyRef, Int, Array[AnyRef])]("dateset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.datesetStartValue: AnyRef, 1, Array[AnyRef](null)), "floatset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.floatsetStartValue: AnyRef, 1, Array[AnyRef](null)), "intset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.intsetStartValue: AnyRef, 1, Array[AnyRef](null)), "textset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.textsetStartValue: AnyRef, 1, Array[AnyRef](null)), "tstzset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.tstzsetStartValue: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.AccessorUDFs.tfloatStartValue: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "stbox", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("tstzspan" -> (org.mobilitydb.spark.geo.STBoxUDFs.tstzspanToStbox: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.geo.GeoUDFs.tpointToStbox: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "tbox", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.setToTbox: AnyRef, 1, Array[AnyRef](null)), "timestamptz" -> (org.mobilitydb.spark.temporal.TBoxUDFs.numspanTimestamptzToTbox: AnyRef, 2, Array[AnyRef](null, null))), (org.mobilitydb.spark.temporal.AccessorUDFs.tnumberToTbox: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "timeSpan", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("stbox" -> (org.mobilitydb.spark.geo.STBoxUDFs.stboxToTstzspan: AnyRef, 1, Array[AnyRef](null)), "tbox" -> (org.mobilitydb.spark.temporal.TBoxUDFs.tboxToTstzspan: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.TransformUDFs.temporalToTstzspan: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "timestamps", 0, "String", Map[String, (AnyRef, Int, Array[AnyRef])]("tstzspanset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.tstzspansetNumTimestamps: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.AccessorGapUDFs.atValue: AnyRef, 2, Array[AnyRef](null, null))) + injMulti(ext, "upper", 0, "Long", Map[String, (AnyRef, Int, Array[AnyRef])]("bigintspan" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.bigintspanUpper: AnyRef, 1, Array[AnyRef](null)), "datespan" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.datespanUpper: AnyRef, 1, Array[AnyRef](null)), "floatspan" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.floatspanUpper: AnyRef, 1, Array[AnyRef](null)), "intspan" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.intspanUpper: AnyRef, 1, Array[AnyRef](null)), "intspanset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.intspansetUpper: AnyRef, 1, Array[AnyRef](null)), "textset" -> (org.mobilitydb.spark.temporal.TransformUDFs.textsetUpper: AnyRef, 1, Array[AnyRef](null)), "tstzspan" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.tstzspanUpper: AnyRef, 1, Array[AnyRef](null)), "tstzspanset" -> (org.mobilitydb.spark.temporal.SpanAccessorUDFs.tstzspansetUpper: AnyRef, 1, Array[AnyRef](null))), (org.mobilitydb.spark.temporal.TTextUDFs.ttextUpper: AnyRef, 1, Array[AnyRef](null))) + injMulti(ext, "width", 0, "Long", Map[String, (AnyRef, Int, Array[AnyRef])]("bigintspan" -> (org.mobilitydb.spark.temporal.AccessorAliasUDFs.bigintspanWidth: AnyRef, 1, Array[AnyRef](null)), "bigintspanset" -> (org.mobilitydb.spark.temporal.AccessorAliasUDFs.bigintspansetWidth: AnyRef, 2, Array[AnyRef](null, (java.lang.Boolean.FALSE: AnyRef))), "floatspan" -> (org.mobilitydb.spark.temporal.AccessorAliasUDFs.floatspanWidth: AnyRef, 1, Array[AnyRef](null)), "floatspanset" -> (org.mobilitydb.spark.temporal.AccessorAliasUDFs.floatspansetWidth: AnyRef, 2, Array[AnyRef](null, (java.lang.Boolean.FALSE: AnyRef))), "intspan" -> (org.mobilitydb.spark.temporal.AccessorAliasUDFs.intspanWidth: AnyRef, 1, Array[AnyRef](null)), "intspanset" -> (org.mobilitydb.spark.temporal.AccessorAliasUDFs.intspansetWidth: AnyRef, 2, Array[AnyRef](null, (java.lang.Boolean.FALSE: AnyRef)))), null) + } + // multi-impl not arg0-dispatchable (all impls share arg0 type; need + // the differentiating arg, e.g. atTime on the time argument): + // aDwithin -> ['aDwithin', 'aDwithinGeo'] + // aIntersects -> ['aIntersects', 'eIntersects'] + // always_eq -> ['alwaysEqBoolTbool', 'alwaysEqFloatTfloat', 'alwaysEqIntTint', 'alwaysEqTboolBool', 'alwaysEqTemporal', 'alwaysEqTfloatFloat', 'alwaysEqTintInt'] + // always_ge -> ['alwaysGeFloatTfloat', 'alwaysGeIntTint', 'alwaysGeTemporal', 'alwaysGeTfloatFloat', 'alwaysGeTintInt'] + // always_gt -> ['alwaysGtFloatTfloat', 'alwaysGtIntTint', 'alwaysGtTemporal', 'alwaysGtTfloatFloat', 'alwaysGtTintInt'] + // always_le -> ['alwaysLeFloatTfloat', 'alwaysLeIntTint', 'alwaysLeTemporal', 'alwaysLeTfloatFloat', 'alwaysLeTintInt'] + // always_lt -> ['alwaysLtFloatTfloat', 'alwaysLtIntTint', 'alwaysLtTemporal', 'alwaysLtTfloatFloat', 'alwaysLtTintInt'] + // always_ne -> ['alwaysNeBoolTbool', 'alwaysNeFloatTfloat', 'alwaysNeIntTint', 'alwaysNeTboolBool', 'alwaysNeTemporal', 'alwaysNeTfloatFloat', 'alwaysNeTintInt'] + // angularDifference -> ['tnumberAngularDifference', 'tpointAngularDifference'] + // area -> ['stboxArea', 'stboxPerimeter'] + // atGeometry -> ['atElevation', 'atGeometry', 'tgeoAtGeom', 'tpointAtElevation'] + // atValue -> ['tboolAtValue', 'tfloatAtValue', 'tintAtValue', 'tpointAtValue', 'ttextAtValue'] + // bearing -> ['bearing', 'bearingToPoint'] + // eDisjoint -> ['eDisjoint', 'eDisjointTgeoTgeo'] + // eDwithin -> ['eDwithin', 'eDwithinGeo'] + // endValue -> ['tboolEndValue', 'tfloatEndValue', 'tintEndValue', 'tpointEndValue', 'ttextEndValue'] + // ever_eq -> ['everEqBoolTbool', 'everEqFloatTfloat', 'everEqIntTint', 'everEqTboolBool', 'everEqTemporal', 'everEqTfloatFloat', 'everEqTintInt'] + // ever_ge -> ['everGeFloatTfloat', 'everGeIntTint', 'everGeTemporal', 'everGeTfloatFloat', 'everGeTintInt'] + // ever_gt -> ['everGtFloatTfloat', 'everGtIntTint', 'everGtTemporal', 'everGtTfloatFloat', 'everGtTintInt'] + // ever_le -> ['everLeFloatTfloat', 'everLeIntTint', 'everLeTemporal', 'everLeTfloatFloat', 'everLeTintInt'] + // ever_lt -> ['everLtFloatTfloat', 'everLtIntTint', 'everLtTemporal', 'everLtTfloatFloat', 'everLtTintInt'] + // ever_ne -> ['everNeFloatTfloat', 'everNeIntTint', 'everNeTboolBool', 'everNeTemporal', 'everNeTfloatFloat', 'everNeTintInt'] + // floatspan -> ['tboxToFloatspan', 'tboxToIntspan'] + // intspanset -> ['floatToSpanset', 'floatspansetToInt', 'intToSpanset', 'intspanset', 'setToSpanset'] + // ln -> ['exp', 'ln', 'log10', 'tfloatExp', 'tfloatLn', 'tfloatLog10'] + // maxValue -> ['tfloatMaxValue', 'tintMaxValue', 'ttextMaxValue'] + // minValue -> ['tfloatMinValue', 'tintMinValue', 'ttextMinValue'] + // minusGeometry -> ['tgeoMinusGeom', 'tpointMinusElevation'] + // minusValue -> ['minusValue', 'tboolMinusValue', 'tfloatMinusValue', 'tintMinusValue', 'tpointMinusValue', 'ttextMinusValue'] + // scaleValue -> ['tfloatScaleValue', 'tintScaleValue'] + // set -> ['floatToSet', 'intToSet', 'timestamptzToSet'] + // shiftScaleValue -> ['tfloatShiftScaleValue', 'tintShiftScaleValue'] + // shiftValue -> ['tfloatShiftValue', 'tintShiftValue'] + // span -> ['floatToSpan', 'intToSpan', 'setToSpan', 'spanToSpanset', 'spanset', 'timestamptzToSpan'] + // span_contained -> ['spanContainedIn', 'spanContainedInSpanset'] + // span_contains -> ['spanContains', 'spansetContainsSpan'] + // span_intersection -> ['spanIntersection', 'span_intersection', 'spansetIntersection', 'spansetIntersectionSpan', 'spanset_intersection'] + // span_minus -> ['spansetMinus', 'spansetMinusSpan', 'spanset_minus'] + // span_overlaps -> ['spanOverlaps', 'spansetOverlaps'] + // span_union -> ['spansetUnion', 'spansetUnionSpan', 'spanset_union'] + // tContains -> ['tContains', 'tContainsTgeoGeo'] + // tDisjoint -> ['tDisjoint', 'tDisjointTgeoTgeo'] + // tDistance -> ['tdistanceTfloatFloat', 'tdistanceTgeoGeo', 'tdistanceTgeoTgeo', 'tdistanceTintInt', 'tdistanceTnumberTnumber'] + // tDwithin -> ['tDwithin', 'tDwithinTgeoGeo'] + // tIntersects -> ['tIntersects', 'tIntersectsTgeoTgeo'] + // tTouches -> ['tTouches', 'tTouchesTogeoTgeo'] + // textset_cat -> ['textsetCat', 'textsetCatTextTextset', 'textsetCatTextsetText'] + // tint -> ['tboolInst', 'tcbufferInst', 'tfloatInst', 'tfloatToTint', 'tgeompointInst', 'tintInst', 'tposeInst'] + // tnumber_add -> ['addTfloatFloat', 'addTintInt', 'addTnumberTnumber', 'tnumber_add'] + // tnumber_div -> ['divTfloatFloat', 'divTnumberTnumber', 'tnumber_div'] + // tnumber_mul -> ['multTfloatFloat', 'multTintInt', 'multTnumberTnumber', 'tnumber_mul'] + // tnumber_sub -> ['subTfloatFloat', 'subTintInt', 'subTnumberTnumber', 'tnumber_sub'] + // valueAtTimestamp -> ['tboolValueAtTimestamptz', 'tfloatValueAtTimestamptz', 'tintValueAtTimestamptz', 'valueAtTimestamp'] + // valueN -> ['everNeBoolTbool', 'tboolValueN', 'tfloatValueN', 'tintValueN', 'tpointValueN', 'ttextInitcap', 'ttextValueN', 'valueN'] +} + +object MobilitySparkConnectExtensionsGen { + private def call(u: AnyRef, m: Int, a: Seq[Any], defaults: Array[AnyRef]): Any = { + // fill an omitted optional arg with the canonical SQL default, not a null pad + def g(i: Int): AnyRef = + if (i < a.length) a(i).asInstanceOf[AnyRef] + else if (defaults != null && i < defaults.length) defaults(i) else null + m match { + case 1 => u.asInstanceOf[UDF1[Any, Any]].call(g(0)) + case 2 => u.asInstanceOf[UDF2[Any, Any, Any]].call(g(0), g(1)) + case 3 => u.asInstanceOf[UDF3[Any, Any, Any, Any]].call(g(0), g(1), g(2)) + case _ => u.asInstanceOf[UDF4[Any, Any, Any, Any, Any]].call(g(0), g(1), g(2), g(3)) + } + } + def fn(n: Int, u: AnyRef, m: Int, defaults: Array[AnyRef]): AnyRef = n match { + case 1 => (a: Any) => call(u, m, Seq(a), defaults) + case 2 => (a: Any, b: Any) => call(u, m, Seq(a, b), defaults) + case 3 => (a: Any, b: Any, c: Any) => call(u, m, Seq(a, b, c), defaults) + case _ => (a: Any, b: Any, c: Any, d: Any) => call(u, m, Seq(a, b, c, d), defaults) + } + // route by the differentiating argument's MEOS type-tag name to the matching + // (impl, impl arity, defaults); the default route handles temporal/unknown tags + private def pick(args: Seq[Any], dpos: Int, routes: Map[String, (AnyRef, Int, Array[AnyRef])], + dflt: (AnyRef, Int, Array[AnyRef])): (AnyRef, Int, Array[AnyRef]) = + (if (dpos < args.length) args(dpos) else null) match { + case s: String => + val tn = try GeneratedFunctions.meostype_name(GeneratedFunctions.meos_typeof_hexwkb(s)) + catch { case _: Throwable => null } + routes.getOrElse(tn, dflt) + case _ => dflt + } + private def run(t: (AnyRef, Int, Array[AnyRef]), a: Seq[Any]): Any = + if (t == null || t._1 == null) null else call(t._1, t._2, a, t._3) + def disp(n: Int, dpos: Int, routes: Map[String, (AnyRef, Int, Array[AnyRef])], + dflt: (AnyRef, Int, Array[AnyRef])): AnyRef = n match { + case 1 => (a: Any) => run(pick(Seq(a), dpos, routes, dflt), Seq(a)) + case 2 => (a: Any, b: Any) => run(pick(Seq(a, b), dpos, routes, dflt), Seq(a, b)) + case 3 => (a: Any, b: Any, c: Any) => run(pick(Seq(a, b, c), dpos, routes, dflt), Seq(a, b, c)) + case _ => (a: Any, b: Any, c: Any, d: Any) => run(pick(Seq(a, b, c, d), dpos, routes, dflt), Seq(a, b, c, d)) + } +} diff --git a/codegen/src/main/java/FunctionsGenerator.java b/codegen/src/main/java/FunctionsGenerator.java index cf8cab50..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)) { @@ -266,6 +319,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/codegen/tools/NAMED_SURFACE.md b/codegen/tools/NAMED_SURFACE.md new file mode 100644 index 00000000..3e89f981 --- /dev/null +++ b/codegen/tools/NAMED_SURFACE.md @@ -0,0 +1,90 @@ +# Canonical named-operation surface (codegen layer above the C IDL) + +`meos-idl.json` describes MEOS at the **C-FFI level** (`temporal_as_mfjson`, raw C +params). Bindings, however, mirror MobilityDB's **named** surface — `asMFJSON`, +with overloads and per-argument defaults — and need to know which MEOS C function +each named function calls. `extract_named_surface.py` produces that layer, +`meos-named-surface.json`, from two canonical sources already in the tree: + +- **SQL catalog** (`mobilitydb/sql/**/*.in.sql`) — `CREATE FUNCTION` gives every + named function, its overloads, argument types, and which arguments have + `DEFAULT`s (so the valid call arities are known: `asMFJSON` → minArity 1, + maxArity 4). +- **doxygen chain** — `@sqlfn name()` on the PG C wrapper and `@csqlfn #PgFunc()` + on the MEOS C function link `SQL name → PG C function → MEOS C function` + (`asMFJSON → Temporal_as_mfjson → temporal_as_mfjson`). + +Run: `extract_named_surface.py ` → `../input/meos-named-surface.json`. + +## Why (North Star) + +Every binding's named surface — and the Spark Connect registrar that injects it — +is then a deterministic emission from this one spec, never a hand-maintained +function list: the camelCase Spark idiom is a mechanical remap of the canonical +name, the UDF body calls the linked MEOS C function, and the overloads/defaults +fix the call-arity exactly (no runtime null-padding heuristic). A new function in +the SQL catalog flows into every binding with no per-binding edit. + +## Canonical name -> Spark impl (derived, not hand-mapped) + +`extract_spark_impls.py ` scans the MobilitySpark `*UDFs` +classes for each `register("sparkName", field, DataTypes.RET)` and the field's +body `GeneratedFunctions.` calls, then joins on the named surface's +`SQL -> MEOS C` linkage to recover **canonical name -> Spark impl** mechanically. +This is what proves the camelCase remap (`asMFJSON->temporalAsMfjson`, +`Xmin->stboxXmin`, ...) is derivable and need not be a hand-written dialect table. + +The join (1308 Spark impls) classifies each canonical function for the emitter: + +- **single impl** (`asMFJSON->temporalAsMfjson`, `azimuth->tpointAzimuth`, + `sequenceN`, `numSequences`): emit the **canonical (identity) name** bound to + the one impl; arity adapts by null-padding the impl's optional args. +- **multi impl** (`Xmin->{stboxXmin,tboxXmin,tboxfloatXmin,tboxintXmin}`, + `Tmin->{stboxTmin,tboxTmin}`, `atTime->{atTime,temporalAtTstzspan,...}`): the + receiver/arg type is opaque (every MEOS value is a hex String in Spark), so the + identity-named builder must **dispatch on the WKB type tag** (`meos_typeof_hexwkb` + of the relevant arg) to the impl whose MEOS function matches that type. This is + the reason the type-prefixed names exist; the registrar removes the need for them. +- **join gaps** (`speed->[]`): the SQL function's `@csqlfn` chain resolved to a + type variant (`trgeometry_speed`) different from the MEOS function the Spark UDF + calls; close by capturing all per-type C variants per SQL name. + +## A2 — the emitter (consumes the two derived specs) + +`generate_spark_registrar.py` joins the two specs and emits +`output/MobilitySparkConnectExtensionsGen.scala`, a `SparkSessionExtensions` that +injects each canonical function under its **identity** name (no camelCase remap, +no hand-written table). The shipped `ScalaUDF` closures live in a companion object +so they capture only the serializable UDF, not the extension. The builder adapts +to the call-site arity by null-padding the impl's optional args (so `asMFJSON(g)` +reaches the impl's default precision). + +- **single impl**: direct ScalaUDF over the one impl, bound to the identity name + (`asMFJSON(trip)`, `numSequences(trip)`, …) — no camelCase remap, no + `dialect_spark.go` `sparkNameMap` for this set. +- **multi impl, arg0-dispatchable** (one SQL name over several type-specific impls + whose first argument differs in MEOS type): one ScalaUDF whose companion-object + closure peeks `meostype_name(meos_typeof_hexwkb(arg0))` and routes to the impl + whose receiver type matches, with the `Temporal`-receiver impl as the catch-all + default. `Xmin/Ymin/Xmax/Ymax/Tmin/Tmax` route `stbox→stbox*`, `tbox→tbox*`; + `stbox` routes `tstzspan→tstzspanToStbox` with `tpointToStbox` as default. The + receiver category is read from the impl's `primaryMeos` first C-parameter type + (the last non-marshaling `GeneratedFunctions` call in the UDF body). Served live: + `Xmin(stbox(trip))` resolves the inner and outer tags per row to the real value. +- **multi impl, not arg0-dispatchable** (all impls share the first-arg type; the + differentiating argument is later, e.g. `atTime` on its time argument): listed + in the generated file for the arg-N dispatch extension. + +The registrar serves the `/items`-collection OGC function set (`asMFJSON`, `stbox`, +the `Xmin/Ymin/Xmax/Ymax/Tmin/Tmax` accessors, `numSequences`, `sequenceN`, +`trajectory`) under identity names over Spark Connect. + +The same two specs feed the PG/DuckDB identity dialects, PyMEOS, and Flink/Kafka. + +## Refinements tracked + +- Group each overload with its specific C function by first-argument type (the `c` + list is currently per-name; type-dispatched families like `speed` carry several). +- Parse `@sqlop` (760 operator tags) for the operator surface. +- Raise C-linkage coverage past the current 434/1284 (alias and multi-`@csqlfn` + resolution). diff --git a/codegen/tools/extract_named_surface.py b/codegen/tools/extract_named_surface.py new file mode 100644 index 00000000..dcf84d3a --- /dev/null +++ b/codegen/tools/extract_named_surface.py @@ -0,0 +1,105 @@ +#!/usr/bin/env python3 +"""Extract the canonical named-operation surface of MobilityDB. + +The surface that bindings (MobilitySpark UDFs, the Spark Connect registrar, +PyMEOS, ...) must mirror is the MobilityDB SQL function catalog: the named +functions with their overloads and per-argument defaults. The SQL <-> C linkage +is already canonical in the source as a doxygen tag chain: + + SQL name <-(@sqlfn name())- PG C function <-(@csqlfn #PgFunc())- MEOS C function + +This tool reads the MobilityDB tree and emits one spec, meos-named-surface.json, +that the codegen consumes to generate each binding's named surface and its +Spark Connect registrar from a single source -- no hand-maintained function list. + +Usage: + extract_named_surface.py [out.json] +""" +import json, re, sys, os, glob + +# ---- 1. SQL catalog: names, overloads, per-arg type + default --------------- +CREATE_RE = re.compile(r'CREATE\s+(?:OR\s+REPLACE\s+)?FUNCTION\s+(\w+)\s*\((.*?)\)\s*RETURNS\s+([A-Za-z0-9_\[\]]+)', + re.IGNORECASE | re.DOTALL) + +def split_top(args): + """Split an arg list on top-level commas (ignoring commas inside parens).""" + out, depth, cur = [], 0, '' + for ch in args: + if ch == '(': depth += 1; cur += ch + elif ch == ')': depth -= 1; cur += ch + elif ch == ',' and depth == 0: out.append(cur); cur = '' + else: cur += ch + if cur.strip(): out.append(cur) + return [a.strip() for a in out if a.strip()] + +def parse_arg(a): + """One arg -> (type, has_default, default). Forms: 'type' | 'name type' | + '[name] type DEFAULT v'. The default literal (after DEFAULT) lets the registrar + fill an omitted optional argument with the canonical value, not a null pad.""" + parts = re.split(r'\bDEFAULT\b', a, flags=re.IGNORECASE) + has_def = len(parts) > 1 + head = parts[0].strip() + toks = head.split() + typ = toks[-1] if toks else head # type is the last token before DEFAULT + default = parts[1].strip().rstrip(',') if has_def else None + return typ, has_def, default + +def parse_sql(root): + funcs = {} + for f in glob.glob(os.path.join(root, 'mobilitydb', 'sql', '**', '*.in.sql'), recursive=True): + text = open(f, encoding='utf-8', errors='ignore').read() + for m in CREATE_RE.finditer(text): + name, arglist, ret = m.group(1), m.group(2), m.group(3) + args = [dict(zip(('type', 'hasDefault', 'default'), parse_arg(a))) for a in split_top(arglist)] + req = sum(1 for a in args if not a['hasDefault']) + funcs.setdefault(name, []).append( + {'args': args, 'returns': ret, 'minArity': req, 'maxArity': len(args)}) + return funcs + +# ---- 2. doxygen chain: SQL name <- PG C func <- MEOS C func ------------------ +SQLFN_RE = re.compile(r'@sqlfn\s+(\w+)\s*\(') # on the PG C wrapper comment +CSQLFN_RE = re.compile(r'@csqlfn\s+#(\w+)\s*\(') # on the MEOS C function comment +PGDEF_RE = re.compile(r'^(\w+)\s*\(PG_FUNCTION_ARGS\)', re.MULTILINE) +CDEF_RE = re.compile(r'^(\w+)\s*\(', re.MULTILINE) # a C function definition name at col 0 + +def _next_name(text, pos, pat): + m = pat.search(text, pos) + return m.group(1) if m else None + +def parse_doxygen(root): + pg2sql, meos2pg = {}, {} + for sub, sqlmap, defpat, tagpat, key in ( + ('mobilitydb', pg2sql, PGDEF_RE, SQLFN_RE, 'sql'), + ('meos', meos2pg, CDEF_RE, CSQLFN_RE, 'csql')): + for f in glob.glob(os.path.join(root, sub, 'src', '**', '*.c'), recursive=True): + text = open(f, encoding='utf-8', errors='ignore').read() + for m in tagpat.finditer(text): + target = m.group(1) # sql name, or referenced PG func + cfunc = _next_name(text, m.end(), defpat) # the C function this comment documents + if cfunc: + sqlmap[cfunc] = target + return pg2sql, meos2pg + +def main(): + root = sys.argv[1] if len(sys.argv) > 1 else '.' + out = sys.argv[2] if len(sys.argv) > 2 else os.path.join( + os.path.dirname(__file__), '..', 'input', 'meos-named-surface.json') + sqlfuncs = parse_sql(root) + pg2sql, meos2pg = parse_doxygen(root) + sql2meos = {} + for meos, pg in meos2pg.items(): + sqlname = pg2sql.get(pg) + if sqlname: + sql2meos.setdefault(sqlname, []).append({'pg': pg, 'meos': meos}) + surface = [] + for name in sorted(sqlfuncs): + surface.append({'name': name, 'overloads': sqlfuncs[name], 'c': sql2meos.get(name, [])}) + spec = {'source': 'MobilityDB SQL catalog + doxygen @sqlfn/@csqlfn chain', + 'functionCount': len(surface), 'functions': surface} + os.makedirs(os.path.dirname(out), exist_ok=True) + json.dump(spec, open(out, 'w'), indent=1) + linked = sum(1 for s in surface if s['c']) + print(f'named functions: {len(surface)} with C linkage: {linked} -> {out}') + +if __name__ == '__main__': + main() diff --git a/codegen/tools/extract_spark_impls.py b/codegen/tools/extract_spark_impls.py new file mode 100644 index 00000000..1fff439f --- /dev/null +++ b/codegen/tools/extract_spark_impls.py @@ -0,0 +1,94 @@ +#!/usr/bin/env python3 +"""Derive the canonical-function -> MobilitySpark-impl mapping (no hand list). + +The MobilitySpark UDFs are the Spark implementations. Each is registered as +`register("", , DataTypes.)` and its lambda body calls one +or more `GeneratedFunctions.` (the MEOS C function it implements). This +tool scans the MobilitySpark sources to produce, per registered UDF: + sparkName, holderClass, field, retType, arity, argTypes, meosFns[] + +Joined against meos-named-surface.json (canonical SQL name -> MEOS C function, via +the doxygen chain), it yields canonical SQL name -> Spark impl — the mapping the +Connect-registrar emitter needs, derived rather than hand-maintained. It also +shows that the camelCase remaps (asMFJSON->temporalAsMfjson, Xmin->stboxXmin, ...) +are mechanically recoverable, so they need not be a hand-written dialect table. + +Usage: + extract_spark_impls.py [named-surface.json] +""" +import json, re, sys, os, glob + +REG_RE = re.compile(r'register\(\s*"([^"]+)"\s*,\s*(\w+)\s*,\s*DataTypes\.(\w+)\s*\)') +# a public static UDFn field declaration: capture name + generic type args +FIELD_RE = re.compile(r'public\s+static\s+final\s+UDF(\d)<([^>]*)>\s+(\w+)\s*=', re.MULTILINE) +GENFN_RE = re.compile(r'GeneratedFunctions\.(\w+)\s*\(') +# I/O helpers a UDF body calls for marshaling, not the semantic operation +HELPER_RE = re.compile(r'(_from_hexwkb|_from_binary|_from_wkb|_from_hexewkb|_in|_out|' + r'_as_hexwkb|_as_wkb|_as_text|_from_mfjson|_from_text|geo_from_text|' + r'pg_timestamptz_in|free)$') + +def primary_meos(meos): + """The semantic MEOS function of a UDF body: the last non-marshaling call + (the result-producing op, after any input parse / bbox-prefilter helpers).""" + for m in reversed(meos): + if not HELPER_RE.search(m): + return m + return meos[-1] if meos else None + +def scan_impls(root): + impls = {} # sparkName -> dict + fields = {} # field -> (arity, argTypes, bodyMeosFns) + for f in glob.glob(os.path.join(root, 'src', 'main', 'java', '**', '*UDFs.java'), recursive=True): + text = open(f, encoding='utf-8', errors='ignore').read() + cls = os.path.basename(f)[:-5] + pkgm = re.search(r'^\s*package\s+([\w.]+)\s*;', text, re.MULTILINE) + pkg = pkgm.group(1) if pkgm else '' + # field declarations + the body that follows (until the next "public static" or EOF) + decls = list(FIELD_RE.finditer(text)) + for i, m in enumerate(decls): + arity = int(m.group(1)) + targs = [t.strip() for t in m.group(2).split(',')] + field = m.group(3) + body = text[m.end(): decls[i + 1].start() if i + 1 < len(decls) else len(text)] + meos = list(dict.fromkeys(GENFN_RE.findall(body))) # ordered-unique + fields[field] = {'class': cls, 'pkg': pkg, 'arity': arity, + 'argTypes': targs[:-1], 'retType': targs[-1], 'meosFns': meos, + 'primaryMeos': primary_meos(meos)} + for m in REG_RE.finditer(text): + sparkName, field, ret = m.group(1), m.group(2), m.group(3) + fd = fields.get(field) + if fd: + impls[sparkName] = {'field': field, 'class': fd['class'], 'pkg': fd['pkg'], + 'retDataType': ret, 'arity': fd['arity'], 'argTypes': fd['argTypes'], + 'retType': fd['retType'], 'meosFns': fd['meosFns'], + 'primaryMeos': fd['primaryMeos']} + return impls + +def main(): + root = sys.argv[1] if len(sys.argv) > 1 else '.' + spec_path = sys.argv[2] if len(sys.argv) > 2 else os.path.join( + os.path.dirname(__file__), '..', 'input', 'meos-named-surface.json') + impls = scan_impls(root) + out = os.path.join(os.path.dirname(__file__), '..', 'input', 'spark-impls.json') + json.dump({'implCount': len(impls), 'impls': impls}, open(out, 'w'), indent=1) + + # join with the canonical named surface to recover canonical -> spark impl + surface = json.load(open(spec_path))['functions'] + # MEOS C fn -> spark impl(s) + meos2spark = {} + for sn, d in impls.items(): + if d.get('primaryMeos'): + meos2spark.setdefault(d['primaryMeos'], []).append(sn) + derived = {} + for fn in surface: + for c in fn['c']: + for sn in meos2spark.get(c['meos'], []): + derived.setdefault(fn['name'], set()).add(sn) + print(f"spark impls: {len(impls)} -> {out}") + print("derived canonical -> spark impl (the remap, recovered mechanically):") + for canon in ('asMFJSON', 'Xmin', 'Tmin', 'azimuth', 'speed', 'atTime', 'sequenceN', 'numSequences'): + got = sorted(derived.get(canon, [])) + print(f" {canon:14} -> {got}") + +if __name__ == '__main__': + main() diff --git a/codegen/tools/generate_spark_registrar.py b/codegen/tools/generate_spark_registrar.py new file mode 100644 index 00000000..6f546f00 --- /dev/null +++ b/codegen/tools/generate_spark_registrar.py @@ -0,0 +1,287 @@ +#!/usr/bin/env python3 +"""Generate the MobilitySpark Spark Connect registrar from the canonical specs. + +Inputs (both produced by the sibling extractors, derived from canonical sources): + - meos-named-surface.json canonical SQL names + overloads (defaults -> arities) + - spark-impls.json each Spark UDF: holder pkg/class/field, arity, types, + and the MEOS C functions its body calls + +Joining them on the SQL->MEOS C doxygen chain yields canonical name -> Spark impl. +This tool emits MobilitySparkConnectExtensionsGen.scala: a SparkSessionExtensions +that injects each canonical function under its IDENTITY name (no camelCase remap, +no hand-written table). Single-impl functions bind directly to the one impl; the +builder adapts to the call-site arity by null-padding the impl's optional args (so +e.g. asMFJSON(g) reaches the impl's default precision). Multi-impl functions (one +SQL name over several type-specific impls) whose first argument differs in MEOS +type are emitted as a per-row dispatch ScalaUDF that peeks the arg0 WKB type tag +(meos_typeof_hexwkb) and routes to the type-matching impl. Multi-impl functions +that differ only on a later argument (e.g. atTime on its time arg) are listed for +the arg-N dispatch extension. + +Usage: generate_spark_registrar.py [named-surface.json] [spark-impls.json] [out.scala] +""" +import json, os, sys + +HERE = os.path.dirname(__file__) +named = json.load(open(sys.argv[1] if len(sys.argv) > 1 else os.path.join(HERE, '..', 'input', 'meos-named-surface.json'))) +impls = json.load(open(sys.argv[2] if len(sys.argv) > 2 else os.path.join(HERE, '..', 'input', 'spark-impls.json')))['impls'] +out = sys.argv[3] if len(sys.argv) > 3 else os.path.join(HERE, '..', 'output', 'MobilitySparkConnectExtensionsGen.scala') + +meos2spark = {} +for sn, d in impls.items(): + if d.get('primaryMeos'): + meos2spark.setdefault(d['primaryMeos'], []).append(sn) + +# C-FFI param types -> receiver category, so a multi-impl SQL name can dispatch on +# a runtime MEOS type tag (meos_typeof_hexwkb of the differentiating argument) to +# the type-specific impl. +idl = json.load(open(os.path.join(HERE, '..', 'input', 'meos-idl.json'))) +prim2params = {f['name']: [p.get('cType', '') for p in (f.get('params') or [])] + for f in idl['functions']} +# every meostype_name string, longest first for greedy matching of the concrete +# type embedded in a primaryMeos name (e.g. temporal_at_tstzspanset -> tstzspanset) +TNAMES = json.load(open('/tmp/tnames.json')) if os.path.exists('/tmp/tnames.json') else [] + +def category(ctype): + if 'STBox' in ctype: return 'stbox' + if 'TBox' in ctype: return 'tbox' + if 'GSERIALIZED' in ctype: return 'geo' + if 'Temporal' in ctype: return 'temporal' + if 'Span' in ctype or 'Set' in ctype: return 'spanset' + return 'other' + +CAT_TNAMES = {'stbox': ['stbox'], 'tbox': ['tbox'], + 'geo': ['geometry', 'geography', 'geomset', 'geogset']} + +def ctype_at(spark, pos): + ps = prim2params.get(impls[spark]['primaryMeos'], []) + return ps[pos] if pos < len(ps) else '' + +def impl_tnames(spark, pos): + """(tnames, isDefault) the impl answers to at arg position `pos`. Concrete + receivers map to fixed tags; a Temporal receiver is the catch-all default; a + generic Span/Set takes the concrete tag embedded in its primaryMeos name; + a non-WKB receiver (timestamptz/numeric) yields nothing (cannot be peeked).""" + cat = category(ctype_at(spark, pos)) + if cat == 'temporal': + return [], True + if cat in CAT_TNAMES: + return CAT_TNAMES[cat], False + if cat == 'spanset': + pm = impls[spark]['primaryMeos'] + hit = next((t for t in TNAMES if t in pm), None) + return ([hit] if hit else []), False + return [], False + +def dispatch_for(names): + """Pick the first arg position at which the impls differ and yield a usable + routes map, then return (pos, routes, default) or None.""" + arity = min(impls[s]['arity'] for s in names) + for pos in range(arity): + routes, default = {}, None + for s in names: + tns, isdef = impl_tnames(s, pos) + for tn in tns: + routes.setdefault(tn, s) + if isdef and default is None: + default = s + # this position differentiates if it routes to >=2 distinct impls (or one + # concrete route plus a temporal default) + targets = set(routes.values()) | ({default} if default else set()) + if routes and len(targets) > 1: + return pos, routes, default + return None + +single, multi, dispatch = [], [], [] +for fn in named['functions']: + names = sorted({sn for c in fn['c'] for sn in meos2spark.get(c['meos'], [])}) + if len(names) == 1: + single.append((fn['name'], names[0])) + elif len(names) > 1 and len({impls[s]['primaryMeos'] for s in names}) == 1: + # several Spark registrations (bare + camelCase) of one MEOS op: single op, + # bind the identity name to the impl named for it (else the shortest name) + pick = next((s for s in names if s.lower() == fn['name'].lower()), None) \ + or min(names, key=len) + single.append((fn['name'], pick)) + elif len(names) > 1: + d = dispatch_for(names) + if d: + pos, routes, default = d + dispatch.append((fn['name'], names, pos, routes, default)) + else: + multi.append((fn['name'], names)) + +import re as _re +named_by_name = {fn['name']: fn for fn in named['functions']} + +def scala_default(v): + if v is None: + return 'null' + if _re.fullmatch(r'-?\d+', v): + return f'(Integer.valueOf({v}): AnyRef)' + if v.strip().upper() in ('TRUE', 'FALSE'): + return f'(java.lang.Boolean.{v.strip().upper()}: AnyRef)' + return 'null' # unsupported default literal: fall back to a null pad + +def defaults_arr(canon, arity): + """Fill an omitted optional arg with the SQL default ONLY when the impl exposes + exactly one overload's worth of args (impl arity == that overload's maxArity, so + positions align); otherwise null-pad and let the impl's own default hold (the + impl may expose a non-leading subset of the canonical args).""" + fn = named_by_name.get(canon) + ov = next((o for o in fn['overloads'] if o['maxArity'] == arity), None) if fn else None + if not ov: + items = ', '.join('null' for _ in range(arity)) + else: + items = ', '.join( + scala_default(ov['args'][i].get('default') if i < len(ov['args']) else None) + for i in range(arity)) + return f'Array[AnyRef]({items})' + +lines = [] +seen = set() +for canon, spark in single: + if canon in seen: + continue + d = impls[spark] + seen.add(canon) + fqn = f"{d['pkg']}.{d['class']}.{d['field']}" + argts = ', '.join(f'"{t}"' for t in d['argTypes']) + lines.append(f' inj(ext, "{canon}", {d["arity"]}, Array[String]({argts}), ' + f'"{d["retType"]}", {fqn}, {defaults_arr(canon, d["arity"])})') + +dlines = [] +def fqn(s): + x = impls[s] + return f"{x['pkg']}.{x['class']}.{x['field']}" + +def route_target(canon, s): + # (impl, impl arity, impl SQL-default fills) so the dispatch can pad an omitted + # optional argument of the chosen impl exactly as the single-impl path does + d = impls[s] + return f"({fqn(s)}: AnyRef, {d['arity']}, {defaults_arr(canon, d['arity'])})" + +for canon, names, pos, routes, default in dispatch: + if canon in seen: + continue + seen.add(canon) + d = impls[names[0]] + retT = d['retType'] + rmap = ', '.join(f'"{tn}" -> {route_target(canon, s)}' for tn, s in sorted(routes.items())) + dflt = route_target(canon, default) if default else "null" + dlines.append(f' injMulti(ext, "{canon}", {pos}, "{retT}", ' + f'Map[String, (AnyRef, Int, Array[AnyRef])]({rmap}), {dflt})') + +HEADER = '''/* GENERATED by codegen/tools/generate_spark_registrar.py from the canonical + * named-operation surface (meos-named-surface.json) joined with the MobilitySpark + * impl scan (spark-impls.json). Do not edit by hand. Each canonical function is + * injected under its identity name (no camelCase remap, no hand-written table). + * Single-impl functions bind to the one impl; multi-impl functions that differ on + * arg0's MEOS type dispatch per row on the arg0 WKB type tag. Functions that + * differ only on a later argument are listed in the trailing comment. */ +package org.mobilitydb.spark.connect + +import org.apache.spark.sql.SparkSessionExtensions +import org.apache.spark.sql.catalyst.FunctionIdentifier +import org.apache.spark.sql.catalyst.expressions.{Expression, ExpressionInfo, ScalaUDF} +import org.apache.spark.sql.catalyst.encoders.ExpressionEncoder +import org.apache.spark.sql.types._ +import org.apache.spark.sql.api.java.{UDF1, UDF2, UDF3, UDF4} +import functions.GeneratedFunctions + +class MobilitySparkConnectExtensionsGen extends (SparkSessionExtensions => Unit) { + private lazy val encs: Map[String, ExpressionEncoder[_]] = Map( + "String" -> ExpressionEncoder[String](), "Integer" -> ExpressionEncoder[java.lang.Integer](), + "Long" -> ExpressionEncoder[java.lang.Long](), "Double" -> ExpressionEncoder[java.lang.Double](), + "Number" -> ExpressionEncoder[java.lang.Double](), "Float" -> ExpressionEncoder[java.lang.Float](), + "Boolean" -> ExpressionEncoder[java.lang.Boolean](), "Timestamp" -> ExpressionEncoder[java.sql.Timestamp]()) + private def enc(t: String) = encs.getOrElse(t, encs("String")) + private def dt(t: String): DataType = t match { + case "Integer" => IntegerType; case "Long" => LongType; case "Double" | "Number" => DoubleType + case "Float" => FloatType; case "Boolean" => BooleanType; case "Timestamp" => TimestampType + case _ => StringType + } + private def inj(ext: SparkSessionExtensions, name: String, arity: Int, + argTs: Array[String], retT: String, udf: AnyRef, defaults: Array[AnyRef]): Unit = { + val builder = (children: Seq[Expression]) => { + val n = math.min(children.size, arity) + ScalaUDF(MobilitySparkConnectExtensionsGen.fn(n, udf, arity, defaults), dt(retT), children, + argTs.take(n).map(t => Some(enc(t))).toSeq, Some(enc(retT)), Some(name)) + } + try ext.injectFunction((FunctionIdentifier(name), new ExpressionInfo(name, name), builder)) + catch { case _: Throwable => } + } + // One SQL name over several type-specific impls: dispatch per row on the + // differentiating argument's MEOS type tag to the impl whose receiver matches. + // Each route carries (impl, impl arity, impl SQL-default fills). + private def injMulti(ext: SparkSessionExtensions, name: String, dpos: Int, retT: String, + routes: Map[String, (AnyRef, Int, Array[AnyRef])], + dflt: (AnyRef, Int, Array[AnyRef])): Unit = { + val builder = (children: Seq[Expression]) => { + val n = children.size + ScalaUDF(MobilitySparkConnectExtensionsGen.disp(n, dpos, routes, dflt), dt(retT), children, + children.map(_ => Some(enc("String"))), Some(enc(retT)), Some(name)) + } + try ext.injectFunction((FunctionIdentifier(name), new ExpressionInfo(name, name), builder)) + catch { case _: Throwable => } + } + + def apply(ext: SparkSessionExtensions): Unit = { +''' + +os.makedirs(os.path.dirname(out), exist_ok=True) +with open(out, 'w') as f: + f.write(HEADER) + f.write('\n'.join(lines)) + f.write('\n\n // multi-impl: per-row arg0 MEOS-type-tag dispatch\n') + f.write('\n'.join(dlines)) + f.write('\n }\n') + f.write(' // multi-impl not arg0-dispatchable (all impls share arg0 type; need\n') + f.write(' // the differentiating arg, e.g. atTime on the time argument):\n') + for canon, names in multi: + f.write(f' // {canon} -> {names}\n') + f.write('}\n\n') + # Companion object: the shipped ScalaUDF closures live here so they capture + # only the serializable UDF object, never the (non-serializable) extension. + f.write('''object MobilitySparkConnectExtensionsGen { + private def call(u: AnyRef, m: Int, a: Seq[Any], defaults: Array[AnyRef]): Any = { + // fill an omitted optional arg with the canonical SQL default, not a null pad + def g(i: Int): AnyRef = + if (i < a.length) a(i).asInstanceOf[AnyRef] + else if (defaults != null && i < defaults.length) defaults(i) else null + m match { + case 1 => u.asInstanceOf[UDF1[Any, Any]].call(g(0)) + case 2 => u.asInstanceOf[UDF2[Any, Any, Any]].call(g(0), g(1)) + case 3 => u.asInstanceOf[UDF3[Any, Any, Any, Any]].call(g(0), g(1), g(2)) + case _ => u.asInstanceOf[UDF4[Any, Any, Any, Any, Any]].call(g(0), g(1), g(2), g(3)) + } + } + def fn(n: Int, u: AnyRef, m: Int, defaults: Array[AnyRef]): AnyRef = n match { + case 1 => (a: Any) => call(u, m, Seq(a), defaults) + case 2 => (a: Any, b: Any) => call(u, m, Seq(a, b), defaults) + case 3 => (a: Any, b: Any, c: Any) => call(u, m, Seq(a, b, c), defaults) + case _ => (a: Any, b: Any, c: Any, d: Any) => call(u, m, Seq(a, b, c, d), defaults) + } + // route by the differentiating argument's MEOS type-tag name to the matching + // (impl, impl arity, defaults); the default route handles temporal/unknown tags + private def pick(args: Seq[Any], dpos: Int, routes: Map[String, (AnyRef, Int, Array[AnyRef])], + dflt: (AnyRef, Int, Array[AnyRef])): (AnyRef, Int, Array[AnyRef]) = + (if (dpos < args.length) args(dpos) else null) match { + case s: String => + val tn = try GeneratedFunctions.meostype_name(GeneratedFunctions.meos_typeof_hexwkb(s)) + catch { case _: Throwable => null } + routes.getOrElse(tn, dflt) + case _ => dflt + } + private def run(t: (AnyRef, Int, Array[AnyRef]), a: Seq[Any]): Any = + if (t == null || t._1 == null) null else call(t._1, t._2, a, t._3) + def disp(n: Int, dpos: Int, routes: Map[String, (AnyRef, Int, Array[AnyRef])], + dflt: (AnyRef, Int, Array[AnyRef])): AnyRef = n match { + case 1 => (a: Any) => run(pick(Seq(a), dpos, routes, dflt), Seq(a)) + case 2 => (a: Any, b: Any) => run(pick(Seq(a, b), dpos, routes, dflt), Seq(a, b)) + case 3 => (a: Any, b: Any, c: Any) => run(pick(Seq(a, b, c), dpos, routes, dflt), Seq(a, b, c)) + case _ => (a: Any, b: Any, c: Any, d: Any) => run(pick(Seq(a, b, c, d), dpos, routes, dflt), Seq(a, b, c, d)) + } +} +''') +print(f"single-impl injected: {len(lines)} multi-impl (v2 dispatch): {len(multi)} -> {out}") diff --git a/jmeos-core/pom.xml b/jmeos-core/pom.xml index dd37ac3a..50c7a40f 100644 --- a/jmeos-core/pom.xml +++ b/jmeos-core/pom.xml @@ -240,14 +240,64 @@ + + + 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 3.11.0 - 21 - 21 - --enable-preview + 17 + 17 diff --git a/jmeos-core/src/libmeos.so b/jmeos-core/src/libmeos.so index 9cc9bdbd..24ebd35a 100644 Binary files a/jmeos-core/src/libmeos.so and b/jmeos-core/src/libmeos.so differ 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 98385204..00000000 --- a/jmeos-core/src/main/java/functions/GeneratedFunctions.java +++ /dev/null @@ -1,15480 +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 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); - - Pointer rtree_search(Pointer rtree, int op, Pointer query, Pointer count); - - Pointer rtree_search_temporal(Pointer rtree, int op, Pointer temp, Pointer count); - - 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(int i); - - Pointer bigint_to_spanset(int i); - - 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_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_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); - - } - - public interface MeosLibraryPartB { - - 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_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); - - 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 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 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 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 tbool_to_tint(Pointer temp); - - Pointer temporal_to_tstzspan(Pointer temp); - - Pointer tfloat_to_tint(Pointer temp); - - Pointer tint_to_tfloat(Pointer temp); - - Pointer tnumber_to_span(Pointer temp); - - Pointer tnumber_to_tbox(Pointer temp); - - 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); - - } - - public interface MeosLibraryPartC { - - 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 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 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_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_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_float_tfloat(double d, Pointer temp); - - int always_ge_int_tint(int i, Pointer temp); - - 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_float_tfloat(double d, Pointer temp); - - int always_gt_int_tint(int i, Pointer temp); - - 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_float_tfloat(double d, Pointer temp); - - int always_le_int_tint(int i, Pointer temp); - - 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_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_ne_tbool_bool(Pointer temp, boolean b); - - 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_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_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_float_tfloat(double d, Pointer temp); - - int ever_ge_int_tint(int i, Pointer temp); - - 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_float_tfloat(double d, Pointer temp); - - int ever_gt_int_tint(int i, Pointer temp); - - 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_float_tfloat(double d, Pointer temp); - - int ever_le_int_tint(int i, Pointer temp); - - 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_float_tfloat(double d, Pointer temp); - - int ever_lt_int_tint(int i, Pointer temp); - - 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_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_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_float_tfloat(double d, Pointer tnumber); - - Pointer add_int_tint(int i, Pointer tnumber); - - 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_float_tfloat(double d, Pointer tnumber); - - Pointer div_int_tint(int i, Pointer tnumber); - - 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 mult_int_tint(int i, Pointer tnumber); - - Pointer mult_tfloat_float(Pointer tnumber, double d); - - Pointer mult_tint_int(Pointer tnumber, int i); - - Pointer mult_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2); - - Pointer sub_float_tfloat(double d, Pointer tnumber); - - Pointer sub_int_tint(int i, Pointer tnumber); - - 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_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); - - } - - 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); - - 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); - - 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_geom(Pointer temp, Pointer gs, Pointer zspan); - - Pointer tpoint_at_value(Pointer temp, Pointer gs); - - Pointer tpoint_minus_geom(Pointer temp, Pointer gs, Pointer zspan); - - 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, boolean restr, boolean atvalue); - - Pointer tcontains_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue); - - Pointer tcontains_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue); - - Pointer tcovers_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue); - - Pointer tcovers_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue); - - Pointer tcovers_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue); - - Pointer tdisjoint_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue); - - Pointer tdisjoint_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue); - - Pointer tdisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue); - - Pointer tdwithin_geo_tgeo(Pointer gs, Pointer temp, double dist, boolean restr, boolean atvalue); - - Pointer tdwithin_tgeo_geo(Pointer temp, Pointer gs, double dist, boolean restr, boolean atvalue); - - Pointer tdwithin_tgeo_tgeo(Pointer temp1, Pointer temp2, double dist, boolean restr, boolean atvalue); - - Pointer tintersects_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue); - - Pointer tintersects_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue); - - Pointer tintersects_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue); - - Pointer ttouches_geo_tgeo(Pointer gs, Pointer temp, boolean restr, boolean atvalue); - - Pointer ttouches_tgeo_geo(Pointer temp, Pointer gs, boolean restr, boolean atvalue); - - Pointer ttouches_tgeo_tgeo(Pointer temp1, Pointer temp2, boolean restr, boolean atvalue); - - 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); - - 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); - - } - - 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 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 Pointer rtree_search(Pointer rtree, int op, Pointer query, Pointer count) { - var _result = _meos_a.rtree_search(rtree, op, query, count); - 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); - 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(int i) { - var _result = _meos_a.bigint_to_span(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigint_to_spanset(int i) { - var _result = _meos_a.bigint_to_spanset(i); - 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_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_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_b.overafter_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_set_date(Pointer s, int d) { - var _result = _meos_b.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_b.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_b.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_b.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_b.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_b.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_b.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_b.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_b.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_b.overbefore_date_set(d, s); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_date_spanset(int d, Pointer ss) { - var _result = _meos_b.overbefore_date_spanset(d, ss); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_spanset_date(Pointer ss, int d) { - var _result = _meos_b.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_b.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_b.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_b.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_b.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_b.overleft_bigint_set(i, s); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_union_finalfn(Pointer state) { - var _result = _meos_b.set_union_finalfn(state); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_union_finalfn(Pointer state) { - var _result = _meos_b.spanset_union_finalfn(state); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int date_get_bin(int d, Pointer duration, int torigin) { - var _result = _meos_b.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_b.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_b.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_b.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_b.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_b.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_b.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_b.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_b.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_b.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_b.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_b.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_b.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_b.tbox_as_wkb(box, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_from_hexwkb(String hexwkb) { - var _result = _meos_b.tbox_from_hexwkb(hexwkb); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_in(String str) { - var _result = _meos_b.tbox_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tbox_out(Pointer box, int maxdd) { - var _result = _meos_b.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_b.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_b.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_b.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_b.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_b.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_b.numspan_timestamptz_to_tbox(span, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_copy(Pointer box) { - var _result = _meos_b.tbox_copy(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_make(Pointer s, Pointer p) { - var _result = _meos_b.tbox_make(s, p); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_to_tbox(double d) { - var _result = _meos_b.float_to_tbox(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_to_tbox(int i) { - var _result = _meos_b.int_to_tbox(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_to_tbox(Pointer s) { - var _result = _meos_b.set_to_tbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_to_tbox(Pointer s) { - var _result = _meos_b.span_to_tbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_to_tbox(Pointer ss) { - var _result = _meos_b.spanset_to_tbox(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_to_intspan(Pointer box) { - var _result = _meos_b.tbox_to_intspan(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_to_floatspan(Pointer box) { - var _result = _meos_b.tbox_to_floatspan(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_to_tstzspan(Pointer box) { - var _result = _meos_b.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_b.timestamptz_to_tbox(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tbox_hash(Pointer box) { - var _result = _meos_b.tbox_hash(box); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_hast(Pointer box) { - var _result = _meos_b.tbox_hast(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_hasx(Pointer box) { - var _result = _meos_b.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 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 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 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 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_tint(Pointer temp) { - var _result = _meos_b.tfloat_to_tint(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 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_c.tint_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_max_value(Pointer temp) { - var _result = _meos_c.tint_max_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_min_value(Pointer temp) { - var _result = _meos_c.tint_min_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_start_value(Pointer temp) { - var _result = _meos_c.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_c.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_c.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_c.tint_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumber_avg_value(Pointer temp) { - var _result = _meos_c.tnumber_avg_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumber_integral(Pointer temp) { - var _result = _meos_c.tnumber_integral(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumber_twavg(Pointer temp) { - var _result = _meos_c.tnumber_twavg(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_valuespans(Pointer temp) { - var _result = _meos_c.tnumber_valuespans(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_end_value(Pointer temp) { - var _result = _meos_c.ttext_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_max_value(Pointer temp) { - var _result = _meos_c.ttext_max_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_min_value(Pointer temp) { - var _result = _meos_c.ttext_min_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_start_value(Pointer temp) { - var _result = _meos_c.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_c.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_c.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_c.ttext_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_degrees(double value, boolean normalize) { - var _result = _meos_c.float_degrees(value, normalize); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_round(Pointer temp, int maxdd) { - var _result = _meos_c.temporal_round(temp, maxdd); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_to_tinstant(Pointer temp) { - var _result = _meos_c.temporal_to_tinstant(temp); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_ceil(Pointer temp) { - var _result = _meos_c.tfloat_ceil(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_degrees(Pointer temp, boolean normalize) { - var _result = _meos_c.tfloat_degrees(temp, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_floor(Pointer temp) { - var _result = _meos_c.tfloat_floor(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_radians(Pointer temp) { - var _result = _meos_c.tfloat_radians(temp); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_merge(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_merge(temp1, temp2); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_max(Pointer temp) { - var _result = _meos_c.temporal_at_max(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_min(Pointer temp) { - var _result = _meos_c.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_c.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_c.temporal_at_tstzset(temp, s); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_max(Pointer temp) { - var _result = _meos_c.temporal_minus_max(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_min(Pointer temp) { - var _result = _meos_c.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_c.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_c.temporal_minus_tstzset(temp, 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_cmp(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_cmp(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_eq(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_eq(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_ge(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_ge(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_gt(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_gt(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_le(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_le(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_lt(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_lt(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_ne(Pointer temp1, Pointer temp2) { - var _result = _meos_c.temporal_ne(temp1, temp2); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_ne_tbool_bool(Pointer temp, boolean b) { - var _result = _meos_c.always_ne_tbool_bool(temp, b); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ever_ne_int_tint(int i, Pointer temp) { - var _result = _meos_c.ever_ne_int_tint(i, temp); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_spans(Pointer temp, Pointer count) { - var _result = _meos_c.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_c.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_c.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_c.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_c.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_c.tnumber_tboxes(temp, count); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tbox_tnumber(Pointer box, Pointer temp) { - var _result = _meos_c.contains_tbox_tnumber(box, temp); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overlaps_temporal_temporal(temp1, temp2); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.same_temporal_tstzspan(temp, s); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.after_tnumber_tnumber(temp1, temp2); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.before_temporal_tstzspan(temp, s); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.before_tnumber_tnumber(temp1, temp2); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = _meos_c.overafter_tstzspan_temporal(s, temp); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = _meos_c.overbefore_temporal_tstzspan(temp, s); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tnumber_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.overbefore_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = _meos_c.overbefore_tnumber_tnumber(temp1, temp2); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_when_true(Pointer temp) { - var _result = _meos_c.tbool_when_true(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnot_tbool(Pointer temp) { - var _result = _meos_c.tnot_tbool(temp); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_derivative(Pointer temp) { - var _result = _meos_c.temporal_derivative(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_exp(Pointer temp) { - var _result = _meos_c.tfloat_exp(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_ln(Pointer temp) { - var _result = _meos_c.tfloat_ln(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_log10(Pointer temp) { - var _result = _meos_c.tfloat_log10(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_abs(Pointer temp) { - var _result = _meos_c.tnumber_abs(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_trend(Pointer temp) { - var _result = _meos_c.tnumber_trend(temp); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_angular_difference(Pointer temp) { - var _result = _meos_c.tnumber_angular_difference(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_delta_value(Pointer temp) { - var _result = _meos_c.tnumber_delta_value(temp); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_initcap(Pointer temp) { - var _result = _meos_c.ttext_initcap(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_upper(Pointer temp) { - var _result = _meos_c.ttext_upper(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_lower(Pointer temp) { - var _result = _meos_c.ttext_lower(temp); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tfloat_tbox(Pointer temp, Pointer box) { - var _result = _meos_c.nad_tfloat_tbox(temp, box); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_tagg_finalfn(Pointer state) { - var _result = _meos_c.temporal_tagg_finalfn(state); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_tavg_finalfn(Pointer state) { - var _result = _meos_c.tnumber_tavg_finalfn(state); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_from_geojson(String geojson) { - var _result = _meos_d.geo_from_geojson(geojson); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_out(Pointer gs) { - var _result = _meos_d.geo_out(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_from_binary(String wkb_bytea) { - var _result = _meos_d.geog_from_binary(wkb_bytea); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_from_hexewkb(String wkt) { - var _result = _meos_d.geog_from_hexewkb(wkt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_in(String str, int typmod) { - var _result = _meos_d.geog_in(str, typmod); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_from_hexewkb(String wkt) { - var _result = _meos_d.geom_from_hexewkb(wkt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_in(String str, int typmod) { - var _result = _meos_d.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_d.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_d.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_d.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_d.gbox_out(box, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_copy(Pointer g) { - var _result = _meos_d.geo_copy(g); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_to_geog(Pointer geom) { - var _result = _meos_d.geom_to_geog(geom); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_to_geom(Pointer geog) { - var _result = _meos_d.geog_to_geom(geog); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geo_is_empty(Pointer g) { - var _result = _meos_d.geo_is_empty(g); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geo_is_unitary(Pointer gs) { - var _result = _meos_d.geo_is_unitary(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_typename(int type) { - var _result = _meos_d.geo_typename(type); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static double geom_length(Pointer gs) { - var _result = _meos_d.geom_length(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geom_perimeter(Pointer gs) { - var _result = _meos_d.geom_perimeter(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int line_numpoints(Pointer gs) { - var _result = _meos_d.line_numpoints(gs); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_reverse(Pointer gs) { - var _result = _meos_d.geo_reverse(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_round(Pointer gs, int maxdd) { - var _result = _meos_d.geo_round(gs, maxdd); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_srid(Pointer gs) { - var _result = _meos_d.geo_srid(gs); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_num_points(Pointer gs) { - var _result = _meos_d.geo_num_points(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_num_geos(Pointer gs) { - var _result = _meos_d.geo_num_geos(gs); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_pointarr(Pointer gs, Pointer count) { - var _result = _meos_d.geo_pointarr(gs, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_points(Pointer gs) { - var _result = _meos_d.geo_points(gs); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_boundary(Pointer gs) { - var _result = _meos_d.geom_boundary(gs); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_centroid(Pointer gs) { - var _result = _meos_d.geom_centroid(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_convex_hull(Pointer gs) { - var _result = _meos_d.geom_convex_hull(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_difference2d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_difference2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_intersection2d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_intersection2d(gs1, gs2); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_shortestline2d(Pointer gs1, Pointer s2) { - var _result = _meos_d.geom_shortestline2d(gs1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_shortestline3d(Pointer gs1, Pointer s2) { - var _result = _meos_d.geom_shortestline3d(gs1, s2); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_contains(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_contains(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_covers(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_covers(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_disjoint2d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_disjoint2d(gs1, gs2); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_intersects2d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_intersects2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_intersects3d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.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_d.geom_relate_pattern(gs1, gs2, patt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_touches(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_touches(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_stboxes(Pointer gs, Pointer count) { - var _result = _meos_d.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_d.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_d.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_d.geog_distance(g1, g2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geom_distance2d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_distance2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geom_distance3d(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geom_distance3d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_equals(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geo_equals(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geo_same(Pointer gs1, Pointer gs2) { - var _result = _meos_d.geo_same(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geogset_in(String str) { - var _result = _meos_d.geogset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geomset_in(String str) { - var _result = _meos_d.geomset_in(str); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geoset_make(Pointer values, int count) { - var _result = _meos_d.geoset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_to_set(Pointer gs) { - var _result = _meos_d.geo_to_set(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geoset_end_value(Pointer s) { - var _result = _meos_d.geoset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geoset_start_value(Pointer s) { - var _result = _meos_d.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_d.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_d.geoset_values(s); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spatialset_srid(Pointer s) { - var _result = _meos_d.spatialset_srid(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spatialset_transform(Pointer s, int srid) { - var _result = _meos_d.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_d.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_d.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_d.stbox_as_wkb(box, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_from_hexwkb(String hexwkb) { - var _result = _meos_d.stbox_from_hexwkb(hexwkb); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_in(String str) { - var _result = _meos_d.stbox_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String stbox_out(Pointer box, int maxdd) { - var _result = _meos_d.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_d.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_d.geo_tstzspan_to_stbox(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_copy(Pointer box) { - var _result = _meos_d.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_d.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_d.geo_to_stbox(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spatialset_to_stbox(Pointer s) { - var _result = _meos_d.spatialset_to_stbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_box3d(Pointer box) { - var _result = _meos_d.stbox_to_box3d(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_gbox(Pointer box) { - var _result = _meos_d.stbox_to_gbox(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_geo(Pointer box) { - var _result = _meos_d.stbox_to_geo(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_tstzspan(Pointer box) { - var _result = _meos_d.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_d.timestamptz_to_stbox(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_to_stbox(Pointer s) { - var _result = _meos_d.tstzset_to_stbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_to_stbox(Pointer s) { - var _result = _meos_d.tstzspan_to_stbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_to_stbox(Pointer ss) { - var _result = _meos_d.tstzspanset_to_stbox(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double stbox_area(Pointer box, boolean spheroid) { - var _result = _meos_d.stbox_area(box, spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int stbox_hash(Pointer box) { - var _result = _meos_d.stbox_hash(box); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_hast(Pointer box) { - var _result = _meos_d.stbox_hast(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_hasx(Pointer box) { - var _result = _meos_d.stbox_hasx(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_hasz(Pointer box) { - var _result = _meos_d.stbox_hasz(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_isgeodetic(Pointer box) { - var _result = _meos_d.stbox_isgeodetic(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double stbox_perimeter(Pointer box, boolean spheroid) { - var _result = _meos_d.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_d.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_d.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_d.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_d.stbox_tmin_inc(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static double stbox_volume(Pointer box) { - var _result = _meos_d.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_d.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_d.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_d.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_d.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_d.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_d.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_d.stbox_expand_space(box, d); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_get_space(Pointer box) { - var _result = _meos_d.stbox_get_space(box); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_round(Pointer box, int maxdd) { - var _result = _meos_d.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_d.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_d.stboxarr_round(boxarr, count, maxdd); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int stbox_srid(Pointer box) { - var _result = _meos_d.stbox_srid(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_transform(Pointer box, int srid) { - var _result = _meos_d.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_d.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_d.adjacent_stbox_stbox(box1, box2); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overfront_stbox_stbox(Pointer box1, Pointer box2) { - var _result = _meos_d.overfront_stbox_stbox(box1, box2); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int stbox_cmp(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_cmp(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_eq(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_eq(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_ge(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_ge(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_gt(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_gt(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_le(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_le(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_lt(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_lt(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_ne(Pointer box1, Pointer box2) { - var _result = _meos_d.stbox_ne(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_from_mfjson(String str) { - var _result = _meos_d.tgeogpoint_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_in(String str) { - var _result = _meos_d.tgeogpoint_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_from_mfjson(String mfjson) { - var _result = _meos_d.tgeography_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_in(String str) { - var _result = _meos_d.tgeography_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_from_mfjson(String str) { - var _result = _meos_d.tgeometry_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_in(String str) { - var _result = _meos_d.tgeometry_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_from_mfjson(String str) { - var _result = _meos_d.tgeompoint_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_in(String str) { - var _result = _meos_d.tgeompoint_in(str); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tspatial_out(Pointer temp, int maxdd) { - var _result = _meos_d.tspatial_out(temp, maxdd); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer box3d_to_stbox(Pointer box) { - var _result = _meos_d.box3d_to_stbox(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer gbox_to_stbox(Pointer box) { - var _result = _meos_d.gbox_to_stbox(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geomeas_to_tpoint(Pointer gs) { - var _result = _meos_d.geomeas_to_tpoint(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_to_tgeography(Pointer temp) { - var _result = _meos_d.tgeogpoint_to_tgeography(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_to_tgeogpoint(Pointer temp) { - var _result = _meos_d.tgeography_to_tgeogpoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_to_tgeometry(Pointer temp) { - var _result = _meos_d.tgeography_to_tgeometry(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_to_tgeography(Pointer temp) { - var _result = _meos_d.tgeometry_to_tgeography(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_to_tgeompoint(Pointer temp) { - var _result = _meos_d.tgeometry_to_tgeompoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_to_tgeometry(Pointer temp) { - var _result = _meos_d.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_d.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_d.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_d.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_d.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_d.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_d.bearing_tpoint_tpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_centroid(Pointer temp) { - var _result = _meos_d.tgeo_centroid(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_convex_hull(Pointer temp) { - var _result = _meos_d.tgeo_convex_hull(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_end_value(Pointer temp) { - var _result = _meos_d.tgeo_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_start_value(Pointer temp) { - var _result = _meos_d.tgeo_start_value(temp); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return out ? new_result : null; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_values(Pointer temp, Pointer count) { - var _result = _meos_d.tgeo_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_angular_difference(Pointer temp) { - var _result = _meos_d.tpoint_angular_difference(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_azimuth(Pointer temp) { - var _result = _meos_d.tpoint_azimuth(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_cumulative_length(Pointer temp) { - var _result = _meos_d.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_d.tpoint_direction(temp, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_get_x(Pointer temp) { - var _result = _meos_d.tpoint_get_x(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_get_y(Pointer temp) { - var _result = _meos_d.tpoint_get_y(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_get_z(Pointer temp) { - var _result = _meos_d.tpoint_get_z(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tpoint_is_simple(Pointer temp) { - var _result = _meos_d.tpoint_is_simple(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tpoint_length(Pointer temp) { - var _result = _meos_d.tpoint_length(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_speed(Pointer temp) { - var _result = _meos_d.tpoint_speed(temp); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_twcentroid(Pointer temp) { - var _result = _meos_d.tpoint_twcentroid(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_affine(Pointer temp, Pointer a) { - var _result = _meos_d.tgeo_affine(temp, a); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tspatial_srid(Pointer temp) { - var _result = _meos_d.tspatial_srid(temp); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tspatial_transform(Pointer temp, int srid) { - var _result = _meos_d.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_d.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_d.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_d.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_d.tgeo_at_value(temp, gs); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_stboxes(Pointer temp, Pointer count) { - var _result = _meos_d.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_d.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_d.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_d.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_d.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_d.adjacent_stbox_tspatial(box, temp); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_stbox_tspatial(Pointer box, Pointer temp) { - var _result = _meos_d.after_stbox_tspatial(box, temp); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int atouches_tpoint_geo(Pointer temp, Pointer gs) { - var _result = _meos_d.atouches_tpoint_geo(temp, gs); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_tcentroid_finalfn(Pointer state) { - var _result = _meos_d.tpoint_tcentroid_finalfn(state); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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); - 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_d.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_d.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_d.geo_cluster_within(geoms, ngeoms, tolerance, count); - MeosErrorHandler.checkError(); - return _result; - } - -} 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..8cb3d193 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsParityGaps.java @@ -0,0 +1,1536 @@ +/***************************************************************************** + * + * 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 bigint_timestamptz_to_tbox} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer bigint_timestamptz_to_tbox(long arg0, java.time.OffsetDateTime arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bigint_timestamptz_to_tbox requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bigint_timestamptz_to_tbox(arg0, arg1); + } + + /** MEOS {@code bigint_to_tbox} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer bigint_to_tbox(long arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bigint_to_tbox requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bigint_to_tbox(arg0); + } + + /** MEOS {@code bigint_tstzspan_to_tbox} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer bigint_tstzspan_to_tbox(long arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bigint_tstzspan_to_tbox requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bigint_tstzspan_to_tbox(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 box3d_in} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer box3d_in(java.lang.String arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("box3d_in requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.box3d_in(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 gbox_in} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer gbox_in(java.lang.String arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("gbox_in requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.gbox_in(arg0); + } + + /** MEOS {@code geo_wlof} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geo_wlof(jnr.ffi.Pointer arg0, int arg1, int arg2, double arg3, jnr.ffi.Pointer arg4, jnr.ffi.Pointer arg5) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geo_wlof requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geo_wlof(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** 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_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 tboxbigint_xmax} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tboxbigint_xmax(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tboxbigint_xmax requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tboxbigint_xmax(arg0); + } + + /** MEOS {@code tboxbigint_xmin} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tboxbigint_xmin(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tboxbigint_xmin requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tboxbigint_xmin(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 jnr.ffi.Pointer tcbuffer_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + 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); + } + + /** 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_average_hausdorff_distance} — meos.h · scalar / stateless. */ + public static double temporal_average_hausdorff_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("temporal_average_hausdorff_distance requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.temporal_average_hausdorff_distance(arg0, arg1); + } + + /** 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_ext_kalman_filter} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer temporal_ext_kalman_filter(jnr.ffi.Pointer arg0, double arg1, double arg2, double arg3, boolean arg4) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("temporal_ext_kalman_filter requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.temporal_ext_kalman_filter(arg0, arg1, arg2, arg3, arg4); + } + + /** MEOS {@code temporal_instants_p} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer temporal_instants_p(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("temporal_instants_p requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.temporal_instants_p(arg0, arg1); + } + + /** MEOS {@code temporal_lcss_distance} — meos.h · scalar / stateless. */ + public static double temporal_lcss_distance(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("temporal_lcss_distance requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.temporal_lcss_distance(arg0, arg1, arg2); + } + + /** 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 jnr.ffi.Pointer tnpoint_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2) { + 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); + } + + /** 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/src/main/java/org/mobilitydb/meos/MeosSetSetJoin.java b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosSetSetJoin.java new file mode 100644 index 00000000..67c90481 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosSetSetJoin.java @@ -0,0 +1,151 @@ +/***************************************************************************** + * + * 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; +import jnr.ffi.Memory; +import jnr.ffi.Pointer; +import jnr.ffi.Runtime; + +import java.lang.ref.Reference; +import java.lang.reflect.Field; +import sun.misc.Unsafe; + +/** + * Shared set-set spatial-join helper over the MEOS {@code *_tgeoarr_tgeoarr} + * kernel family. It marshals two arrays of already-parsed temporal-geometry + * handles into the native pointer arrays the kernel prunes in C, then reads + * back the flattened {@code int*} pair list. The kernel pair indices are + * 0-based and returned verbatim (the array-language convention shared by every + * JVM binding); SQL-like surfaces add their own +1. + * + *

The input {@code Pointer[]} are MEOS-owned and remain owned by the caller + * (it frees them); this helper frees only what the kernel allocates. The native + * argument buffers are GC-managed and kept reachable across the native call via + * {@link Reference#reachabilityFence} — the documented fix for the set-set + * SIGSEGV under JVM GC pressure.

+ */ +public final class MeosSetSetJoin { + + private static final Unsafe UNSAFE; + static { + try { + Field f = Unsafe.class.getDeclaredField("theUnsafe"); + f.setAccessible(true); + UNSAFE = (Unsafe) f.get(null); + } catch (ReflectiveOperationException e) { + throw new ExceptionInInitializerError(e); + } + } + + private MeosSetSetJoin() { /* utility */ } + + /** Result of {@link #tDwithinPairs}: the 0-based index pairs and, per pair, + * the hex-WKB of the {@code tstzspanset} of times the pair is within distance. */ + public static final class TDwithin { + public final int[][] pairs; + public final String[] periodsHexwkb; + TDwithin(int[][] pairs, String[] periodsHexwkb) { + this.pairs = pairs; + this.periodsHexwkb = periodsHexwkb; + } + } + + /** Index pairs {@code {i,j}} (0-based) ever within {@code dist} of each other. */ + public static int[][] eDwithinPairs(Pointer[] a, Pointer[] b, double dist) { + if (a == null || b == null || a.length == 0 || b.length == 0) return new int[0][]; + Runtime rt = Runtime.getSystemRuntime(); + Pointer arr1 = marshal(a, rt), arr2 = marshal(b, rt); + Pointer countPtr = Memory.allocateDirect(rt, Integer.BYTES); + Pointer res = GeneratedFunctions.edwithin_tgeoarr_tgeoarr( + arr1, a.length, arr2, b.length, dist, countPtr); + Reference.reachabilityFence(arr1); + Reference.reachabilityFence(arr2); + return readPairsAndFree(res, countPtr.getInt(0)); + } + + /** Index pairs {@code {i,j}} (0-based) always spatially disjoint (never intersecting). */ + public static int[][] aDisjointPairs(Pointer[] a, Pointer[] b) { + if (a == null || b == null || a.length == 0 || b.length == 0) return new int[0][]; + Runtime rt = Runtime.getSystemRuntime(); + Pointer arr1 = marshal(a, rt), arr2 = marshal(b, rt); + Pointer countPtr = Memory.allocateDirect(rt, Integer.BYTES); + Pointer res = GeneratedFunctions.adisjoint_tgeoarr_tgeoarr( + arr1, a.length, arr2, b.length, countPtr); + Reference.reachabilityFence(arr1); + Reference.reachabilityFence(arr2); + return readPairsAndFree(res, countPtr.getInt(0)); + } + + /** Index pairs ever within {@code dist}, each with the {@code tstzspanset} of in-range times. */ + public static TDwithin tDwithinPairs(Pointer[] a, Pointer[] b, double dist) { + if (a == null || b == null || a.length == 0 || b.length == 0) + return new TDwithin(new int[0][], new String[0]); + Runtime rt = Runtime.getSystemRuntime(); + Pointer arr1 = marshal(a, rt), arr2 = marshal(b, rt); + Pointer countPtr = Memory.allocateDirect(rt, Integer.BYTES); + Pointer periodsPtr = Memory.allocateDirect(rt, Long.BYTES); + Pointer res = GeneratedFunctions.tdwithin_tgeoarr_tgeoarr( + arr1, a.length, arr2, b.length, dist, countPtr, periodsPtr); + Reference.reachabilityFence(arr1); + Reference.reachabilityFence(arr2); + int cnt = countPtr.getInt(0); + if (res == null || cnt == 0) return new TDwithin(new int[0][], new String[0]); + Pointer ssArr = periodsPtr.getPointer(0); + int[][] pairs = new int[cnt][2]; + String[] periods = new String[cnt]; + for (int k = 0; k < cnt; k++) { + pairs[k][0] = res.getInt((long) (2 * k) * Integer.BYTES); + pairs[k][1] = res.getInt((long) (2 * k + 1) * Integer.BYTES); + Pointer ss = ssArr == null ? null : ssArr.getPointer((long) k * Long.BYTES); + periods[k] = ss == null ? null : GeneratedFunctions.spanset_as_hexwkb(ss, (byte) 0); + free(ss); + } + free(ssArr); + free(res); + return new TDwithin(pairs, periods); + } + + private static Pointer marshal(Pointer[] xs, Runtime rt) { + Pointer buf = Memory.allocateDirect(rt, xs.length * Long.BYTES); + for (int i = 0; i < xs.length; i++) buf.putPointer((long) i * Long.BYTES, xs[i]); + return buf; + } + + private static int[][] readPairsAndFree(Pointer res, int cnt) { + if (res == null || cnt == 0) return new int[0][]; + int[][] out = new int[cnt][2]; + for (int k = 0; k < cnt; k++) { + out[k][0] = res.getInt((long) (2 * k) * Integer.BYTES); + out[k][1] = res.getInt((long) (2 * k + 1) * Integer.BYTES); + } + free(res); + return out; + } + + private static void free(Pointer p) { + if (p != null) UNSAFE.freeMemory(p.address()); + } +} diff --git a/jmeos-core/src/main/java/types/boxes/STBox.java b/jmeos-core/src/main/java/types/boxes/STBox.java index 22f3091c..cb54d74e 100644 --- a/jmeos-core/src/main/java/types/boxes/STBox.java +++ b/jmeos-core/src/main/java/types/boxes/STBox.java @@ -77,14 +77,12 @@ public STBox _get_box(Object other, boolean allow_space_only, boolean allow_time } else if (other instanceof TPoint) { other_box = new STBox(functions.tspatial_to_stbox(((TPoint)other).getPointInner())); } else if (allow_time_only) { - switch (other) { - case STBox st -> other_box = new STBox(st.get_inner()); - case tstzset p -> other_box = new STBox(functions.tstzset_to_stbox(p.get_inner())); - case tstzspan ps -> other_box = new STBox(functions.tstzspan_to_stbox(ps.get_inner())); - case Temporal t -> other_box = new STBox(functions.tstzset_to_stbox(functions.temporal_to_tstzspan(t.getInner()))); - case tstzspanset ts -> other_box = new STBox(functions.tstzspanset_to_stbox(ts.get_inner())); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof STBox st) other_box = new STBox(st.get_inner()); + else if (other instanceof tstzset p) other_box = new STBox(functions.tstzset_to_stbox(p.get_inner())); + else if (other instanceof tstzspan ps) other_box = new STBox(functions.tstzspan_to_stbox(ps.get_inner())); + else if (other instanceof Temporal t) other_box = new STBox(functions.tstzset_to_stbox(functions.temporal_to_tstzspan(t.getInner()))); + else if (other instanceof tstzspanset ts) other_box = new STBox(functions.tstzspanset_to_stbox(ts.get_inner())); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); } return other_box; } @@ -248,12 +246,10 @@ public static STBox from_geometry(Geometry geom) { */ public static STBox from_time(Time other) { STBox returnValue; - switch (other){ - case tstzset p -> returnValue = new STBox(functions.tstzset_to_stbox(p.get_inner())); - case tstzspan ps -> returnValue = new STBox(functions.tstzspan_to_stbox(ps.get_inner())); - case tstzspanset ts -> returnValue = new STBox(functions.tstzspanset_to_stbox(ts.get_inner())); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof tstzset p) returnValue = new STBox(functions.tstzset_to_stbox(p.get_inner())); + else if (other instanceof tstzspan ps) returnValue = new STBox(functions.tstzspan_to_stbox(ps.get_inner())); + else if (other instanceof tstzspanset ts) returnValue = new STBox(functions.tstzspanset_to_stbox(ts.get_inner())); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); return returnValue; } diff --git a/jmeos-core/src/main/java/types/collections/time/tstzset.java b/jmeos-core/src/main/java/types/collections/time/tstzset.java index 4c0e40c7..2ee7a269 100644 --- a/jmeos-core/src/main/java/types/collections/time/tstzset.java +++ b/jmeos-core/src/main/java/types/collections/time/tstzset.java @@ -333,13 +333,11 @@ >>> tstzset('{2012-01-01, 2012-01-02}').is_contained_in(tstzspan('(2012-01-01, 2 */ public boolean is_contained_in(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.contained_span_span(functions.set_to_span(this._inner), p.get_inner()); - case tstzspanset ps -> returnValue = functions.contained_spanset_spanset(functions.set_to_span(this._inner), ps.get_inner()); - case Temporal t -> returnValue = this.is_contained_in(t.time()); - case Box b -> returnValue = functions.contained_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); - default -> returnValue = super.is_contained_in((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.contained_span_span(functions.set_to_span(this._inner), p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.contained_spanset_spanset(functions.set_to_span(this._inner), ps.get_inner()); + else if (other instanceof Temporal t) returnValue = this.is_contained_in(t.time()); + else if (other instanceof Box b) returnValue = functions.contained_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); + else returnValue = super.is_contained_in((Base) other); return returnValue; } @@ -369,11 +367,9 @@ public boolean is_contained_in(TemporalObject other) throws Exception { */ public boolean contains(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzset ts -> returnValue = functions.contains_set_set(this._inner, ts.get_inner()); - case Temporal t -> returnValue = this.contains(t.time()); - default -> returnValue = super.contains((Base) other); - } + if (other instanceof tstzset ts) returnValue = functions.contains_set_set(this._inner, ts.get_inner()); + else if (other instanceof Temporal t) returnValue = this.contains(t.time()); + else returnValue = super.contains((Base) other); return returnValue; } @@ -403,13 +399,11 @@ >>> tstzset('{2012-01-01, 2012-01-02}').overlaps(tstzspan('(2012-01-02, 2012-01- */ public boolean overlaps(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.overlaps_span_span(functions.set_to_span(this._inner), p.get_inner()); - case tstzspanset ps -> returnValue = functions.overlaps_spanset_spanset(functions.set_to_spanset(this._inner), ps.get_inner()); - case tstzset ts -> returnValue = functions.overlaps_set_set(this._inner, ts.get_inner()); - case Box b -> returnValue = functions.overlaps_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); - default -> returnValue = super.overlaps((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.overlaps_span_span(functions.set_to_span(this._inner), p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.overlaps_spanset_spanset(functions.set_to_spanset(this._inner), ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.overlaps_set_set(this._inner, ts.get_inner()); + else if (other instanceof Box b) returnValue = functions.overlaps_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); + else returnValue = super.overlaps((Base) other); return returnValue; } @@ -461,14 +455,12 @@ public boolean is_same(Time other) throws Exception { */ public boolean is_after(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.right_span_span(functions.set_to_span(this._inner), p.get_inner()); - case tstzspanset ps -> returnValue = functions.right_span_spanset(functions.set_to_span(this._inner), ps.get_inner()); - case tstzset ts -> returnValue = functions.right_set_set(this._inner, ts.get_inner()); - case Temporal t -> returnValue = this.to_period().is_after(other); - case Box b -> returnValue = functions.right_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); - default -> returnValue = super.is_left((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.right_span_span(functions.set_to_span(this._inner), p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.right_span_spanset(functions.set_to_span(this._inner), ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.right_set_set(this._inner, ts.get_inner()); + else if (other instanceof Temporal t) returnValue = this.to_period().is_after(other); + else if (other instanceof Box b) returnValue = functions.right_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); + else returnValue = super.is_left((Base) other); return returnValue; } @@ -498,14 +490,12 @@ public boolean is_after(TemporalObject other) throws Exception { */ public boolean is_before(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.left_span_span(functions.set_to_span(this._inner), p.get_inner()); - case tstzspanset ps -> returnValue = functions.left_span_spanset(functions.set_to_span(this._inner), ps.get_inner()); - case tstzset ts -> returnValue = functions.left_set_set(this._inner, ts.get_inner()); - case Temporal t -> returnValue = this.to_period().is_before(other); - case Box b -> returnValue = functions.left_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); - default -> returnValue = super.is_left((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.left_span_span(functions.set_to_span(this._inner), p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.left_span_spanset(functions.set_to_span(this._inner), ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.left_set_set(this._inner, ts.get_inner()); + else if (other instanceof Temporal t) returnValue = this.to_period().is_before(other); + else if (other instanceof Box b) returnValue = functions.left_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); + else returnValue = super.is_left((Base) other); return returnValue; } @@ -534,14 +524,12 @@ public boolean is_before(TemporalObject other) throws Exception { */ public boolean is_over_or_after(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.overright_span_span(functions.set_to_span(this._inner), p.get_inner()); - case tstzspanset ps -> returnValue = functions.overright_span_spanset(functions.set_to_span(this._inner), ps.get_inner()); - case tstzset ts -> returnValue = functions.overright_set_set(this._inner, ts.get_inner()); - case Temporal t -> returnValue = this.to_period().is_over_or_after(other); - case Box b -> returnValue = functions.overright_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); - default -> returnValue = super.is_over_or_right((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.overright_span_span(functions.set_to_span(this._inner), p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.overright_span_spanset(functions.set_to_span(this._inner), ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.overright_set_set(this._inner, ts.get_inner()); + else if (other instanceof Temporal t) returnValue = this.to_period().is_over_or_after(other); + else if (other instanceof Box b) returnValue = functions.overright_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); + else returnValue = super.is_over_or_right((Base) other); return returnValue; } @@ -571,14 +559,12 @@ public boolean is_over_or_after(TemporalObject other) throws Exception { */ public boolean is_over_or_before(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.overleft_span_span(functions.set_to_span(this._inner), p.get_inner()); - case tstzspanset ps -> returnValue = functions.overleft_span_spanset(functions.set_to_span(this._inner), ps.get_inner()); - case tstzset ts -> returnValue = functions.overleft_set_set(this._inner, ts.get_inner()); - case Temporal t -> returnValue = this.to_period().is_over_or_before(other); - case Box b -> returnValue = functions.overleft_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); - default -> returnValue = super.is_over_or_left((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.overleft_span_span(functions.set_to_span(this._inner), p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.overleft_span_spanset(functions.set_to_span(this._inner), ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.overleft_set_set(this._inner, ts.get_inner()); + else if (other instanceof Temporal t) returnValue = this.to_period().is_over_or_before(other); + else if (other instanceof Box b) returnValue = functions.overleft_span_span(functions.set_to_span(this._inner), b.to_period().get_inner()); + else returnValue = super.is_over_or_left((Base) other); return returnValue; } @@ -650,14 +636,12 @@ public Duration distance(Object other) throws Exception { */ public Time intersection(TemporalObject other) throws Exception { Time returnValue = null; - switch (other) { - case tstzspan p -> returnValue = new tstzspanset(functions.intersection_spanset_span(functions.set_to_spanset(this._inner), p.get_inner())); - case tstzspanset ps -> returnValue = new tstzspanset(functions.intersection_spanset_spanset(functions.set_to_spanset(this._inner),ps.get_inner())); - case tstzset ts -> returnValue = new tstzset(functions.intersection_set_set(this._inner,ts.get_inner())); - case Temporal t -> returnValue = (Time) this.intersection(t.time()); - case Box b -> returnValue = (Time) this.intersection(b.to_period()); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof tstzspan p) returnValue = new tstzspanset(functions.intersection_spanset_span(functions.set_to_spanset(this._inner), p.get_inner())); + else if (other instanceof tstzspanset ps) returnValue = new tstzspanset(functions.intersection_spanset_spanset(functions.set_to_spanset(this._inner),ps.get_inner())); + else if (other instanceof tstzset ts) returnValue = new tstzset(functions.intersection_set_set(this._inner,ts.get_inner())); + else if (other instanceof Temporal t) returnValue = (Time) this.intersection(t.time()); + else if (other instanceof Box b) returnValue = (Time) this.intersection(b.to_period()); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); return returnValue; } @@ -696,14 +680,12 @@ public Time mul(TemporalObject other) throws Exception { */ public Time minus(TemporalObject other) throws Exception { Time returnValue = null; - switch (other) { - case tstzspan p -> returnValue = new tstzspanset(functions.minus_spanset_span(functions.set_to_spanset(this._inner), p.get_inner())); - case tstzspanset ps -> returnValue = new tstzspanset(functions.minus_spanset_spanset(functions.set_to_spanset(this._inner),ps.get_inner())); - case tstzset ts -> returnValue = new tstzset(functions.minus_set_set(this._inner,ts.get_inner())); - case Temporal t -> returnValue = (Time) this.minus(t.time()); - case Box b -> returnValue = (Time) this.minus(b.to_period()); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof tstzspan p) returnValue = new tstzspanset(functions.minus_spanset_span(functions.set_to_spanset(this._inner), p.get_inner())); + else if (other instanceof tstzspanset ps) returnValue = new tstzspanset(functions.minus_spanset_spanset(functions.set_to_spanset(this._inner),ps.get_inner())); + else if (other instanceof tstzset ts) returnValue = new tstzset(functions.minus_set_set(this._inner,ts.get_inner())); + else if (other instanceof Temporal t) returnValue = (Time) this.minus(t.time()); + else if (other instanceof Box b) returnValue = (Time) this.minus(b.to_period()); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); return returnValue; } @@ -743,14 +725,12 @@ public Time sub(Time other) throws Exception { */ public Time union(TemporalObject other) throws Exception { Time returnValue = null; - switch (other) { - case tstzspan p -> returnValue = new tstzspan(functions.union_spanset_span(functions.set_to_spanset(this._inner),p.get_inner())); - case tstzspanset ps -> returnValue = new tstzspanset(functions.union_spanset_spanset(functions.set_to_spanset(this._inner),ps.get_inner())); - case tstzset ts -> returnValue = new tstzset(functions.union_set_set(this._inner,ts.get_inner())); - case Temporal t -> returnValue = (Time) this.union(t.time()); - case Box b -> returnValue = (Time) this.union(b.to_period()); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof tstzspan p) returnValue = new tstzspan(functions.union_spanset_span(functions.set_to_spanset(this._inner),p.get_inner())); + else if (other instanceof tstzspanset ps) returnValue = new tstzspanset(functions.union_spanset_spanset(functions.set_to_spanset(this._inner),ps.get_inner())); + else if (other instanceof tstzset ts) returnValue = new tstzset(functions.union_set_set(this._inner,ts.get_inner())); + else if (other instanceof Temporal t) returnValue = (Time) this.union(t.time()); + else if (other instanceof Box b) returnValue = (Time) this.union(b.to_period()); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); return returnValue; } diff --git a/jmeos-core/src/main/java/types/collections/time/tstzspan.java b/jmeos-core/src/main/java/types/collections/time/tstzspan.java index 1cd72b46..603553e8 100644 --- a/jmeos-core/src/main/java/types/collections/time/tstzspan.java +++ b/jmeos-core/src/main/java/types/collections/time/tstzspan.java @@ -458,15 +458,12 @@ public long hash(){ */ public boolean is_adjacent(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.adjacent_span_span(this._inner, p.get_inner()); - case tstzspanset ps -> returnValue = functions.adjacent_spanset_span(ps.get_inner(), this._inner); - //case Time dt -> returnValue = functions.adjacent_period_timestamp(this._inner, ConversionUtils.datetimeToTimestampTz(dt)); - case tstzset ts -> returnValue = functions.adjacent_spanset_spanset(this._inner, functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = functions.adjacent_span_span(this._inner,functions.temporal_to_tstzspan(t.getInner())); - case Box b -> returnValue = functions.adjacent_span_span(this._inner, b.to_period().get_inner()); - default -> returnValue = super.is_adjacent((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.adjacent_span_span(this._inner, p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.adjacent_spanset_span(ps.get_inner(), this._inner); + else if (other instanceof tstzset ts) returnValue = functions.adjacent_spanset_spanset(this._inner, functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = functions.adjacent_span_span(this._inner,functions.temporal_to_tstzspan(t.getInner())); + else if (other instanceof Box b) returnValue = functions.adjacent_span_span(this._inner, b.to_period().get_inner()); + else returnValue = super.is_adjacent((Base) other); return returnValue; } @@ -495,13 +492,11 @@ public boolean is_adjacent(TemporalObject other) throws Exception { */ public boolean is_contained_in(TemporalObject other) throws Exception { boolean returnValue; - switch (other){ - case tstzspan p -> returnValue = functions.contained_span_span(this._inner,p.get_inner()); - case tstzspanset ps -> returnValue = functions.contained_span_spanset(this._inner,ps.get_inner()); - case Temporal t -> returnValue = this.is_contained_in((TemporalObject)t.period()); - case Box b -> returnValue = functions.contained_span_span(this._inner,b.to_period().get_inner()); - default -> returnValue = super.is_contained_in((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.contained_span_span(this._inner,p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.contained_span_spanset(this._inner,ps.get_inner()); + else if (other instanceof Temporal t) returnValue = this.is_contained_in((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.contained_span_span(this._inner,b.to_period().get_inner()); + else returnValue = super.is_contained_in((Base) other); return returnValue; } @@ -532,14 +527,12 @@ public boolean is_contained_in(TemporalObject other) throws Exception { */ public boolean contains(TemporalObject other) throws Exception { boolean returnValue; - switch (other){ - case tstzspan p -> returnValue = functions.contains_span_span(this._inner,p.get_inner()); - case tstzspanset ps -> returnValue = functions.contains_span_spanset(this._inner,ps.get_inner()); - case tstzset ts -> returnValue = functions.contains_span_span(this._inner,functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = contains((TemporalObject) t.period()); - case Box b -> returnValue = functions.contains_span_span(this._inner,b.to_period().get_inner()); - default -> returnValue = super.contains((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.contains_span_span(this._inner,p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.contains_span_spanset(this._inner,ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.contains_span_span(this._inner,functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = contains((TemporalObject) t.period()); + else if (other instanceof Box b) returnValue = functions.contains_span_span(this._inner,b.to_period().get_inner()); + else returnValue = super.contains((Base) other); return returnValue; } @@ -568,14 +561,12 @@ public boolean contains(TemporalObject other) throws Exception { */ public boolean overlaps(TemporalObject other) throws Exception { boolean returnValue; - switch (other){ - case tstzspan p -> returnValue = functions.overlaps_span_span(this._inner,p.get_inner()); - case tstzspanset ps -> returnValue = functions.overlaps_spanset_span(ps.get_inner(),this._inner); - case tstzset ts -> returnValue = functions.overlaps_span_span(this._inner,functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = this.overlaps((TemporalObject)t.period()); - case Box b -> returnValue = functions.overlaps_span_span(this._inner,b.to_period().get_inner()); - default -> returnValue = super.overlaps((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.overlaps_span_span(this._inner,p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.overlaps_spanset_span(ps.get_inner(),this._inner); + else if (other instanceof tstzset ts) returnValue = functions.overlaps_span_span(this._inner,functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = this.overlaps((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.overlaps_span_span(this._inner,b.to_period().get_inner()); + else returnValue = super.overlaps((Base) other); return returnValue; } @@ -597,14 +588,12 @@ public boolean overlaps(TemporalObject other) throws Exception { */ public boolean is_same(TemporalObject other) throws Exception { boolean returnValue; - switch (other){ - case tstzspan p -> returnValue = functions.span_eq(this._inner,p.get_inner()); - case tstzspanset ps -> returnValue = functions.span_eq(this._inner,functions.spanset_span(ps.get_inner())); - case tstzset ts -> returnValue = functions.span_eq(this._inner,functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = this.is_same((TemporalObject)t.period()); - case Box b -> returnValue = functions.span_eq(this._inner,b.to_period().get_inner()); - default -> returnValue = super.is_same((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.span_eq(this._inner,p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.span_eq(this._inner,functions.spanset_span(ps.get_inner())); + else if (other instanceof tstzset ts) returnValue = functions.span_eq(this._inner,functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = this.is_same((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.span_eq(this._inner,b.to_period().get_inner()); + else returnValue = super.is_same((Base) other); return returnValue; } @@ -638,14 +627,12 @@ public boolean is_same(TemporalObject other) throws Exception { */ public boolean is_before(TemporalObject other) throws Exception { boolean returnValue; - switch (other){ - case tstzspan p -> returnValue = functions.left_span_span(this._inner,p.get_inner()); - case tstzspanset ps -> returnValue = functions.left_span_spanset(this._inner,ps.get_inner()); - case tstzset ts -> returnValue = functions.left_span_span(this._inner,functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = is_before(t.period()); - case Box b -> returnValue = functions.left_span_span(this._inner,b.to_period().get_inner()); - default -> returnValue = super.is_left((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.left_span_span(this._inner,p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.left_span_spanset(this._inner,ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.left_span_span(this._inner,functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = is_before(t.period()); + else if (other instanceof Box b) returnValue = functions.left_span_span(this._inner,b.to_period().get_inner()); + else returnValue = super.is_left((Base) other); return returnValue; } @@ -676,14 +663,12 @@ public boolean is_before(TemporalObject other) throws Exception { */ public boolean is_over_or_before(TemporalObject other) throws Exception { boolean returnValue; - switch (other){ - case tstzspan p -> returnValue = functions.overleft_span_span(this._inner,p.get_inner()); - case tstzspanset ps -> returnValue = functions.overleft_span_spanset(this._inner,ps.get_inner()); - case tstzset ts -> returnValue = functions.overleft_span_span(this._inner,functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = is_over_or_before(t.period()); - case Box b -> returnValue = functions.overleft_span_span(this._inner,b.to_period().get_inner()); - default -> returnValue = super.is_over_or_left((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.overleft_span_span(this._inner,p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.overleft_span_spanset(this._inner,ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.overleft_span_span(this._inner,functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = is_over_or_before(t.period()); + else if (other instanceof Box b) returnValue = functions.overleft_span_span(this._inner,b.to_period().get_inner()); + else returnValue = super.is_over_or_left((Base) other); return returnValue; } @@ -713,14 +698,12 @@ public boolean is_over_or_before(TemporalObject other) throws Exception { */ public boolean is_after(TemporalObject other) throws Exception { boolean returnValue; - switch (other){ - case tstzspan p -> returnValue = functions.right_span_span(this._inner,p.get_inner()); - case tstzspanset ps -> returnValue = functions.right_span_spanset(this._inner,ps.get_inner()); - case tstzset ts -> returnValue = functions.right_span_span(this._inner,functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = is_after(t.period()); - case Box b -> returnValue = functions.right_span_span(this._inner,b.to_period().get_inner()); - default -> returnValue = super.is_right((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.right_span_span(this._inner,p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.right_span_spanset(this._inner,ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.right_span_span(this._inner,functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = is_after(t.period()); + else if (other instanceof Box b) returnValue = functions.right_span_span(this._inner,b.to_period().get_inner()); + else returnValue = super.is_right((Base) other); return returnValue; } @@ -753,14 +736,12 @@ public boolean is_after(TemporalObject other) throws Exception { */ public boolean is_over_or_after(TemporalObject other) throws Exception { boolean returnValue; - switch (other){ - case tstzspan p -> returnValue = functions.overright_span_span(this._inner,p.get_inner()); - case tstzspanset ps -> returnValue = functions.overright_span_spanset(this._inner,ps.get_inner()); - case tstzset ts -> returnValue = functions.overright_span_span(this._inner,functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = is_over_or_after(t.period()); - case Box b -> returnValue = functions.overright_span_span(this._inner,b.to_period().get_inner()); - default -> returnValue = super.is_over_or_right((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.overright_span_span(this._inner,p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.overright_span_spanset(this._inner,ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.overright_span_span(this._inner,functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = is_over_or_after(t.period()); + else if (other instanceof Box b) returnValue = functions.overright_span_span(this._inner,b.to_period().get_inner()); + else returnValue = super.is_over_or_right((Base) other); return returnValue; } @@ -786,13 +767,11 @@ public boolean is_over_or_after(TemporalObject other) throws Exception { */ public double distance(TemporalObject other) throws Exception { double returnValue; - switch (other){ - case tstzspan p -> returnValue = functions.distance_tstzspan_tstzspan(this._inner,p.get_inner()); - case tstzspanset ps -> returnValue = functions.distance_tstzspanset_tstzspan(ps.get_inner(),this._inner); - case tstzset ts -> returnValue = ts.to_span().distance(other); - case Box b -> returnValue = functions.distance_tstzspan_tstzspan(this._inner, b.to_period().get_inner()); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof tstzspan p) returnValue = functions.distance_tstzspan_tstzspan(this._inner,p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.distance_tstzspanset_tstzspan(ps.get_inner(),this._inner); + else if (other instanceof tstzset ts) returnValue = ts.to_span().distance(other); + else if (other instanceof Box b) returnValue = functions.distance_tstzspan_tstzspan(this._inner, b.to_period().get_inner()); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); return returnValue; } @@ -816,12 +795,10 @@ public double distance(TemporalObject other) throws Exception { */ public Time intersection(TemporalObject other) throws Exception { Time returnValue = null; - switch (other){ - case tstzspan p -> returnValue = new tstzspan(functions.intersection_span_span(this._inner,p.get_inner())); - case tstzspanset ps -> returnValue = new tstzspanset(functions.intersection_spanset_span(ps.get_inner(), this._inner)); - case tstzset ts -> returnValue = new tstzset(functions.intersection_spanset_span(functions.set_to_spanset(ts.get_inner()),this._inner)); - default -> returnValue = (Time) new Exception("Operation not supported with this type"); - } + if (other instanceof tstzspan p) returnValue = new tstzspan(functions.intersection_span_span(this._inner,p.get_inner())); + else if (other instanceof tstzspanset ps) returnValue = new tstzspanset(functions.intersection_spanset_span(ps.get_inner(), this._inner)); + else if (other instanceof tstzset ts) returnValue = new tstzset(functions.intersection_spanset_span(functions.set_to_spanset(ts.get_inner()),this._inner)); + else returnValue = (Time) new Exception("Operation not supported with this type"); return returnValue; } @@ -862,12 +839,10 @@ public Time mul(Time other) throws Exception { */ public tstzspanset minus(Time other) { tstzspanset returnValue; - switch (other){ - case tstzspan p -> returnValue = new tstzspanset(functions.minus_span_span(this._inner,p.get_inner())); - case tstzspanset ps -> returnValue = new tstzspanset(functions.minus_span_spanset(this._inner,ps.get_inner())); - case tstzset ts -> returnValue = new tstzspanset(functions.minus_span_spanset(this._inner,functions.set_to_spanset(ts.get_inner()))); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof tstzspan p) returnValue = new tstzspanset(functions.minus_span_span(this._inner,p.get_inner())); + else if (other instanceof tstzspanset ps) returnValue = new tstzspanset(functions.minus_span_spanset(this._inner,ps.get_inner())); + else if (other instanceof tstzset ts) returnValue = new tstzspanset(functions.minus_span_spanset(this._inner,functions.set_to_spanset(ts.get_inner()))); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); return returnValue; } @@ -908,12 +883,10 @@ public tstzspanset sub(Time other) { */ public tstzspanset union(Time other) { tstzspanset returnValue; - switch (other){ - case tstzspan p -> returnValue = new tstzspanset(functions.union_span_span(this._inner,p.get_inner())); - case tstzspanset ps -> returnValue = new tstzspanset(functions.union_spanset_span(ps.get_inner(),this._inner)); - case tstzset ts -> returnValue = new tstzspanset(functions.union_spanset_span(functions.set_to_spanset(ts.get_inner()),this._inner)); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof tstzspan p) returnValue = new tstzspanset(functions.union_span_span(this._inner,p.get_inner())); + else if (other instanceof tstzspanset ps) returnValue = new tstzspanset(functions.union_spanset_span(ps.get_inner(),this._inner)); + else if (other instanceof tstzset ts) returnValue = new tstzspanset(functions.union_spanset_span(functions.set_to_spanset(ts.get_inner()),this._inner)); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); return returnValue; } diff --git a/jmeos-core/src/main/java/types/collections/time/tstzspanset.java b/jmeos-core/src/main/java/types/collections/time/tstzspanset.java index abae5e2d..efc3bb51 100644 --- a/jmeos-core/src/main/java/types/collections/time/tstzspanset.java +++ b/jmeos-core/src/main/java/types/collections/time/tstzspanset.java @@ -334,14 +334,12 @@ public long hash(){ */ public boolean is_adjacent(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.adjacent_spanset_span(this._inner, p.get_inner()); - case tstzspanset ps -> returnValue = functions.adjacent_spanset_spanset(this._inner, ps.get_inner()); - case tstzset ts -> returnValue = functions.adjacent_spanset_spanset(this._inner, functions.set_to_spanset(ts.get_inner())); - case Temporal t -> returnValue = is_adjacent((TemporalObject)t.period()); - case Box b -> returnValue = functions.adjacent_spanset_span(this._inner, b.to_period().get_inner()); - default -> returnValue = super.is_adjacent((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.adjacent_spanset_span(this._inner, p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.adjacent_spanset_spanset(this._inner, ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.adjacent_spanset_spanset(this._inner, functions.set_to_spanset(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = is_adjacent((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.adjacent_spanset_span(this._inner, b.to_period().get_inner()); + else returnValue = super.is_adjacent((Base) other); return returnValue; } @@ -368,13 +366,11 @@ public boolean is_adjacent(TemporalObject other) throws Exception { */ public boolean is_contained_in(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.contained_spanset_span(this._inner, p.get_inner()); - case tstzspanset ps -> returnValue = functions.contained_spanset_spanset(this._inner, ps.get_inner()); - case Temporal t -> returnValue = is_contained_in((TemporalObject)t.period()); - case Box b -> returnValue = functions.contained_spanset_span(this._inner, b.to_period().get_inner()); - default -> returnValue = super.is_contained_in((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.contained_spanset_span(this._inner, p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.contained_spanset_spanset(this._inner, ps.get_inner()); + else if (other instanceof Temporal t) returnValue = is_contained_in((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.contained_spanset_span(this._inner, b.to_period().get_inner()); + else returnValue = super.is_contained_in((Base) other); return returnValue; } @@ -402,14 +398,12 @@ public boolean is_contained_in(TemporalObject other) throws Exception { */ public boolean contains(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.contains_spanset_span(this._inner, p.get_inner()); - case tstzspanset ps -> returnValue = functions.contains_spanset_spanset(this._inner, ps.get_inner()); - case tstzset ts -> returnValue = functions.contains_spanset_spanset(this._inner, functions.set_to_spanset(ts.get_inner())); - case Temporal t -> returnValue = contains((TemporalObject)t.period()); - case Box b -> returnValue = functions.contains_spanset_span(this._inner, b.to_period().get_inner()); - default -> returnValue = super.contains((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.contains_spanset_span(this._inner, p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.contains_spanset_spanset(this._inner, ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.contains_spanset_spanset(this._inner, functions.set_to_spanset(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = contains((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.contains_spanset_span(this._inner, b.to_period().get_inner()); + else returnValue = super.contains((Base) other); return returnValue; } @@ -435,14 +429,12 @@ public boolean contains(TemporalObject other) throws Exception { */ public boolean overlaps(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.overlaps_spanset_span(this._inner, p.get_inner()); - case tstzspanset ps -> returnValue = functions.overlaps_spanset_spanset(this._inner, ps.get_inner()); - case tstzset ts -> returnValue = functions.overlaps_spanset_spanset(this._inner, functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = overlaps((TemporalObject)t.period()); - case Box b -> returnValue = functions.overlaps_spanset_span(this._inner, b.to_period().get_inner()); - default -> returnValue = super.overlaps((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.overlaps_spanset_span(this._inner, p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.overlaps_spanset_spanset(this._inner, ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.overlaps_spanset_spanset(this._inner, functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = overlaps((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.overlaps_spanset_span(this._inner, b.to_period().get_inner()); + else returnValue = super.overlaps((Base) other); return returnValue; } @@ -487,14 +479,12 @@ public boolean is_same(TemporalObject other) throws Exception { */ public boolean is_before(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.left_spanset_span(this._inner, p.get_inner()); - case tstzspanset ps -> returnValue = functions.left_spanset_spanset(this._inner, ps.get_inner()); - case tstzset ts -> returnValue = functions.left_spanset_spanset(this._inner, functions.set_to_spanset(ts.get_inner())); - case Temporal t -> returnValue = is_before((TemporalObject)t.period()); - case Box b -> returnValue = functions.left_spanset_span(this._inner, b.to_period().get_inner()); - default -> returnValue = super.is_left((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.left_spanset_span(this._inner, p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.left_spanset_spanset(this._inner, ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.left_spanset_spanset(this._inner, functions.set_to_spanset(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = is_before((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.left_spanset_span(this._inner, b.to_period().get_inner()); + else returnValue = super.is_left((Base) other); return returnValue; } @@ -525,14 +515,12 @@ public boolean is_before(TemporalObject other) throws Exception { */ public boolean is_over_or_before(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.overleft_spanset_span(this._inner, p.get_inner()); - case tstzspanset ps -> returnValue = functions.overleft_spanset_spanset(this._inner, ps.get_inner()); - case tstzset ts -> returnValue = functions.overleft_spanset_span(this._inner, functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = is_over_or_before((TemporalObject)t.period()); - case Box b -> returnValue = functions.overleft_spanset_span(this._inner, b.to_period().get_inner()); - default -> returnValue = super.is_over_or_left((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.overleft_spanset_span(this._inner, p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.overleft_spanset_spanset(this._inner, ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.overleft_spanset_span(this._inner, functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = is_over_or_before((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.overleft_spanset_span(this._inner, b.to_period().get_inner()); + else returnValue = super.is_over_or_left((Base) other); return returnValue; } @@ -559,14 +547,12 @@ public boolean is_over_or_before(TemporalObject other) throws Exception { */ public boolean is_after(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.right_spanset_span(this._inner, p.get_inner()); - case tstzspanset ps -> returnValue = functions.right_spanset_spanset(this._inner, ps.get_inner()); - case tstzset ts -> returnValue = functions.right_spanset_span(this._inner, functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = is_after((TemporalObject)t.period()); - case Box b -> returnValue = functions.right_spanset_span(this._inner, b.to_period().get_inner()); - default -> returnValue = super.is_right((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.right_spanset_span(this._inner, p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.right_spanset_spanset(this._inner, ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.right_spanset_span(this._inner, functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = is_after((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.right_spanset_span(this._inner, b.to_period().get_inner()); + else returnValue = super.is_right((Base) other); return returnValue; } @@ -595,14 +581,12 @@ public boolean is_after(TemporalObject other) throws Exception { */ public boolean is_over_or_after(TemporalObject other) throws Exception { boolean returnValue; - switch (other) { - case tstzspan p -> returnValue = functions.overright_spanset_span(this._inner, p.get_inner()); - case tstzspanset ps -> returnValue = functions.overright_spanset_spanset(this._inner, ps.get_inner()); - case tstzset ts -> returnValue = functions.overright_spanset_span(this._inner, functions.set_to_span(ts.get_inner())); - case Temporal t -> returnValue = is_over_or_after((TemporalObject)t.period()); - case Box b -> returnValue = functions.overright_spanset_span(this._inner, b.to_period().get_inner()); - default -> returnValue = super.is_over_or_right((Base) other); - } + if (other instanceof tstzspan p) returnValue = functions.overright_spanset_span(this._inner, p.get_inner()); + else if (other instanceof tstzspanset ps) returnValue = functions.overright_spanset_spanset(this._inner, ps.get_inner()); + else if (other instanceof tstzset ts) returnValue = functions.overright_spanset_span(this._inner, functions.set_to_span(ts.get_inner())); + else if (other instanceof Temporal t) returnValue = is_over_or_after((TemporalObject)t.period()); + else if (other instanceof Box b) returnValue = functions.overright_spanset_span(this._inner, b.to_period().get_inner()); + else returnValue = super.is_over_or_right((Base) other); return returnValue; } @@ -626,12 +610,10 @@ public boolean is_over_or_after(TemporalObject other) throws Exception { */ public Time intersection(Time other) { Time returnValue; - switch (other) { - case tstzspan p -> returnValue = new tstzspan(functions.intersection_spanset_span(this._inner,p.get_inner())); - case tstzspanset ps -> returnValue = new tstzspan(functions.intersection_spanset_spanset(this._inner,ps.get_inner())); - case tstzset ts -> returnValue = new tstzspan(functions.intersection_spanset_spanset(this._inner,functions.set_to_spanset(ts.get_inner()))); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof tstzspan p) returnValue = new tstzspan(functions.intersection_spanset_span(this._inner,p.get_inner())); + else if (other instanceof tstzspanset ps) returnValue = new tstzspan(functions.intersection_spanset_spanset(this._inner,ps.get_inner())); + else if (other instanceof tstzset ts) returnValue = new tstzspan(functions.intersection_spanset_spanset(this._inner,functions.set_to_spanset(ts.get_inner()))); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); return returnValue; } @@ -667,12 +649,10 @@ public Time mul(Time other) { */ public tstzspanset minus(Time other) { tstzspanset returnValue; - switch (other) { - case tstzspan p -> returnValue = new tstzspanset(functions.minus_spanset_span(this._inner,p.get_inner())); - case tstzspanset ps -> returnValue = new tstzspanset(functions.minus_spanset_spanset(this._inner,ps.get_inner())); - case tstzset ts -> returnValue = new tstzspanset(functions.minus_spanset_spanset(this._inner,functions.set_to_spanset(ts.get_inner()))); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof tstzspan p) returnValue = new tstzspanset(functions.minus_spanset_span(this._inner,p.get_inner())); + else if (other instanceof tstzspanset ps) returnValue = new tstzspanset(functions.minus_spanset_spanset(this._inner,ps.get_inner())); + else if (other instanceof tstzset ts) returnValue = new tstzspanset(functions.minus_spanset_spanset(this._inner,functions.set_to_spanset(ts.get_inner()))); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); return returnValue; } @@ -710,12 +690,10 @@ public tstzspanset sub(Time other) { */ public tstzspanset union(Time other) { tstzspanset returnValue; - switch (other) { - case tstzspan p -> returnValue = new tstzspanset(functions.union_spanset_span(this._inner,p.get_inner())); - case tstzspanset ps -> returnValue = new tstzspanset(functions.union_spanset_spanset(this._inner,ps.get_inner())); - case tstzset ts -> returnValue = new tstzspanset(functions.union_spanset_spanset(this._inner,functions.set_to_spanset(ts.get_inner()))); - default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); - } + if (other instanceof tstzspan p) returnValue = new tstzspanset(functions.union_spanset_span(this._inner,p.get_inner())); + else if (other instanceof tstzspanset ps) returnValue = new tstzspanset(functions.union_spanset_spanset(this._inner,ps.get_inner())); + else if (other instanceof tstzset ts) returnValue = new tstzspanset(functions.union_spanset_spanset(this._inner,functions.set_to_spanset(ts.get_inner()))); + else throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); return returnValue; } diff --git a/jmeos-core/src/main/resources/lib/libmeos.so b/jmeos-core/src/main/resources/lib/libmeos.so index 9cc9bdbd..24ebd35a 100644 Binary files a/jmeos-core/src/main/resources/lib/libmeos.so and b/jmeos-core/src/main/resources/lib/libmeos.so differ diff --git a/jmeos-core/src/test/java/org/mobilitydb/meos/MeosSetSetJoinTest.java b/jmeos-core/src/test/java/org/mobilitydb/meos/MeosSetSetJoinTest.java new file mode 100644 index 00000000..d7d63182 --- /dev/null +++ b/jmeos-core/src/test/java/org/mobilitydb/meos/MeosSetSetJoinTest.java @@ -0,0 +1,51 @@ +package org.mobilitydb.meos; + +import functions.GeneratedFunctions; +import jnr.ffi.Pointer; +import org.junit.jupiter.api.AfterAll; +import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.EnabledIfSystemProperty; + +import java.util.Arrays; + +import static org.junit.jupiter.api.Assertions.*; + +/** + * Verifies the shared set-set spatial-join helper against libmeos. Requires a + * libmeos that exports the {@code *_tgeoarr_tgeoarr} family, so it runs only + * with {@code -Dmeos.setset.enabled=true} (set where such a build is on the + * library path). + */ +@EnabledIfSystemProperty(named = "meos.setset.enabled", matches = "true") +class MeosSetSetJoinTest { + + @BeforeAll static void init() { GeneratedFunctions.meos_initialize(); } + @AfterAll static void fini() { GeneratedFunctions.meos_finalize(); } + + private static Pointer[] tgeo(String... lits) { + Pointer[] a = new Pointer[lits.length]; + for (int i = 0; i < lits.length; i++) a[i] = GeneratedFunctions.tgeompoint_in(lits[i]); + return a; + } + + @Test + void setSetSpatialJoin() { + // A[0] and B[0] coincide at (0,0); the rest are far apart. + Pointer[] a = tgeo("POINT(0 0)@2000-01-01", "POINT(10 10)@2000-01-01"); + Pointer[] b = tgeo("POINT(0 0)@2000-01-01", "POINT(100 100)@2000-01-01"); + + int[][] within = MeosSetSetJoin.eDwithinPairs(a, b, 1.0); + assertArrayEquals(new int[]{0, 0}, within[0]); + assertEquals(1, within.length, "only the coincident pair is ever within 1m"); + + int[][] disjoint = MeosSetSetJoin.aDisjointPairs(a, b); + assertEquals(3, disjoint.length, "every pair but the coincident one is always disjoint"); + assertTrue(Arrays.stream(disjoint).noneMatch(p -> p[0] == 0 && p[1] == 0)); + + MeosSetSetJoin.TDwithin t = MeosSetSetJoin.tDwithinPairs(a, b, 1.0); + assertEquals(1, t.pairs.length); + assertArrayEquals(new int[]{0, 0}, t.pairs[0]); + assertNotNull(t.periodsHexwkb[0], "in-range period spanset is returned"); + } +} 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()