diff --git a/.gitignore b/.gitignore index 2c4094815..8aa6d22e9 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 63196ca26..adf19d3eb 100644 --- a/codegen/input/meos-idl.json +++ b/codegen/input/meos-idl.json @@ -1,8 +1,225 @@ { "functions": [ + { + "name": "meos_error", + "file": "meos_error.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "errlevel", + "cType": "int", + "canonical": "int" + }, + { + "name": "errcode", + "cType": "int", + "canonical": "int" + }, + { + "name": "format", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "meos_errno", + "file": "meos_error.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [] + }, + { + "name": "meos_errno_set", + "file": "meos_error.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "err", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "meos_errno_restore", + "file": "meos_error.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "err", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "meos_errno_reset", + "file": "meos_error.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [] + }, + { + "name": "meos_array_create", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "MeosArray *", + "canonical": "struct MeosArray *" + }, + "params": [ + { + "name": "elem_size", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "meos_array_add", + "file": "meos.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "array", + "cType": "const MeosArray *", + "canonical": "const struct MeosArray *" + } + ] + }, + { + "name": "meos_array_reset", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "array", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + } + ] + }, + { + "name": "meos_array_reset_free", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "array", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + } + ] + }, + { + "name": "meos_array_destroy", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "array", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + } + ] + }, + { + "name": "meos_array_destroy_free", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "array", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" + } + ] + }, { "name": "rtree_create_intspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "RTree *", "canonical": "struct RTree *" @@ -12,6 +229,7 @@ { "name": "rtree_create_bigintspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "RTree *", "canonical": "struct RTree *" @@ -21,6 +239,7 @@ { "name": "rtree_create_floatspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "RTree *", "canonical": "struct RTree *" @@ -30,6 +249,7 @@ { "name": "rtree_create_datespan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "RTree *", "canonical": "struct RTree *" @@ -39,6 +259,7 @@ { "name": "rtree_create_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "RTree *", "canonical": "struct RTree *" @@ -48,6 +269,7 @@ { "name": "rtree_create_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "RTree *", "canonical": "struct RTree *" @@ -57,6 +279,7 @@ { "name": "rtree_create_stbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "RTree *", "canonical": "struct RTree *" @@ -66,6 +289,7 @@ { "name": "rtree_free", "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" @@ -81,6 +305,7 @@ { "name": "rtree_insert", "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" @@ -106,6 +331,33 @@ { "name": "rtree_insert_temporal", "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "rtree", + "cType": "RTree *", + "canonical": "struct RTree *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "id", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "rtree_insert_temporal_split", + "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" @@ -119,21 +371,27 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "id", "cType": "int", "canonical": "int" + }, + { + "name": "maxboxes", + "cType": "int", + "canonical": "int" } ] }, { "name": "rtree_search", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -152,18 +410,19 @@ "canonical": "const void *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" } ] }, { "name": "rtree_search_temporal", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "int", + "canonical": "int" }, "params": [ { @@ -179,91 +438,107 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "result", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" } ] }, { - "name": "meos_error", + "name": "rtree_search_temporal_dedup", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "void", - "canonical": "void" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "errlevel", - "cType": "int", - "canonical": "int" + "name": "rtree", + "cType": "const RTree *", + "canonical": "const struct RTree *" }, { - "name": "errcode", + "name": "op", + "cType": "RTreeSearchOp", + "canonical": "RTreeSearchOp" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "maxboxes", "cType": "int", "canonical": "int" }, { - "name": "format", - "cType": "const char *", - "canonical": "const char *" + "name": "result", + "cType": "MeosArray *", + "canonical": "struct MeosArray *" } ] }, { - "name": "meos_errno", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [] - }, - { - "name": "meos_errno_set", + "name": "meos_initialize_error_handler", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "err", - "cType": "int", - "canonical": "int" + "name": "err_handler", + "cType": "error_handler_fn", + "canonical": "void (*)(int, int, const char *)" } ] }, { - "name": "meos_errno_restore", + "name": "meos_initialize_allocator", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [ { - "name": "err", - "cType": "int", - "canonical": "int" + "name": "malloc_fn", + "cType": "meos_malloc_fn", + "canonical": "void *(*)(int)" + }, + { + "name": "realloc_fn", + "cType": "meos_realloc_fn", + "canonical": "void *(*)(void *, int)" + }, + { + "name": "free_fn", + "cType": "meos_free_fn", + "canonical": "void (*)(void *)" } ] }, { - "name": "meos_errno_reset", + "name": "meos_initialize_noexit_error_handler", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int", - "canonical": "int" + "c": "void", + "canonical": "void" }, "params": [] }, { "name": "meos_initialize_timezone", "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" @@ -277,23 +552,29 @@ ] }, { - "name": "meos_initialize_error_handler", + "name": "meos_initialize_collation", "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" }, - "params": [ - { - "name": "err_handler", - "cType": "error_handler_fn", - "canonical": "void (*)(int, int, const char *)" - } - ] + "params": [] }, { "name": "meos_finalize_timezone", "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [] + }, + { + "name": "meos_finalize_collation", + "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" @@ -303,6 +584,7 @@ { "name": "meos_finalize_projsrs", "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" @@ -312,6 +594,7 @@ { "name": "meos_finalize_ways", "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" @@ -321,6 +604,7 @@ { "name": "meos_set_datestyle", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -341,6 +625,7 @@ { "name": "meos_set_intervalstyle", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -361,6 +646,7 @@ { "name": "meos_get_datestyle", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -370,6 +656,7 @@ { "name": "meos_get_intervalstyle", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -379,6 +666,23 @@ { "name": "meos_set_spatial_ref_sys_csv", "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "path", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "meos_set_ways_csv", + "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" @@ -394,6 +698,7 @@ { "name": "meos_initialize", "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" @@ -403,6 +708,7 @@ { "name": "meos_finalize", "file": "meos.h", + "family": "CORE", "returnType": { "c": "void", "canonical": "void" @@ -410,71 +716,65 @@ "params": [] }, { - "name": "add_date_int", + "name": "bigintset_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "DateADT", - "canonical": "int" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "days", - "cType": "int32", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "add_interval_interval", + "name": "bigintset_out", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "interv1", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "interv2", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" } ] }, { - "name": "add_timestamptz_interval", + "name": "bigintspan_expand", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "TimestampTz", - "canonical": "long" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "value", + "cType": "int64_t", + "canonical": "int64_t" } ] }, { - "name": "bool_in", + "name": "bigintspan_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { @@ -485,26 +785,28 @@ ] }, { - "name": "bool_out", + "name": "bigintspan_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" }, "params": [ { - "name": "b", - "cType": "bool", - "canonical": "bool" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "cstring2text", + "name": "bigintspanset_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { @@ -515,311 +817,256 @@ ] }, { - "name": "date_to_timestamp", + "name": "bigintspanset_out", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Timestamp", - "canonical": "long" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "dateVal", - "cType": "DateADT", - "canonical": "int" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "date_to_timestamptz", + "name": "dateset_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "TimestampTz", - "canonical": "long" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "d", - "cType": "DateADT", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "float_exp", + "name": "dateset_out", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "double", - "canonical": "double" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "d", - "cType": "double", - "canonical": "double" + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" } ] }, { - "name": "float_ln", + "name": "datespan_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "double", - "canonical": "double" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "d", - "cType": "double", - "canonical": "double" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "float_log10", + "name": "datespan_out", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "double", - "canonical": "double" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "d", - "cType": "double", - "canonical": "double" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "float8_out", + "name": "datespanset_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "float_round", + "name": "datespanset_out", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "double", - "canonical": "double" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "d", - "cType": "double", - "canonical": "double" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "int32_cmp", + "name": "floatset_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int", - "canonical": "int" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "l", - "cType": "int32", - "canonical": "int" - }, - { - "name": "r", - "cType": "int32", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "int64_cmp", + "name": "floatset_out", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int", - "canonical": "int" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "l", - "cType": "int64", - "canonical": "long" + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" }, { - "name": "r", - "cType": "int64", - "canonical": "long" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "interval_make", + "name": "floatspan_expand", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "years", - "cType": "int32", - "canonical": "int" - }, - { - "name": "months", - "cType": "int32", - "canonical": "int" - }, - { - "name": "weeks", - "cType": "int32", - "canonical": "int" - }, - { - "name": "days", - "cType": "int32", - "canonical": "int" - }, - { - "name": "hours", - "cType": "int32", - "canonical": "int" - }, - { - "name": "mins", - "cType": "int32", - "canonical": "int" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "secs", + "name": "value", "cType": "double", "canonical": "double" } ] }, { - "name": "minus_date_date", + "name": "floatspan_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int", - "canonical": "int" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "d1", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "d2", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "minus_date_int", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "days", - "cType": "int32", - "canonical": "int" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "minus_timestamptz_interval", + "name": "floatspan_out", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "TimestampTz", - "canonical": "long" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "minus_timestamptz_timestamptz", + "name": "floatspanset_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "t1", - "cType": "TimestampTz", - "canonical": "long" - }, - { - "name": "t2", - "cType": "TimestampTz", - "canonical": "long" + "name": "str", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "mul_interval_double", + "name": "floatspanset_out", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "char *", + "canonical": "char *" }, "params": [ { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "factor", - "cType": "double", - "canonical": "double" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { - "name": "pg_date_in", + "name": "intset_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "DateADT", - "canonical": "int" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { @@ -830,426 +1077,380 @@ ] }, { - "name": "pg_date_out", + "name": "intset_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" }, "params": [ { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "pg_interval_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "interv1", - "cType": "const Interval *", - "canonical": "const Interval *" - }, - { - "name": "interv2", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" } ] }, { - "name": "pg_interval_in", + "name": "intspan_expand", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Interval *", - "canonical": "Interval *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "typmod", - "cType": "int32", + "name": "value", + "cType": "int", "canonical": "int" } ] }, { - "name": "pg_interval_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "pg_timestamp_in", + "name": "intspan_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Timestamp", - "canonical": "long" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { "name": "str", "cType": "const char *", "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" } ] }, { - "name": "pg_timestamp_out", + "name": "intspan_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" }, "params": [ { - "name": "t", - "cType": "Timestamp", - "canonical": "long" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "pg_timestamptz_in", + "name": "intspanset_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "TimestampTz", - "canonical": "long" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { "name": "str", "cType": "const char *", "canonical": "const char *" - }, - { - "name": "typmod", - "cType": "int32", - "canonical": "int" } ] }, { - "name": "pg_timestamptz_out", + "name": "intspanset_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "text2cstring", + "name": "set_as_hexwkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" }, "params": [ { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "text_cmp", - "file": "meos.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, { - "name": "txt1", - "cType": "const text *", - "canonical": "const struct varlena *" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" }, { - "name": "txt2", - "cType": "const text *", - "canonical": "const struct varlena *" + "name": "size_out", + "cType": "size_t *", + "canonical": "size_t *" } ] }, { - "name": "text_copy", + "name": "set_as_wkb", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "uint8_t *", + "canonical": "unsigned char *" }, "params": [ { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "size_t *" } ] }, { - "name": "text_in", + "name": "set_from_hexwkb", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "str", + "name": "hexwkb", "cType": "const char *", "canonical": "const char *" } ] }, { - "name": "text_initcap", + "name": "set_from_wkb", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "text *", - "canonical": "struct varlena *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "text_lower", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" + "name": "size", + "cType": "size_t", + "canonical": "size_t" } ] }, { - "name": "text_out", + "name": "span_as_hexwkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" }, "params": [ { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "text_upper", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ - { - "name": "txt", - "cType": "const text *", - "canonical": "const struct varlena *" - } - ] - }, - { - "name": "textcat_text_text", - "file": "meos.h", - "returnType": { - "c": "text *", - "canonical": "struct varlena *" - }, - "params": [ + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, { - "name": "txt1", - "cType": "const text *", - "canonical": "const struct varlena *" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" }, { - "name": "txt2", - "cType": "const text *", - "canonical": "const struct varlena *" + "name": "size_out", + "cType": "size_t *", + "canonical": "size_t *" } ] }, { - "name": "timestamptz_shift", + "name": "span_as_wkb", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "TimestampTz", - "canonical": "long" + "c": "uint8_t *", + "canonical": "unsigned char *" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" }, { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" - } - ] - }, - { - "name": "timestamp_to_date", - "file": "meos.h", - "returnType": { - "c": "DateADT", - "canonical": "int" - }, - "params": [ + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, { - "name": "t", - "cType": "Timestamp", - "canonical": "long" + "name": "size_out", + "cType": "size_t *", + "canonical": "size_t *" } ] }, { - "name": "timestamptz_to_date", + "name": "span_from_hexwkb", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "DateADT", - "canonical": "int" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" } ] }, { - "name": "bigintset_in", + "name": "span_from_wkb", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "size_t" } ] }, { - "name": "bigintset_out", + "name": "spanset_as_hexwkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" }, "params": [ { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "size_t *" } ] }, { - "name": "bigintspan_expand", + "name": "spanset_as_wkb", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Span *", - "canonical": "Span *" + "c": "uint8_t *", + "canonical": "unsigned char *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" }, { - "name": "value", - "cType": "int64", - "canonical": "long" + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "size_t *" } ] }, { - "name": "bigintspan_in", + "name": "spanset_from_hexwkb", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Span *", - "canonical": "Span *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "str", + "name": "hexwkb", "cType": "const char *", "canonical": "const char *" } ] }, { - "name": "bigintspan_out", + "name": "spanset_from_wkb", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "size_t" } ] }, { - "name": "bigintspanset_in", + "name": "textset_in", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { @@ -1260,26 +1461,28 @@ ] }, { - "name": "bigintspanset_out", + "name": "textset_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" } ] }, { - "name": "dateset_in", + "name": "tstzset_in", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { @@ -1290,26 +1493,28 @@ ] }, { - "name": "dateset_out", + "name": "tstzset_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" }, "params": [ { - "name": "s", + "name": "set", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { - "name": "datespan_in", + "name": "tstzspan_in", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { @@ -1320,8 +1525,9 @@ ] }, { - "name": "datespan_out", + "name": "tstzspan_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -1330,16 +1536,17 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { - "name": "datespanset_in", + "name": "tstzspanset_in", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -1350,8 +1557,9 @@ ] }, { - "name": "datespanset_out", + "name": "tstzspanset_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -1360,1453 +1568,956 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { - "name": "floatset_in", + "name": "bigintset_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "floatset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" + "canonical": "struct Set *" }, "params": [ { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" + "name": "values", + "cType": "const int64_t *", + "canonical": "const int64_t *" }, { - "name": "maxdd", + "name": "count", "cType": "int", "canonical": "int" } ] }, { - "name": "floatspan_expand", + "name": "bigintspan_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "name": "lower", + "cType": "int64_t", + "canonical": "int64_t" }, { - "name": "value", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "floatspan_in", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ + "name": "upper", + "cType": "int64_t", + "canonical": "int64_t" + }, { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "floatspan_out", + "name": "dateset_make", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "name": "values", + "cType": "const DateADT *", + "canonical": "const DateADT *" }, { - "name": "maxdd", + "name": "count", "cType": "int", "canonical": "int" } ] }, { - "name": "floatspanset_in", + "name": "datespan_make", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "lower", + "cType": "DateADT", + "canonical": "DateADT" + }, + { + "name": "upper", + "cType": "DateADT", + "canonical": "DateADT" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "floatspanset_out", + "name": "floatset_make", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "name": "values", + "cType": "const double *", + "canonical": "const double *" }, { - "name": "maxdd", + "name": "count", "cType": "int", "canonical": "int" } ] }, { - "name": "intset_in", + "name": "floatspan_make", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "lower", + "cType": "double", + "canonical": "double" + }, + { + "name": "upper", + "cType": "double", + "canonical": "double" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "intset_out", + "name": "intset_make", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" + "name": "values", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "intspan_expand", + "name": "intspan_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "name": "lower", + "cType": "int", + "canonical": "int" }, { - "name": "value", - "cType": "int32", + "name": "upper", + "cType": "int", "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "intspan_in", + "name": "set_copy", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Span *", - "canonical": "Span *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" } ] }, { - "name": "intspan_out", + "name": "span_copy", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { - "name": "intspanset_in", + "name": "spanset_copy", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "str", - "cType": "const char *", - "canonical": "const char *" - } - ] - }, - { - "name": "intspanset_out", - "file": "meos.h", - "returnType": { - "c": "char *", - "canonical": "char *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { - "name": "set_as_hexwkb", + "name": "spanset_make", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" + "name": "spans", + "cType": "Span *", + "canonical": "struct Span *" }, { - "name": "size_out", - "cType": "int *", - "canonical": "int *" + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "set_as_wkb", + "name": "textset_make", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" + "name": "values", + "cType": "text **", + "canonical": "text **" }, { - "name": "size_out", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "set_from_hexwkb", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" + "name": "count", + "cType": "int", + "canonical": "int" } ] }, { - "name": "set_from_wkb", + "name": "tstzset_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" + "name": "values", + "cType": "const TimestampTz *", + "canonical": "const TimestampTz *" }, { - "name": "size", + "name": "count", "cType": "int", "canonical": "int" } ] }, { - "name": "span_as_hexwkb", + "name": "tstzspan_make", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" }, { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" }, { - "name": "size_out", - "cType": "int *", - "canonical": "int *" + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "span_as_wkb", + "name": "bigint_to_set", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "int *", - "canonical": "int *" + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" } ] }, { - "name": "span_from_hexwkb", + "name": "bigint_to_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" + "name": "i", + "cType": "int", + "canonical": "int" } ] }, { - "name": "span_from_wkb", + "name": "bigint_to_spanset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Span *", - "canonical": "Span *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "size", + "name": "i", "cType": "int", "canonical": "int" } ] }, { - "name": "spanset_as_hexwkb", + "name": "date_to_set", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "int *", - "canonical": "int *" + "name": "d", + "cType": "DateADT", + "canonical": "DateADT" } ] }, { - "name": "spanset_as_wkb", + "name": "date_to_span", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint8_t *", - "canonical": "unsigned char *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - }, - { - "name": "variant", - "cType": "uint8_t", - "canonical": "unsigned char" - }, - { - "name": "size_out", - "cType": "int *", - "canonical": "int *" + "name": "d", + "cType": "DateADT", + "canonical": "DateADT" } ] }, { - "name": "spanset_from_hexwkb", + "name": "date_to_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { - "name": "hexwkb", - "cType": "const char *", - "canonical": "const char *" + "name": "d", + "cType": "DateADT", + "canonical": "DateADT" } ] }, { - "name": "spanset_from_wkb", + "name": "dateset_to_tstzset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "wkb", - "cType": "const uint8_t *", - "canonical": "const unsigned char *" - }, - { - "name": "size", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" } ] }, { - "name": "textset_in", + "name": "datespan_to_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "textset_out", + "name": "datespanset_to_tstzspanset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "tstzset_in", + "name": "float_to_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "d", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tstzset_out", + "name": "float_to_span", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "set", - "cType": "const Set *", - "canonical": "const Set *" + "name": "d", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tstzspan_in", + "name": "float_to_spanset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Span *", - "canonical": "Span *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "d", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tstzspan_out", + "name": "floatset_to_intset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "floatspan_to_intspan", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { - "name": "tstzspanset_in", + "name": "floatspan_to_bigintspan", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "str", - "cType": "const char *", - "canonical": "const char *" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "tstzspanset_out", + "name": "floatspanset_to_intspanset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { - "name": "bigintset_make", + "name": "int_to_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { - "name": "values", - "cType": "const int64 *", - "canonical": "const long *" - }, - { - "name": "count", + "name": "i", "cType": "int", "canonical": "int" } ] }, { - "name": "bigintspan_make", + "name": "int_to_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { - "name": "lower", - "cType": "int64", - "canonical": "long" - }, - { - "name": "upper", - "cType": "int64", - "canonical": "long" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" + "name": "i", + "cType": "int", + "canonical": "int" } ] }, { - "name": "dateset_make", + "name": "int_to_spanset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "values", - "cType": "const DateADT *", - "canonical": "const int *" - }, - { - "name": "count", + "name": "i", "cType": "int", "canonical": "int" } ] }, { - "name": "datespan_make", + "name": "intset_to_floatset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Span *", - "canonical": "Span *" + "c": "Set *", + "canonical": "struct Set *" }, "params": [ { - "name": "lower", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "upper", - "cType": "DateADT", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" } ] }, { - "name": "floatset_make", + "name": "intspan_to_floatspan", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "values", - "cType": "const double *", - "canonical": "const double *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "floatspan_make", + "name": "intspan_to_bigintspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { - "name": "lower", - "cType": "double", - "canonical": "double" - }, - { - "name": "upper", - "cType": "double", - "canonical": "double" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "intset_make", + "name": "bigintspan_to_intspan", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "values", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "intspan_make", + "name": "bigintspan_to_floatspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { - "name": "lower", - "cType": "int", - "canonical": "int" - }, - { - "name": "upper", - "cType": "int", - "canonical": "int" - }, - { - "name": "lower_inc", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "upper_inc", - "cType": "bool", - "canonical": "bool" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "set_copy", + "name": "intspanset_to_floatspanset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "Set *", - "canonical": "Set *" + "c": "SpanSet *", + "canonical": "struct SpanSet *" }, "params": [ { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { - "name": "span_copy", + "name": "set_to_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", - "cType": "const Span *", - "canonical": "const Span *" + "cType": "const Set *", + "canonical": "const struct Set *" } ] }, { - "name": "spanset_copy", + "name": "set_to_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" } ] }, { - "name": "spanset_make", + "name": "span_to_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { - "name": "spans", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { - "name": "textset_make", + "name": "text_to_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "text **", - "canonical": "struct varlena **" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tstzset_make", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "values", - "cType": "const TimestampTz *", - "canonical": "const long *" - }, - { - "name": "count", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tstzspan_make", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "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": "bigint_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "i", - "cType": "int64", - "canonical": "long" - } - ] - }, - { - "name": "bigint_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "bigint_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "date_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "date_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "date_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "DateADT", - "canonical": "int" - } - ] - }, - { - "name": "dateset_to_tstzset", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "datespan_to_tstzspan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "datespanset_to_tstzspanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "float_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "float_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "float_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "d", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "floatset_to_intset", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "floatspan_to_intspan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "floatspanset_to_intspanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "int_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "int_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "int_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "i", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "intset_to_floatset", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "intspan_to_floatspan", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "intspanset_to_floatspanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "ss", - "cType": "const SpanSet *", - "canonical": "const SpanSet *" - } - ] - }, - { - "name": "set_to_span", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "set_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Set *", - "canonical": "const Set *" - } - ] - }, - { - "name": "span_to_spanset", - "file": "meos.h", - "returnType": { - "c": "SpanSet *", - "canonical": "SpanSet *" - }, - "params": [ - { - "name": "s", - "cType": "const Span *", - "canonical": "const Span *" - } - ] - }, - { - "name": "text_to_set", - "file": "meos.h", - "returnType": { - "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "timestamptz_to_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "timestamptz_to_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "timestamptz_to_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tstzset_to_dateset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "tstzspan_to_datespan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "tstzspanset_to_datespanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "bigintset_end_value", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "bigintset_start_value", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "bigintset_value_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -2815,7 +2526,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "n", @@ -2824,113 +2535,125 @@ }, { "name": "result", - "cType": "int64 *", - "canonical": "long *" + "cType": "int64_t *", + "canonical": "int64_t *" } ] }, { "name": "bigintset_values", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64 *", - "canonical": "long *" + "c": "int64_t *", + "canonical": "int64_t *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { "name": "bigintspan_lower", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "bigintspan_upper", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "bigintspan_width", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "bigintspanset_lower", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "bigintspanset_upper", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "bigintspanset_width", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "boundspan", @@ -2942,36 +2665,39 @@ { "name": "dateset_end_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "dateset_start_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "dateset_value_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -2980,7 +2706,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "n", @@ -2990,28 +2716,35 @@ { "name": "result", "cType": "DateADT *", - "canonical": "int *" + "canonical": "DateADT *" } ] }, { "name": "dateset_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "DateADT *", - "canonical": "int *" + "canonical": "DateADT *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { "name": "datespan_duration", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Interval *", "canonical": "Interval *" @@ -3020,43 +2753,46 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "datespan_lower", "file": "meos.h", + "family": "CORE", "returnType": { "c": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "datespan_upper", "file": "meos.h", + "family": "CORE", "returnType": { "c": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "datespanset_date_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -3065,7 +2801,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "n", @@ -3075,28 +2811,30 @@ { "name": "result", "cType": "DateADT *", - "canonical": "int *" + "canonical": "DateADT *" } ] }, { "name": "datespanset_dates", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "datespanset_duration", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Interval *", "canonical": "Interval *" @@ -3105,7 +2843,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "boundspan", @@ -3117,21 +2855,23 @@ { "name": "datespanset_end_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "datespanset_num_dates", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3140,28 +2880,30 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "datespanset_start_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "floatset_end_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -3170,13 +2912,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "floatset_start_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -3185,13 +2928,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "floatset_value_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -3200,7 +2944,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "n", @@ -3217,6 +2961,7 @@ { "name": "floatset_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double *", "canonical": "double *" @@ -3225,13 +2970,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { "name": "floatspan_lower", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -3240,13 +2991,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "floatspan_upper", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -3255,13 +3007,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "floatspan_width", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -3270,13 +3023,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "floatspanset_lower", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -3285,13 +3039,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "floatspanset_upper", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -3300,13 +3055,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "floatspanset_width", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -3315,7 +3071,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "boundspan", @@ -3327,6 +3083,7 @@ { "name": "intset_end_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3335,13 +3092,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "intset_start_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3350,13 +3108,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "intset_value_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -3365,7 +3124,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "n", @@ -3382,6 +3141,7 @@ { "name": "intset_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int *", "canonical": "int *" @@ -3390,13 +3150,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { "name": "intspan_lower", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3405,13 +3171,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "intspan_upper", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3420,13 +3187,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "intspan_width", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3435,13 +3203,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "intspanset_lower", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3450,13 +3219,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "intspanset_upper", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3465,13 +3235,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "intspanset_width", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3480,7 +3251,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "boundspan", @@ -3492,41 +3263,44 @@ { "name": "set_hash", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "int", + "canonical": "int" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "set_hash_extended", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "int", + "canonical": "int" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" + "cType": "int", + "canonical": "int" } ] }, { "name": "set_num_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3535,48 +3309,51 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "span_hash", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "int", + "canonical": "int" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "span_hash_extended", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "int", + "canonical": "int" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" + "cType": "int", + "canonical": "int" } ] }, { "name": "span_lower_inc", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -3585,13 +3362,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "span_upper_inc", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -3600,63 +3378,67 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "spanset_end_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_hash", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "int", + "canonical": "int" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_hash_extended", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "int", + "canonical": "int" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" + "cType": "int", + "canonical": "int" } ] }, { "name": "spanset_lower_inc", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -3665,13 +3447,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_num_spans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -3680,37 +3463,39 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_span_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -3722,36 +3507,39 @@ { "name": "spanset_spanarr", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span **", - "canonical": "Span **" + "canonical": "struct Span **" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_start_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_upper_inc", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -3760,43 +3548,46 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "textset_end_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "text *", - "canonical": "struct varlena *" + "canonical": "text *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "textset_start_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "text *", - "canonical": "struct varlena *" + "canonical": "text *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "textset_value_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -3805,7 +3596,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "n", @@ -3815,58 +3606,67 @@ { "name": "result", "cType": "text **", - "canonical": "struct varlena **" + "canonical": "text **" } ] }, { "name": "textset_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "text **", - "canonical": "struct varlena **" + "canonical": "text **" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { "name": "tstzset_end_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "tstzset_start_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "tstzset_value_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -3875,7 +3675,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "n", @@ -3885,28 +3685,35 @@ { "name": "result", "cType": "TimestampTz *", - "canonical": "long *" + "canonical": "TimestampTz *" } ] }, { "name": "tstzset_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz *", - "canonical": "long *" + "canonical": "TimestampTz *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { "name": "tstzspan_duration", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Interval *", "canonical": "Interval *" @@ -3915,43 +3722,46 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "tstzspan_lower", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "tstzspan_upper", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "tstzspanset_duration", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Interval *", "canonical": "Interval *" @@ -3960,7 +3770,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "boundspan", @@ -3972,36 +3782,39 @@ { "name": "tstzspanset_end_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "tstzspanset_lower", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "tstzspanset_num_timestamps", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -4010,43 +3823,46 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "tstzspanset_start_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "tstzspanset_timestamps", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "tstzspanset_timestamptz_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -4055,7 +3871,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "n", @@ -4065,47 +3881,49 @@ { "name": "result", "cType": "TimestampTz *", - "canonical": "long *" + "canonical": "TimestampTz *" } ] }, { "name": "tstzspanset_upper", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "bigintset_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "shift", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "width", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "hasshift", @@ -4122,25 +3940,26 @@ { "name": "bigintspan_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "shift", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "width", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "hasshift", @@ -4157,25 +3976,26 @@ { "name": "bigintspanset_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "shift", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "width", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "hasshift", @@ -4192,15 +4012,16 @@ { "name": "dateset_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "shift", @@ -4227,15 +4048,16 @@ { "name": "datespan_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "shift", @@ -4262,15 +4084,16 @@ { "name": "datespanset_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "shift", @@ -4297,30 +4120,32 @@ { "name": "floatset_ceil", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "floatset_degrees", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "normalize", @@ -4332,45 +4157,48 @@ { "name": "floatset_floor", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "floatset_radians", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "floatset_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "shift", @@ -4397,30 +4225,32 @@ { "name": "floatspan_ceil", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "floatspan_degrees", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "normalize", @@ -4432,45 +4262,48 @@ { "name": "floatspan_floor", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "floatspan_radians", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "floatspan_round", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "maxdd", @@ -4482,15 +4315,16 @@ { "name": "floatspan_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "shift", @@ -4517,45 +4351,48 @@ { "name": "floatspanset_ceil", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "floatspanset_floor", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "floatspanset_degrees", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "normalize", @@ -4567,30 +4404,32 @@ { "name": "floatspanset_radians", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "floatspanset_round", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "maxdd", @@ -4602,15 +4441,16 @@ { "name": "floatspanset_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "shift", @@ -4637,15 +4477,16 @@ { "name": "intset_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "shift", @@ -4672,15 +4513,16 @@ { "name": "intspan_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "shift", @@ -4707,15 +4549,16 @@ { "name": "intspanset_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "shift", @@ -4742,15 +4585,16 @@ { "name": "tstzspan_expand", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "interv", @@ -4762,15 +4606,16 @@ { "name": "set_round", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "maxdd", @@ -4782,100 +4627,106 @@ { "name": "textcat_text_textset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "textcat_textset_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "textset_initcap", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "textset_lower", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "textset_upper", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "timestamptz_tprecision", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "duration", @@ -4885,22 +4736,23 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tstzset_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "shift", @@ -4917,15 +4769,16 @@ { "name": "tstzset_tprecision", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "duration", @@ -4935,22 +4788,23 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tstzspan_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "shift", @@ -4967,15 +4821,16 @@ { "name": "tstzspan_tprecision", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "duration", @@ -4985,22 +4840,23 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tstzspanset_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "shift", @@ -5017,15 +4873,16 @@ { "name": "tstzspanset_tprecision", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "duration", @@ -5035,13 +4892,14 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "set_cmp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -5050,18 +4908,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "set_eq", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5070,18 +4929,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "set_ge", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5090,18 +4950,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "set_gt", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5110,18 +4971,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "set_le", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5130,18 +4992,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "set_lt", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5150,18 +5013,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "set_ne", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5170,18 +5034,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "span_cmp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -5190,18 +5055,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "span_eq", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5210,18 +5076,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "span_ge", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5230,18 +5097,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "span_gt", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5250,18 +5118,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "span_le", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5270,18 +5139,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "span_lt", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5290,18 +5160,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "span_ne", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5310,18 +5181,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "spanset_cmp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -5330,18 +5202,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_eq", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5350,18 +5223,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_ge", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5370,18 +5244,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_gt", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5390,18 +5265,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_le", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5410,18 +5286,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_lt", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5430,18 +5307,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_ne", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5450,42 +5328,44 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "set_spans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "set_split_each_n_spans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "elems_per_span", @@ -5502,15 +5382,16 @@ { "name": "set_split_n_spans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "span_count", @@ -5527,30 +5408,32 @@ { "name": "spanset_spans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_split_each_n_spans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "elems_per_span", @@ -5567,15 +5450,16 @@ { "name": "spanset_split_n_spans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "span_count", @@ -5592,6 +5476,7 @@ { "name": "adjacent_span_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5600,18 +5485,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "adjacent_span_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5620,18 +5506,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "adjacent_span_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5640,7 +5527,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -5652,6 +5539,7 @@ { "name": "adjacent_span_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5660,7 +5548,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -5672,6 +5560,7 @@ { "name": "adjacent_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5680,18 +5569,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "adjacent_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5700,18 +5590,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "adjacent_span_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5720,18 +5611,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "adjacent_spanset_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5740,18 +5632,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "adjacent_spanset_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5760,18 +5653,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "adjacent_spanset_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5780,7 +5674,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -5792,6 +5686,7 @@ { "name": "adjacent_spanset_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5800,7 +5695,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -5812,6 +5707,7 @@ { "name": "adjacent_spanset_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5820,18 +5716,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "adjacent_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5840,18 +5737,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "adjacent_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5860,18 +5758,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "contained_bigint_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5879,19 +5778,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "contained_bigint_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5899,19 +5799,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contained_bigint_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5919,19 +5820,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "contained_date_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5940,18 +5842,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "contained_date_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5960,18 +5863,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contained_date_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -5980,18 +5884,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "contained_float_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6005,13 +5910,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "contained_float_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6025,13 +5931,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contained_float_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6045,13 +5952,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "contained_int_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6065,13 +5973,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "contained_int_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6085,13 +5994,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contained_int_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6105,13 +6015,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "contained_set_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6120,18 +6031,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "contained_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6140,18 +6052,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contained_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6160,18 +6073,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "contained_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6180,18 +6094,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contained_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6200,18 +6115,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "contained_text_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6220,18 +6136,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "contained_timestamptz_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6240,18 +6157,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "contained_timestamptz_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6260,18 +6178,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contained_timestamptz_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6280,18 +6199,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "contains_set_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6300,18 +6220,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "contains_set_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6320,18 +6241,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "contains_set_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6340,7 +6262,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", @@ -6352,6 +6274,7 @@ { "name": "contains_set_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6360,7 +6283,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", @@ -6372,6 +6295,7 @@ { "name": "contains_set_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6380,18 +6304,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "contains_set_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6400,18 +6325,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "t", "cType": "text *", - "canonical": "struct varlena *" + "canonical": "text *" } ] }, { "name": "contains_set_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6420,18 +6346,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "contains_span_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6440,18 +6367,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "contains_span_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6460,18 +6388,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "contains_span_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6480,7 +6409,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -6492,6 +6421,7 @@ { "name": "contains_span_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6500,7 +6430,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -6512,6 +6442,7 @@ { "name": "contains_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6520,18 +6451,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contains_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6540,18 +6472,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "contains_span_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6560,18 +6493,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "contains_spanset_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6580,18 +6514,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "contains_spanset_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6600,18 +6535,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "contains_spanset_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6620,7 +6556,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -6632,6 +6568,7 @@ { "name": "contains_spanset_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6640,7 +6577,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -6652,6 +6589,7 @@ { "name": "contains_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6660,18 +6598,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contains_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6680,18 +6619,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "contains_spanset_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6700,18 +6640,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "overlaps_set_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6720,18 +6661,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overlaps_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6740,18 +6682,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overlaps_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6760,18 +6703,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overlaps_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6780,18 +6724,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overlaps_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6800,18 +6745,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "after_date_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6820,18 +6766,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "after_date_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6840,18 +6787,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "after_date_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6860,18 +6808,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "after_set_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6880,18 +6829,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "after_set_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6900,18 +6850,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "after_span_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6920,18 +6871,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "after_span_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6940,18 +6892,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "after_spanset_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6960,18 +6913,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "after_spanset_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -6980,18 +6934,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "after_timestamptz_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7000,18 +6955,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "after_timestamptz_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7020,18 +6976,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "after_timestamptz_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7040,18 +6997,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "before_date_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7060,18 +7018,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "before_date_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7080,18 +7039,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "before_date_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7100,18 +7060,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "before_set_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7120,18 +7081,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "before_set_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7140,18 +7102,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "before_span_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7160,18 +7123,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "before_span_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7180,18 +7144,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "before_spanset_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7200,18 +7165,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "before_spanset_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7220,18 +7186,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "before_timestamptz_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7240,18 +7207,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "before_timestamptz_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7260,18 +7228,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "before_timestamptz_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7280,18 +7249,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "left_bigint_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7299,19 +7269,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "left_bigint_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7319,19 +7290,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "left_bigint_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7339,19 +7311,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "left_float_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7365,13 +7338,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "left_float_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7385,13 +7359,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "left_float_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7405,13 +7380,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "left_int_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7425,13 +7401,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "left_int_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7445,13 +7422,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "left_int_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7465,13 +7443,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "left_set_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7480,18 +7459,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "left_set_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7500,7 +7480,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", @@ -7512,6 +7492,7 @@ { "name": "left_set_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7520,7 +7501,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", @@ -7532,6 +7513,7 @@ { "name": "left_set_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7540,18 +7522,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "left_set_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7560,18 +7543,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "txt", "cType": "text *", - "canonical": "struct varlena *" + "canonical": "text *" } ] }, { "name": "left_span_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7580,18 +7564,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "left_span_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7600,7 +7585,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -7612,6 +7597,7 @@ { "name": "left_span_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7620,7 +7606,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -7632,6 +7618,7 @@ { "name": "left_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7640,18 +7627,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "left_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7660,18 +7648,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "left_spanset_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7680,18 +7669,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "left_spanset_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7700,7 +7690,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -7712,6 +7702,7 @@ { "name": "left_spanset_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7720,7 +7711,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -7732,6 +7723,7 @@ { "name": "left_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7740,18 +7732,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "left_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7760,18 +7753,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "left_text_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7780,18 +7774,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overafter_date_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7800,18 +7795,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overafter_date_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7820,18 +7816,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overafter_date_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7840,18 +7837,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overafter_set_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7860,18 +7858,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "overafter_set_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7880,18 +7879,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "overafter_span_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7900,18 +7900,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "overafter_span_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7920,18 +7921,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "overafter_spanset_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7940,18 +7942,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "overafter_spanset_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7960,18 +7963,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "overafter_timestamptz_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -7980,18 +7984,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overafter_timestamptz_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8000,18 +8005,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overafter_timestamptz_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8020,18 +8026,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overbefore_date_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8040,18 +8047,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overbefore_date_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8060,18 +8068,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overbefore_date_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8080,18 +8089,19 @@ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overbefore_set_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8100,18 +8110,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "overbefore_set_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8120,18 +8131,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "overbefore_span_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8140,18 +8152,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "overbefore_span_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8160,18 +8173,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "overbefore_spanset_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8180,18 +8194,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "overbefore_spanset_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8200,18 +8215,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "overbefore_timestamptz_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8220,18 +8236,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overbefore_timestamptz_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8240,18 +8257,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overbefore_timestamptz_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8260,18 +8278,19 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overleft_bigint_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8279,19 +8298,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overleft_bigint_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8299,19 +8319,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overleft_bigint_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8319,19 +8340,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overleft_float_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8345,13 +8367,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overleft_float_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8365,13 +8388,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overleft_float_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8385,13 +8409,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overleft_int_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8405,13 +8430,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overleft_int_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8425,13 +8451,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overleft_int_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8445,13 +8472,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overleft_set_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8460,18 +8488,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "overleft_set_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8480,7 +8509,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", @@ -8492,6 +8521,7 @@ { "name": "overleft_set_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8500,7 +8530,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", @@ -8512,6 +8542,7 @@ { "name": "overleft_set_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8520,18 +8551,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overleft_set_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8540,18 +8572,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "txt", "cType": "text *", - "canonical": "struct varlena *" + "canonical": "text *" } ] }, { "name": "overleft_span_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8560,18 +8593,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "overleft_span_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8580,7 +8614,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -8592,6 +8626,7 @@ { "name": "overleft_span_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8600,7 +8635,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -8612,6 +8647,7 @@ { "name": "overleft_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8620,18 +8656,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overleft_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8640,18 +8677,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overleft_spanset_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8660,18 +8698,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "overleft_spanset_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8680,7 +8719,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -8692,6 +8731,7 @@ { "name": "overleft_spanset_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8700,7 +8740,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -8712,6 +8752,7 @@ { "name": "overleft_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8720,18 +8761,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overleft_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8740,18 +8782,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overleft_text_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8760,18 +8803,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overright_bigint_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8779,19 +8823,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overright_bigint_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8799,19 +8844,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overright_bigint_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8819,19 +8865,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overright_float_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8845,13 +8892,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overright_float_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8865,13 +8913,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overright_float_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8885,13 +8934,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overright_int_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8905,13 +8955,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overright_int_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8925,13 +8976,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overright_int_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8945,13 +8997,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overright_set_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8960,18 +9013,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "overright_set_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -8980,7 +9034,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", @@ -8992,6 +9046,7 @@ { "name": "overright_set_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9000,7 +9055,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", @@ -9012,6 +9067,7 @@ { "name": "overright_set_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9020,18 +9076,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "overright_set_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9040,18 +9097,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "txt", "cType": "text *", - "canonical": "struct varlena *" + "canonical": "text *" } ] }, { "name": "overright_span_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9060,18 +9118,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "overright_span_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9080,7 +9139,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -9092,6 +9151,7 @@ { "name": "overright_span_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9100,7 +9160,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -9112,6 +9172,7 @@ { "name": "overright_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9120,18 +9181,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overright_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9140,18 +9202,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overright_spanset_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9160,18 +9223,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "overright_spanset_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9180,7 +9244,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -9192,6 +9256,7 @@ { "name": "overright_spanset_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9200,7 +9265,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -9212,6 +9277,7 @@ { "name": "overright_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9220,18 +9286,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overright_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9240,18 +9307,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "overright_text_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9260,18 +9328,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "right_bigint_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9279,19 +9348,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "right_bigint_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9299,19 +9369,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "right_bigint_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9319,19 +9390,20 @@ "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "right_float_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9345,13 +9417,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "right_float_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9365,13 +9438,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "right_float_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9385,13 +9459,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "right_int_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9405,13 +9480,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "right_int_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9425,13 +9501,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "right_int_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9445,13 +9522,14 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "right_set_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9460,18 +9538,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "right_set_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9480,7 +9559,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", @@ -9492,6 +9571,7 @@ { "name": "right_set_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9500,7 +9580,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", @@ -9512,6 +9592,7 @@ { "name": "right_set_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9520,18 +9601,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "right_set_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9540,18 +9622,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "txt", "cType": "text *", - "canonical": "struct varlena *" + "canonical": "text *" } ] }, { "name": "right_span_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9560,18 +9643,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "right_span_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9580,7 +9664,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -9592,6 +9676,7 @@ { "name": "right_span_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9600,7 +9685,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -9612,6 +9697,7 @@ { "name": "right_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9620,18 +9706,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "right_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9640,18 +9727,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "right_spanset_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9660,18 +9748,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "right_spanset_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9680,7 +9769,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -9692,6 +9781,7 @@ { "name": "right_spanset_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9700,7 +9790,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -9712,6 +9802,7 @@ { "name": "right_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9720,18 +9811,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "right_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9740,18 +9832,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "right_text_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -9760,61 +9853,64 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "intersection_bigint_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "intersection_date_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "intersection_float_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { @@ -9825,16 +9921,17 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "intersection_int_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { @@ -9845,62 +9942,65 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "intersection_set_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "intersection_set_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "intersection_set_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", @@ -9912,15 +10012,16 @@ { "name": "intersection_set_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", @@ -9932,115 +10033,121 @@ { "name": "intersection_set_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "intersection_set_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "intersection_set_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "intersection_span_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "intersection_span_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "intersection_span_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -10052,15 +10159,16 @@ { "name": "intersection_span_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -10072,115 +10180,121 @@ { "name": "intersection_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "intersection_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "intersection_span_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "intersection_spanset_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "intersection_spanset_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "intersection_spanset_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -10192,15 +10306,16 @@ { "name": "intersection_spanset_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -10212,229 +10327,241 @@ { "name": "intersection_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "intersection_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "intersection_spanset_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "intersection_text_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "intersection_timestamptz_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "minus_bigint_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "minus_bigint_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "minus_bigint_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "minus_date_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "minus_date_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "minus_date_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "minus_float_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { @@ -10445,16 +10572,17 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "minus_float_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10465,16 +10593,17 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "minus_float_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10485,16 +10614,17 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "minus_int_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { @@ -10505,16 +10635,17 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "minus_int_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10525,16 +10656,17 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "minus_int_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -10545,62 +10677,65 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "minus_set_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "minus_set_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "minus_set_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", @@ -10612,15 +10747,16 @@ { "name": "minus_set_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", @@ -10632,115 +10768,121 @@ { "name": "minus_set_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "minus_set_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "minus_set_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "minus_span_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "minus_span_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "minus_span_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -10752,15 +10894,16 @@ { "name": "minus_span_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -10772,115 +10915,121 @@ { "name": "minus_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "minus_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "minus_span_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "minus_spanset_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "minus_spanset_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "minus_spanset_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -10892,15 +11041,16 @@ { "name": "minus_spanset_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -10912,269 +11062,283 @@ { "name": "minus_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "minus_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "minus_spanset_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "minus_text_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "minus_timestamptz_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "minus_timestamptz_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "minus_timestamptz_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "union_bigint_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "union_bigint_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "union_bigint_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "ss", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, { "name": "union_date_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "union_date_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "union_date_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "ss", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, { "name": "union_float_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { @@ -11185,22 +11349,23 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "union_float_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -11212,9 +11377,10 @@ { "name": "union_float_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11225,16 +11391,17 @@ { "name": "ss", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, { "name": "union_int_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { @@ -11245,16 +11412,17 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "union_int_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11265,16 +11433,17 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "union_int_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { @@ -11285,62 +11454,65 @@ { "name": "ss", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, { "name": "union_set_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "union_set_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "union_set_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", @@ -11352,15 +11524,16 @@ { "name": "union_set_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", @@ -11372,115 +11545,121 @@ { "name": "union_set_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "union_set_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "union_set_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "union_span_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "union_span_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "union_span_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -11492,15 +11671,16 @@ { "name": "union_span_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -11512,115 +11692,142 @@ { "name": "union_span_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" + } + ] + }, + { + "name": "super_union_span_span", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { "name": "union_span_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "union_span_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "union_spanset_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "union_spanset_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "union_spanset_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -11632,15 +11839,16 @@ { "name": "union_spanset_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -11652,226 +11860,238 @@ { "name": "union_spanset_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "union_spanset_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "union_spanset_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "union_text_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "union_timestamptz_set", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "union_timestamptz_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "union_timestamptz_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "ss", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, { "name": "distance_bigintset_bigintset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "distance_bigintspan_bigintspan", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "distance_bigintspanset_bigintspan", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "distance_bigintspanset_bigintspanset", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "distance_dateset_dateset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -11880,18 +12100,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "distance_datespan_datespan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -11900,18 +12121,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "distance_datespanset_datespan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -11920,18 +12142,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "distance_datespanset_datespanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -11940,18 +12163,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "distance_floatset_floatset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -11960,18 +12184,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "distance_floatspan_floatspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -11980,18 +12205,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "distance_floatspanset_floatspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12000,18 +12226,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "distance_floatspanset_floatspanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12020,18 +12247,19 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "distance_intset_intset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -12040,18 +12268,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "distance_intspan_intspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -12060,18 +12289,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "distance_intspanset_intspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -12080,18 +12310,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "distance_intspanset_intspanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -12100,38 +12331,40 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "distance_set_bigint", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "distance_set_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -12140,18 +12373,19 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "distance_set_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12160,7 +12394,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "d", @@ -12172,6 +12406,7 @@ { "name": "distance_set_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -12180,7 +12415,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "i", @@ -12192,6 +12427,7 @@ { "name": "distance_set_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12200,38 +12436,40 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "distance_span_bigint", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "distance_span_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -12240,18 +12478,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "distance_span_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12260,7 +12499,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "d", @@ -12272,6 +12511,7 @@ { "name": "distance_span_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -12280,7 +12520,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "i", @@ -12292,6 +12532,7 @@ { "name": "distance_span_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12300,38 +12541,40 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "distance_spanset_bigint", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "distance_spanset_date", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -12340,18 +12583,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "distance_spanset_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12360,7 +12604,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "d", @@ -12372,6 +12616,7 @@ { "name": "distance_spanset_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -12380,7 +12625,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "i", @@ -12392,6 +12637,7 @@ { "name": "distance_spanset_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12400,18 +12646,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "distance_tstzset_tstzset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12420,18 +12667,19 @@ { "name": "s1", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "s2", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "distance_tstzspan_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12440,18 +12688,19 @@ { "name": "s1", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s2", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "distance_tstzspanset_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12460,18 +12709,19 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "distance_tstzspanset_tstzspanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -12480,107 +12730,112 @@ { "name": "ss1", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "ss2", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "bigint_extent_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "bigint_union_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "state", "cType": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, { "name": "i", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "date_extent_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "date_union_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "state", "cType": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "float_extent_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "d", @@ -12592,15 +12847,16 @@ { "name": "float_union_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "state", "cType": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, { "name": "d", @@ -12612,15 +12868,16 @@ { "name": "int_extent_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "i", @@ -12632,19 +12889,20 @@ { "name": "int_union_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "state", "cType": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, { "name": "i", - "cType": "int32", + "cType": "int", "canonical": "int" } ] @@ -12652,260 +12910,273 @@ { "name": "set_extent_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "set_union_finalfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "state", "cType": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" } ] }, { "name": "set_union_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "state", "cType": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, { "name": "s", "cType": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" } ] }, { "name": "span_extent_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "span_union_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "state", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "spanset_extent_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "spanset_union_finalfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "state", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" } ] }, { "name": "spanset_union_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "state", "cType": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "text_union_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "state", "cType": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "timestamptz_extent_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "state", "cType": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "timestamptz_union_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "state", "cType": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "bigint_get_bin", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "int64", - "canonical": "long" + "c": "int64_t", + "canonical": "int64_t" }, "params": [ { "name": "value", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "vsize", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "vorigin", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" } ] }, { "name": "bigintspan_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "vsize", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "vorigin", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "count", @@ -12917,25 +13188,26 @@ { "name": "bigintspanset_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "vsize", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "vorigin", - "cType": "int64", - "canonical": "long" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "count", @@ -12947,15 +13219,16 @@ { "name": "date_get_bin", "file": "meos.h", + "family": "CORE", "returnType": { "c": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, "params": [ { "name": "d", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "duration", @@ -12965,22 +13238,23 @@ { "name": "torigin", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" } ] }, { "name": "datespan_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "duration", @@ -12990,7 +13264,7 @@ { "name": "torigin", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "count", @@ -13002,15 +13276,16 @@ { "name": "datespanset_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "duration", @@ -13020,7 +13295,7 @@ { "name": "torigin", "cType": "DateADT", - "canonical": "int" + "canonical": "DateADT" }, { "name": "count", @@ -13032,6 +13307,7 @@ { "name": "float_get_bin", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -13057,15 +13333,16 @@ { "name": "floatspan_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "vsize", @@ -13087,15 +13364,16 @@ { "name": "floatspanset_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "vsize", @@ -13117,6 +13395,7 @@ { "name": "int_get_bin", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -13142,15 +13421,16 @@ { "name": "intspan_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "vsize", @@ -13172,15 +13452,16 @@ { "name": "intspanset_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "vsize", @@ -13202,15 +13483,16 @@ { "name": "timestamptz_get_bin", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "duration", @@ -13220,22 +13502,23 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tstzspan_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "duration", @@ -13245,7 +13528,7 @@ { "name": "origin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -13257,15 +13540,16 @@ { "name": "tstzspanset_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "duration", @@ -13275,7 +13559,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -13287,6 +13571,7 @@ { "name": "tbox_as_hexwkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -13295,7 +13580,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "variant", @@ -13304,14 +13589,15 @@ }, { "name": "size", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "size_t *" } ] }, { "name": "tbox_as_wkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "uint8_t *", "canonical": "unsigned char *" @@ -13320,7 +13606,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "variant", @@ -13329,17 +13615,18 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "size_t *" } ] }, { "name": "tbox_from_hexwkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13352,9 +13639,10 @@ { "name": "tbox_from_wkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13364,17 +13652,18 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "size_t" } ] }, { "name": "tbox_in", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13387,6 +13676,7 @@ { "name": "tbox_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -13395,7 +13685,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "maxdd", @@ -13407,9 +13697,10 @@ { "name": "float_timestamptz_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13420,16 +13711,17 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "float_tstzspan_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13440,16 +13732,17 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "int_timestamptz_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13460,16 +13753,38 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" + } + ] + }, + { + "name": "bigint_timestamptz_to_tbox", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" } ] }, { "name": "int_tstzspan_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13480,91 +13795,117 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" + } + ] + }, + { + "name": "bigint_tstzspan_to_tbox", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { "name": "numspan_tstzspan_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "span", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "numspan_timestamptz_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "span", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tbox_copy", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "p", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "float_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13577,9 +13918,10 @@ { "name": "int_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { @@ -13589,149 +13931,191 @@ } ] }, + { + "name": "bigint_to_tbox", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "set_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "span_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "spanset_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "tbox_to_intspan", "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "tbox_to_bigintspan", + "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_to_floatspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_to_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "timestamptz_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tbox_hash", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "int", + "canonical": "int" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_hash_extended", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "int", + "canonical": "int" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" + "cType": "int", + "canonical": "int" } ] }, { "name": "tbox_hast", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13740,13 +14124,14 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_hasx", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13755,13 +14140,14 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_tmax", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13770,18 +14156,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", "cType": "TimestampTz *", - "canonical": "long *" + "canonical": "TimestampTz *" } ] }, { "name": "tbox_tmax_inc", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13790,18 +14177,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "bool *" } ] }, { "name": "tbox_tmin", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13810,18 +14198,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", "cType": "TimestampTz *", - "canonical": "long *" + "canonical": "TimestampTz *" } ] }, { "name": "tbox_tmin_inc", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13830,18 +14219,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "bool *" } ] }, { "name": "tbox_xmax", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13850,7 +14240,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13862,6 +14252,7 @@ { "name": "tbox_xmax_inc", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13870,18 +14261,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "bool *" } ] }, { "name": "tbox_xmin", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13890,7 +14282,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13902,6 +14294,7 @@ { "name": "tbox_xmin_inc", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13910,18 +14303,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "bool *" } ] }, { "name": "tboxfloat_xmax", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13930,7 +14324,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13942,6 +14336,7 @@ { "name": "tboxfloat_xmin", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13950,7 +14345,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13962,6 +14357,7 @@ { "name": "tboxint_xmax", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13970,7 +14366,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -13979,9 +14375,31 @@ } ] }, + { + "name": "tboxbigint_xmax", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "result", + "cType": "int64_t *", + "canonical": "int64_t *" + } + ] + }, { "name": "tboxint_xmin", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -13990,7 +14408,7 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "result", @@ -14000,102 +14418,123 @@ ] }, { - "name": "tbox_expand_time", + "name": "tboxbigint_xmin", "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "result", + "cType": "int64_t *", + "canonical": "int64_t *" + } + ] + }, + { + "name": "tfloatbox_expand", + "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "d", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tbox_round", + "name": "tintbox_expand", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { - "name": "maxdd", + "name": "i", "cType": "int", "canonical": "int" } ] }, { - "name": "tbox_shift_scale_time", + "name": "tbox_expand_time", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" - }, - { - "name": "shift", - "cType": "const Interval *", - "canonical": "const Interval *" + "canonical": "const struct TBox *" }, { - "name": "duration", + "name": "interv", "cType": "const Interval *", "canonical": "const Interval *" } ] }, { - "name": "tfloatbox_expand", + "name": "tbox_round", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { - "name": "d", - "cType": "double", - "canonical": "double" + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { "name": "tfloatbox_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "shift", @@ -14120,47 +14559,111 @@ ] }, { - "name": "tintbox_expand", + "name": "tintbox_shift_scale", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { - "name": "i", + "name": "shift", "cType": "int", "canonical": "int" + }, + { + "name": "width", + "cType": "int", + "canonical": "int" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" } ] }, { - "name": "tintbox_shift_scale", + "name": "tbox_shift_scale_time", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "shift", - "cType": "int", - "canonical": "int" + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tbigintbox_expand", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, + { + "name": "tbigintbox_shift_scale", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "shift", + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "width", - "cType": "int", - "canonical": "int" + "cType": "int64_t", + "canonical": "int64_t" }, { "name": "hasshift", @@ -14177,20 +14680,21 @@ { "name": "union_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "strict", @@ -14202,26 +14706,28 @@ { "name": "intersection_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "adjacent_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14230,18 +14736,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "contained_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14250,18 +14757,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "contains_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14270,18 +14778,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "overlaps_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14290,18 +14799,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "same_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14310,18 +14820,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "after_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14330,18 +14841,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "before_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14350,18 +14862,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "left_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14370,18 +14883,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "overafter_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14390,18 +14904,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "overbefore_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14410,18 +14925,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "overleft_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14430,18 +14946,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "overright_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14450,18 +14967,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "right_tbox_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14470,18 +14988,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_cmp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -14490,18 +15009,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_eq", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14510,18 +15030,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_ge", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14530,18 +15051,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_gt", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14550,18 +15072,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_le", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14570,18 +15093,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_lt", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14590,18 +15114,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbox_ne", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -14610,21 +15135,22 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tbool_from_mfjson", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -14637,9 +15163,10 @@ { "name": "tbool_in", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -14652,6 +15179,7 @@ { "name": "tbool_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -14660,13 +15188,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_as_hexwkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -14675,7 +15204,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "variant", @@ -14684,14 +15213,15 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "size_t *" } ] }, { "name": "temporal_as_mfjson", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -14700,7 +15230,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "with_bbox", @@ -14727,6 +15257,7 @@ { "name": "temporal_as_wkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "uint8_t *", "canonical": "unsigned char *" @@ -14735,7 +15266,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "variant", @@ -14744,17 +15275,18 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "size_t *" } ] }, { "name": "temporal_from_hexwkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -14767,9 +15299,10 @@ { "name": "temporal_from_wkb", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -14779,17 +15312,18 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "size_t" } ] }, { "name": "tfloat_from_mfjson", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -14802,9 +15336,10 @@ { "name": "tfloat_in", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -14817,6 +15352,7 @@ { "name": "tfloat_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -14825,7 +15361,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "maxdd", @@ -14837,9 +15373,26 @@ { "name": "tint_from_mfjson", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tbigint_from_mfjson", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { @@ -14852,9 +15405,26 @@ { "name": "tint_in", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tbigint_in", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { @@ -14867,6 +15437,7 @@ { "name": "tint_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -14875,16 +15446,33 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tbigint_out", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { "name": "ttext_from_mfjson", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -14897,9 +15485,10 @@ { "name": "ttext_in", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -14912,6 +15501,7 @@ { "name": "ttext_out", "file": "meos.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -14920,16 +15510,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tbool_from_base_temp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -14940,16 +15531,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tboolinst_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -14960,16 +15552,17 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tboolseq_from_base_tstzset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -14980,16 +15573,17 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "tboolseq_from_base_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15000,16 +15594,17 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "tboolseqset_from_base_tstzspanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -15020,31 +15615,33 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "temporal_copy", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_from_base_temp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -15055,16 +15652,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloatinst_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -15075,16 +15673,17 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tfloatseq_from_base_tstzset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15095,16 +15694,17 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "tfloatseq_from_base_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15115,7 +15715,7 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "interp", @@ -15127,9 +15727,10 @@ { "name": "tfloatseqset_from_base_tstzspanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -15140,7 +15741,7 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "interp", @@ -15152,9 +15753,10 @@ { "name": "tint_from_base_temp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -15165,16 +15767,38 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tbigint_from_base_temp", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { "name": "tintinst_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { @@ -15185,16 +15809,38 @@ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tbigintinst_make", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" } ] }, { "name": "tintseq_from_base_tstzset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15205,16 +15851,38 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tbigintseq_from_base_tstzset", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" } ] }, { "name": "tintseq_from_base_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -15225,16 +15893,38 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" + } + ] + }, + { + "name": "tbigintseq_from_base_tstzspan", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" } ] }, { "name": "tintseqset_from_base_tstzspanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { @@ -15245,22 +15935,44 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "tbigintseqset_from_base_tstzspanset", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" } ] }, { "name": "tsequence_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "instants", "cType": "TInstant **", - "canonical": "TInstant **" + "canonical": "struct TInstant **" }, { "name": "count", @@ -15292,15 +16004,16 @@ { "name": "tsequenceset_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "sequences", "cType": "TSequence **", - "canonical": "TSequence **" + "canonical": "struct TSequence **" }, { "name": "count", @@ -15317,15 +16030,16 @@ { "name": "tsequenceset_make_gaps", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "instants", "cType": "TInstant **", - "canonical": "TInstant **" + "canonical": "struct TInstant **" }, { "name": "count", @@ -15352,196 +16066,272 @@ { "name": "ttext_from_base_temp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ttextinst_make", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "ttextseq_from_base_tstzset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "ttextseq_from_base_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "ttextseqset_from_base_tstzspanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "tbool_to_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_to_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_to_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tfloat_to_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { "name": "tint_to_tfloat", "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tint_to_tbigint", + "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tbigint_to_tint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tbigint_to_tfloat", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { "name": "tnumber_to_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tnumber_to_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tbool_end_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -15550,13 +16340,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tbool_start_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -15565,13 +16356,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tbool_value_at_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -15580,12 +16372,12 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "strict", @@ -15595,13 +16387,14 @@ { "name": "value", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "bool *" } ] }, { "name": "tbool_value_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -15610,7 +16403,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "n", @@ -15620,22 +16413,23 @@ { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "bool *" } ] }, { "name": "tbool_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool *", - "canonical": "unsigned char *" + "canonical": "bool *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -15647,6 +16441,7 @@ { "name": "temporal_duration", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Interval *", "canonical": "Interval *" @@ -15655,7 +16450,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "boundspan", @@ -15667,75 +16462,80 @@ { "name": "temporal_end_instant", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_end_sequence", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_end_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_hash", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_instant_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "n", @@ -15747,15 +16547,16 @@ { "name": "temporal_instants", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant **", - "canonical": "TInstant **" + "canonical": "struct TInstant **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -15767,6 +16568,7 @@ { "name": "temporal_interp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "const char *", "canonical": "const char *" @@ -15775,13 +16577,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_lower_inc", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -15790,43 +16593,46 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_max_instant", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_min_instant", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_num_instants", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -15835,13 +16641,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_num_sequences", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -15850,13 +16657,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_num_timestamps", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -15865,22 +16673,23 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_segm_duration", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "duration", @@ -15902,15 +16711,16 @@ { "name": "temporal_segments", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence **", - "canonical": "TSequence **" + "canonical": "struct TSequence **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -15922,15 +16732,16 @@ { "name": "temporal_sequence_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -15942,15 +16753,16 @@ { "name": "temporal_sequences", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence **", - "canonical": "TSequence **" + "canonical": "struct TSequence **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -15962,60 +16774,64 @@ { "name": "temporal_start_instant", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_start_sequence", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_start_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_stops", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "maxdist", @@ -16032,6 +16848,23 @@ { "name": "temporal_subtype", "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_basetype_name", + "file": "meos.h", + "family": "CORE", "returnType": { "c": "const char *", "canonical": "const char *" @@ -16040,37 +16873,39 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_time", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_timestamps", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TimestampTz *", - "canonical": "long *" + "canonical": "TimestampTz *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -16082,6 +16917,7 @@ { "name": "temporal_timestamptz_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -16090,7 +16926,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "n", @@ -16100,13 +16936,14 @@ { "name": "result", "cType": "TimestampTz *", - "canonical": "long *" + "canonical": "TimestampTz *" } ] }, { "name": "temporal_upper_inc", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -16115,28 +16952,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "tfloat_avg_value", - "file": "meos.h", - "returnType": { - "c": "double", - "canonical": "double" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_end_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -16145,13 +16968,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_min_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -16160,13 +16984,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_max_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -16175,13 +17000,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_start_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -16190,13 +17016,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_value_at_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -16205,12 +17032,12 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "strict", @@ -16227,6 +17054,7 @@ { "name": "tfloat_value_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -16235,7 +17063,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "n", @@ -16252,6 +17080,7 @@ { "name": "tfloat_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double *", "canonical": "double *" @@ -16260,7 +17089,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -16272,6 +17101,7 @@ { "name": "tint_end_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -16280,13 +17110,30 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tbigint_end_value", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { "name": "tint_max_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -16295,13 +17142,30 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tbigint_max_value", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { "name": "tint_min_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -16310,13 +17174,30 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tbigint_min_value", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { "name": "tint_start_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -16325,13 +17206,61 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tbigint_start_value", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tbigint_value_at_timestamptz", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "value", + "cType": "int64_t *", + "canonical": "int64_t *" } ] }, { "name": "tint_value_at_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -16340,12 +17269,12 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "strict", @@ -16362,6 +17291,7 @@ { "name": "tint_value_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -16370,7 +17300,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "n", @@ -16384,9 +17314,36 @@ } ] }, + { + "name": "tbigint_value_n", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "result", + "cType": "int64_t *", + "canonical": "int64_t *" + } + ] + }, { "name": "tint_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int *", "canonical": "int *" @@ -16395,7 +17352,28 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tbigint_values", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int64_t *", + "canonical": "int64_t *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" }, { "name": "count", @@ -16407,6 +17385,7 @@ { "name": "tnumber_avg_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -16415,13 +17394,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tnumber_integral", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -16430,13 +17410,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tnumber_twavg", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -16445,88 +17426,94 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tnumber_valuespans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ttext_end_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "text *", - "canonical": "struct varlena *" + "canonical": "text *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ttext_max_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "text *", - "canonical": "struct varlena *" + "canonical": "text *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ttext_min_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "text *", - "canonical": "struct varlena *" + "canonical": "text *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ttext_start_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "text *", - "canonical": "struct varlena *" + "canonical": "text *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ttext_value_at_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -16535,12 +17522,12 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "strict", @@ -16550,13 +17537,14 @@ { "name": "value", "cType": "text **", - "canonical": "struct varlena **" + "canonical": "text **" } ] }, { "name": "ttext_value_n", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -16565,7 +17553,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "n", @@ -16575,22 +17563,23 @@ { "name": "result", "cType": "text **", - "canonical": "struct varlena **" + "canonical": "text **" } ] }, { "name": "ttext_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "text **", - "canonical": "struct varlena **" + "canonical": "text **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -16602,6 +17591,7 @@ { "name": "float_degrees", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -16622,15 +17612,16 @@ { "name": "temparr_round", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal **", - "canonical": "Temporal **" + "canonical": "struct Temporal **" }, "params": [ { "name": "temp", "cType": "Temporal **", - "canonical": "Temporal **" + "canonical": "struct Temporal **" }, { "name": "count", @@ -16647,15 +17638,16 @@ { "name": "temporal_round", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "maxdd", @@ -16667,15 +17659,16 @@ { "name": "temporal_scale_time", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "duration", @@ -16687,15 +17680,16 @@ { "name": "temporal_set_interp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "interp", @@ -16707,15 +17701,16 @@ { "name": "temporal_shift_scale_time", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "shift", @@ -16732,15 +17727,16 @@ { "name": "temporal_shift_time", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "shift", @@ -16752,30 +17748,32 @@ { "name": "temporal_to_tinstant", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_to_tsequence", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "interp", @@ -16787,15 +17785,16 @@ { "name": "temporal_to_tsequenceset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "interp", @@ -16807,30 +17806,32 @@ { "name": "tfloat_ceil", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_degrees", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "normalize", @@ -16842,45 +17843,48 @@ { "name": "tfloat_floor", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_radians", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_scale_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "width", @@ -16892,15 +17896,16 @@ { "name": "tfloat_shift_scale_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "shift", @@ -16917,15 +17922,16 @@ { "name": "tfloat_shift_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "shift", @@ -16937,15 +17943,16 @@ { "name": "tint_scale_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "width", @@ -16954,18 +17961,40 @@ } ] }, + { + "name": "tbigint_scale_value", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "width", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "tint_shift_scale_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "shift", @@ -16979,18 +18008,45 @@ } ] }, + { + "name": "tbigint_shift_scale_value", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "shift", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "width", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "tint_shift_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "shift", @@ -16999,23 +18055,45 @@ } ] }, + { + "name": "tbigint_shift_value", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "shift", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "temporal_append_tinstant", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, { "name": "inst", "cType": "const TInstant *", - "canonical": "const TInstant *" + "canonical": "const struct TInstant *" }, { "name": "interp", @@ -17042,20 +18120,21 @@ { "name": "temporal_append_tsequence", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, { "name": "seq", "cType": "const TSequence *", - "canonical": "const TSequence *" + "canonical": "const struct TSequence *" }, { "name": "expand", @@ -17067,20 +18146,21 @@ { "name": "temporal_delete_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "connect", @@ -17092,20 +18172,21 @@ { "name": "temporal_delete_tstzset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "connect", @@ -17117,20 +18198,21 @@ { "name": "temporal_delete_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "connect", @@ -17142,20 +18224,21 @@ { "name": "temporal_delete_tstzspanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "connect", @@ -17167,20 +18250,21 @@ { "name": "temporal_insert", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "connect", @@ -17192,35 +18276,37 @@ { "name": "temporal_merge", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_merge_array", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temparr", "cType": "Temporal **", - "canonical": "Temporal **" + "canonical": "struct Temporal **" }, { "name": "count", @@ -17232,20 +18318,21 @@ { "name": "temporal_update", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "connect", @@ -17257,15 +18344,16 @@ { "name": "tbool_at_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "b", @@ -17277,15 +18365,16 @@ { "name": "tbool_minus_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "b", @@ -17297,20 +18386,21 @@ { "name": "temporal_after_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "strict", @@ -17322,150 +18412,158 @@ { "name": "temporal_at_max", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_at_min", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_at_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "temporal_at_tstzset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "temporal_at_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "temporal_at_tstzspanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "temporal_at_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "set", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "temporal_before_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "strict", @@ -17477,145 +18575,153 @@ { "name": "temporal_minus_max", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_minus_min", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_minus_timestamptz", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "temporal_minus_tstzset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "temporal_minus_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "temporal_minus_tstzspanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "temporal_minus_values", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "set", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "tfloat_at_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -17627,15 +18733,16 @@ { "name": "tfloat_minus_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -17647,15 +18754,16 @@ { "name": "tint_at_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -17667,15 +18775,16 @@ { "name": "tint_minus_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -17687,166 +18796,175 @@ { "name": "tnumber_at_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "span", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "tnumber_at_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "tnumber_at_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "tnumber_minus_span", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "span", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "tnumber_minus_spanset", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "tnumber_minus_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "ttext_at_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "text *", - "canonical": "struct varlena *" + "canonical": "text *" } ] }, { "name": "ttext_minus_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "text *", - "canonical": "struct varlena *" + "canonical": "text *" } ] }, { "name": "temporal_cmp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -17855,18 +18973,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_eq", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -17875,17 +18994,17 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ], "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, @@ -17896,6 +19015,7 @@ { "name": "temporal_ge", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -17904,18 +19024,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_gt", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -17924,18 +19045,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_le", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -17944,18 +19066,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_lt", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -17964,18 +19087,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_ne", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -17984,18 +19108,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_eq_bool_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18009,13 +19134,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_eq_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18029,13 +19155,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_eq_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18049,13 +19176,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_eq_tbool_bool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18064,7 +19192,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "b", @@ -18076,6 +19204,7 @@ { "name": "always_eq_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18084,18 +19213,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_eq_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18104,18 +19234,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_eq_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18124,7 +19255,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -18136,6 +19267,7 @@ { "name": "always_eq_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18144,7 +19276,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -18153,9 +19285,52 @@ } ] }, + { + "name": "always_eq_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "always_eq_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18164,18 +19339,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "always_ge_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18189,13 +19365,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ge_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18209,13 +19386,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ge_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18224,18 +19402,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ge_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18244,18 +19423,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ge_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18264,7 +19444,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -18276,6 +19456,7 @@ { "name": "always_ge_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18284,7 +19465,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -18293,9 +19474,52 @@ } ] }, + { + "name": "always_ge_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ge_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "always_ge_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18304,18 +19528,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "always_gt_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18329,13 +19554,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_gt_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18349,13 +19575,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_gt_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18364,18 +19591,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_gt_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18384,18 +19612,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_gt_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18404,7 +19633,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -18416,6 +19645,7 @@ { "name": "always_gt_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18424,7 +19654,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -18433,9 +19663,52 @@ } ] }, + { + "name": "always_gt_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_gt_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "always_gt_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18444,18 +19717,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "always_le_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18469,13 +19743,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_le_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18489,13 +19764,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_le_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18504,18 +19780,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_le_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18524,18 +19801,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_le_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18544,7 +19822,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -18556,6 +19834,7 @@ { "name": "always_le_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18564,7 +19843,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -18573,9 +19852,52 @@ } ] }, + { + "name": "always_le_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_le_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "always_le_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18584,18 +19906,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "always_lt_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18609,13 +19932,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_lt_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18629,13 +19953,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_lt_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18644,18 +19969,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_lt_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18664,18 +19990,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_lt_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18684,7 +20011,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -18696,6 +20023,7 @@ { "name": "always_lt_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18704,7 +20032,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -18713,9 +20041,52 @@ } ] }, + { + "name": "always_lt_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_lt_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "always_lt_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18724,18 +20095,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "always_ne_bool_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18749,13 +20121,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ne_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18769,13 +20142,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ne_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18789,13 +20163,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ne_tbool_bool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18804,7 +20179,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "b", @@ -18816,6 +20191,7 @@ { "name": "always_ne_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18824,18 +20200,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ne_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18844,18 +20221,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ne_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18864,7 +20242,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -18876,6 +20254,7 @@ { "name": "always_ne_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18884,7 +20263,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -18893,9 +20272,52 @@ } ] }, + { + "name": "always_ne_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "always_ne_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18904,18 +20326,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "ever_eq_bool_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18929,13 +20352,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_eq_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18949,13 +20373,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_eq_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18969,13 +20394,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_eq_tbool_bool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -18984,7 +20410,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "b", @@ -18996,6 +20422,7 @@ { "name": "ever_eq_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19004,18 +20431,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_eq_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19024,18 +20452,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_eq_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19044,7 +20473,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -19056,6 +20485,7 @@ { "name": "ever_eq_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19064,7 +20494,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -19073,9 +20503,52 @@ } ] }, + { + "name": "ever_eq_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "ever_eq_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19084,18 +20557,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "ever_ge_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19109,13 +20583,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ge_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19129,13 +20604,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ge_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19144,18 +20620,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ge_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19164,18 +20641,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ge_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19184,7 +20662,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -19196,6 +20674,7 @@ { "name": "ever_ge_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19204,7 +20683,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -19213,9 +20692,52 @@ } ] }, + { + "name": "ever_ge_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ge_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "ever_ge_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19224,18 +20746,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "ever_gt_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19249,13 +20772,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_gt_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19269,13 +20793,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_gt_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19284,18 +20809,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_gt_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19304,18 +20830,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_gt_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19324,7 +20851,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -19336,6 +20863,7 @@ { "name": "ever_gt_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19344,7 +20872,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -19353,9 +20881,52 @@ } ] }, + { + "name": "ever_gt_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_gt_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "ever_gt_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19364,18 +20935,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "ever_le_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19389,13 +20961,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_le_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19409,13 +20982,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_le_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19424,18 +20998,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_le_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19444,18 +21019,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_le_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19464,7 +21040,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -19476,6 +21052,7 @@ { "name": "ever_le_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19484,7 +21061,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -19493,9 +21070,52 @@ } ] }, + { + "name": "ever_le_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_le_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "ever_le_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19504,18 +21124,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "ever_lt_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19529,13 +21150,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_lt_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19549,13 +21171,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_lt_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19564,18 +21187,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_lt_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19584,18 +21208,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_lt_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19604,7 +21229,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -19616,6 +21241,7 @@ { "name": "ever_lt_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19624,7 +21250,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -19633,9 +21259,52 @@ } ] }, + { + "name": "ever_lt_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_lt_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "ever_lt_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19644,18 +21313,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "ever_ne_bool_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19669,13 +21339,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ne_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19689,13 +21360,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ne_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19709,13 +21381,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ne_tbool_bool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19724,7 +21397,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "b", @@ -19736,6 +21409,7 @@ { "name": "ever_ne_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19744,18 +21418,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ne_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19764,18 +21439,19 @@ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ne_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19784,7 +21460,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -19796,6 +21472,7 @@ { "name": "ever_ne_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19804,7 +21481,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -19813,9 +21490,52 @@ } ] }, + { + "name": "ever_ne_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "ever_ne_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -19824,21 +21544,22 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "teq_bool_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -19849,16 +21570,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "teq_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -19869,16 +21591,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "teq_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -19889,22 +21612,23 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "teq_tbool_bool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "b", @@ -19916,55 +21640,58 @@ { "name": "teq_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "teq_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "teq_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -19976,15 +21703,16 @@ { "name": "teq_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -19996,29 +21724,31 @@ { "name": "teq_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "tge_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20029,16 +21759,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tge_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20049,62 +21780,65 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tge_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tge_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tge_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -20116,15 +21850,16 @@ { "name": "tge_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -20136,29 +21871,31 @@ { "name": "tge_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "tgt_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20169,16 +21906,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgt_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20189,62 +21927,65 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgt_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgt_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgt_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -20256,15 +21997,16 @@ { "name": "tgt_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -20276,29 +22018,31 @@ { "name": "tgt_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "tle_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20309,16 +22053,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tle_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20329,62 +22074,65 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tle_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tle_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tle_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -20396,15 +22144,16 @@ { "name": "tle_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -20416,29 +22165,31 @@ { "name": "tle_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "tlt_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20449,16 +22200,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tlt_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20469,62 +22221,65 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tlt_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tlt_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tlt_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -20536,15 +22291,16 @@ { "name": "tlt_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -20556,29 +22312,31 @@ { "name": "tlt_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "tne_bool_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20589,16 +22347,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tne_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20609,16 +22368,17 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tne_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -20629,22 +22389,23 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tne_tbool_bool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "b", @@ -20656,55 +22417,58 @@ { "name": "tne_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tne_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tne_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -20716,15 +22480,16 @@ { "name": "tne_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -20736,35 +22501,37 @@ { "name": "tne_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "temporal_spans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -20776,15 +22543,16 @@ { "name": "temporal_split_each_n_spans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "elem_count", @@ -20801,15 +22569,16 @@ { "name": "temporal_split_n_spans", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "span_count", @@ -20826,15 +22595,16 @@ { "name": "tnumber_split_each_n_tboxes", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "elem_count", @@ -20851,15 +22621,16 @@ { "name": "tnumber_split_n_tboxes", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box_count", @@ -20876,15 +22647,16 @@ { "name": "tnumber_tboxes", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -20896,6 +22668,7 @@ { "name": "adjacent_numspan_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -20904,18 +22677,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "adjacent_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -20924,18 +22698,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "adjacent_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -20944,18 +22719,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "adjacent_temporal_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -20964,18 +22740,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "adjacent_tnumber_numspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -20984,18 +22761,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "adjacent_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21004,18 +22782,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "adjacent_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21024,18 +22803,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "adjacent_tstzspan_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21044,18 +22824,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contained_numspan_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21064,18 +22845,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contained_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21084,18 +22866,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contained_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21104,18 +22887,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contained_temporal_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21124,18 +22908,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contained_tnumber_numspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21144,18 +22929,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contained_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21164,18 +22950,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "contained_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21184,18 +22971,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contained_tstzspan_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21204,18 +22992,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contains_numspan_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21224,18 +23013,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contains_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21244,18 +23034,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contains_temporal_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21264,18 +23055,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contains_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21284,18 +23076,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contains_tnumber_numspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21304,18 +23097,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "contains_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21324,18 +23118,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "contains_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21344,18 +23139,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contains_tstzspan_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21364,18 +23160,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overlaps_numspan_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21384,18 +23181,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overlaps_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21404,18 +23202,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overlaps_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21424,18 +23223,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overlaps_temporal_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21444,18 +23244,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overlaps_tnumber_numspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21464,18 +23265,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overlaps_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21484,18 +23286,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "overlaps_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21504,18 +23307,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overlaps_tstzspan_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21524,18 +23328,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "same_numspan_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21544,18 +23349,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "same_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21564,18 +23370,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "same_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21584,18 +23391,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "same_temporal_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21604,18 +23412,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "same_tnumber_numspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21624,18 +23433,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "same_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21644,18 +23454,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "same_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21664,18 +23475,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "same_tstzspan_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21684,18 +23496,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "after_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21704,18 +23517,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "after_temporal_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21724,18 +23538,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "after_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21744,18 +23559,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "after_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21764,18 +23580,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "after_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21784,18 +23601,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "after_tstzspan_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21804,18 +23622,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "before_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21824,18 +23643,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "before_temporal_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21844,18 +23664,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "before_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21864,18 +23685,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "before_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21884,18 +23706,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "before_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21904,18 +23727,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "before_tstzspan_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21924,18 +23748,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "left_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21944,18 +23769,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "left_numspan_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21964,18 +23790,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "left_tnumber_numspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -21984,18 +23811,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "left_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22004,18 +23832,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "left_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22024,18 +23853,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overafter_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22044,18 +23874,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overafter_temporal_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22064,18 +23895,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overafter_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22084,18 +23916,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overafter_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22104,18 +23937,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "overafter_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22124,18 +23958,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overafter_tstzspan_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22144,18 +23979,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overbefore_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22164,18 +24000,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overbefore_temporal_tstzspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22184,18 +24021,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overbefore_temporal_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22204,18 +24042,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overbefore_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22224,18 +24063,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "overbefore_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22244,18 +24084,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overbefore_tstzspan_temporal", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22264,18 +24105,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overleft_numspan_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22284,18 +24126,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overleft_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22304,18 +24147,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overleft_tnumber_numspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22324,18 +24168,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overleft_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22344,18 +24189,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "overleft_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22364,18 +24210,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overright_numspan_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22384,18 +24231,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overright_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22404,18 +24252,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overright_tnumber_numspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22424,18 +24273,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "overright_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22444,18 +24294,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "overright_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22464,18 +24315,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "right_numspan_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22484,18 +24336,19 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "right_tbox_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22504,18 +24357,19 @@ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "right_tnumber_numspan", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22524,18 +24378,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "right_tnumber_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22544,18 +24399,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "right_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -22564,21 +24420,22 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tand_bool_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -22589,22 +24446,23 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tand_tbool_bool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "b", @@ -22616,59 +24474,63 @@ { "name": "tand_tbool_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tbool_when_true", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SpanSet *", - "canonical": "SpanSet *" + "canonical": "struct SpanSet *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tnot_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tor_bool_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -22679,22 +24541,23 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tor_tbool_bool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "b", @@ -22706,29 +24569,31 @@ { "name": "tor_tbool_tbool", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "add_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -22739,16 +24604,17 @@ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "add_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -22759,22 +24625,23 @@ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "add_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -22786,15 +24653,16 @@ { "name": "add_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -22803,32 +24671,76 @@ } ] }, + { + "name": "add_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "add_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "add_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "tnumber2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "div_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -22839,16 +24751,17 @@ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "div_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -22859,22 +24772,23 @@ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "div_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -22886,15 +24800,16 @@ { "name": "div_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -22903,32 +24818,76 @@ } ] }, + { + "name": "div_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "div_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "div_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "tnumber2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "mult_float_tfloat", + "name": "mul_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -22939,16 +24898,17 @@ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "mult_int_tint", + "name": "mul_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -22959,22 +24919,23 @@ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "mult_tfloat_float", + "name": "mul_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -22984,17 +24945,18 @@ ] }, { - "name": "mult_tint_int", + "name": "mul_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -23004,31 +24966,75 @@ ] }, { - "name": "mult_tnumber_tnumber", + "name": "mul_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "mul_tbigint_bigint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, + { + "name": "mul_tnumber_tnumber", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "tnumber2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "sub_float_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -23039,16 +25045,17 @@ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "sub_int_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -23059,22 +25066,23 @@ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "sub_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -23086,15 +25094,16 @@ { "name": "sub_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -23103,119 +25112,217 @@ } ] }, + { + "name": "sub_bigint_tbigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "sub_tbigint_bigint", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "tnumber", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, { "name": "sub_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "tnumber1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "tnumber2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_derivative", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_exp", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_ln", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tfloat_log10", "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tfloat_sin", + "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tfloat_cos", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tfloat_tan", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { "name": "tnumber_abs", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tnumber_trend", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "float_angular_difference", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -23236,150 +25343,159 @@ { "name": "tnumber_angular_difference", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tnumber_delta_value", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "textcat_text_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "textcat_ttext_text", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "txt", "cType": "const text *", - "canonical": "const struct varlena *" + "canonical": "const text *" } ] }, { "name": "textcat_ttext_ttext", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ttext_initcap", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ttext_upper", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ttext_lower", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tdistance_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -23391,15 +25507,16 @@ { "name": "tdistance_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -23411,26 +25528,28 @@ { "name": "tdistance_tnumber_tnumber", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "nad_tboxfloat_tboxfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -23439,18 +25558,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "nad_tboxint_tboxint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -23459,18 +25579,19 @@ { "name": "box1", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "box2", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "nad_tfloat_float", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -23479,7 +25600,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "d", @@ -23491,6 +25612,7 @@ { "name": "nad_tfloat_tfloat", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -23499,18 +25621,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "nad_tfloat_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -23519,18 +25642,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "nad_tint_int", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -23539,7 +25663,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "i", @@ -23551,6 +25675,7 @@ { "name": "nad_tint_tbox", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -23559,18 +25684,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" } ] }, { "name": "nad_tint_tint", "file": "meos.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -23579,18 +25705,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tbool_tand_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -23604,68 +25731,35 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "tbool_tor_transfn", + "name": "tbool_tand_combinefn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" }, "params": [ { - "name": "state", + "name": "state1", "cType": "SkipList *", "canonical": "struct SkipList *" }, { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_extent_transfn", - "file": "meos.h", - "returnType": { - "c": "Span *", - "canonical": "Span *" - }, - "params": [ - { - "name": "s", - "cType": "Span *", - "canonical": "Span *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "temporal_tagg_finalfn", - "file": "meos.h", - "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" - }, - "params": [ - { - "name": "state", + "name": "state2", "cType": "SkipList *", "canonical": "struct SkipList *" } ] }, { - "name": "temporal_tcount_transfn", + "name": "tbool_tor_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -23679,73 +25773,72 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "tfloat_tmax_transfn", + "name": "tbool_tor_combinefn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" }, "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": "tfloat_tmin_transfn", + "name": "temporal_extent_transfn", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" + "c": "Span *", + "canonical": "struct Span *" }, "params": [ { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "tfloat_tsum_transfn", + "name": "temporal_tagg_finalfn", "file": "meos.h", + "family": "CORE", "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { "name": "state", "cType": "SkipList *", "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" } ] }, { - "name": "tfloat_wmax_transfn", + "name": "temporal_tcount_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -23759,43 +25852,35 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "canonical": "const struct Temporal *" } ] }, { - "name": "tfloat_wmin_transfn", + "name": "temporal_tcount_combinefn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" }, "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": "tfloat_wsum_transfn", + "name": "tfloat_tmax_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -23809,58 +25894,35 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "canonical": "const struct Temporal *" } ] }, { - "name": "timestamptz_tcount_transfn", + "name": "tfloat_tmax_combinefn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" }, "params": [ { - "name": "state", + "name": "state1", "cType": "SkipList *", "canonical": "struct SkipList *" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" - } - ] - }, - { - "name": "tint_tmax_transfn", - "file": "meos.h", - "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" - }, - "params": [ - { - "name": "state", + "name": "state2", "cType": "SkipList *", "canonical": "struct SkipList *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" } ] }, { - "name": "tint_tmin_transfn", + "name": "tfloat_tmin_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -23874,33 +25936,35 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "tint_tsum_transfn", + "name": "tfloat_tmin_combinefn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" }, "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_wmax_transfn", + "name": "tfloat_tsum_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -23914,43 +25978,35 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "interv", - "cType": "const Interval *", - "canonical": "const Interval *" + "canonical": "const struct Temporal *" } ] }, { - "name": "tint_wmin_transfn", + "name": "tfloat_tsum_combinefn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" }, "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_wsum_transfn", + "name": "tfloat_wmax_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -23964,7 +26020,284 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + }, + { + "name": "interv", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tfloat_wmin_transfn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interv", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tfloat_wsum_transfn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interv", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "timestamptz_tcount_transfn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tint_tmax_transfn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tint_tmax_combinefn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "tint_tmin_transfn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tint_tmin_combinefn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "tint_tsum_transfn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tint_tsum_combinefn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "tint_wmax_transfn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interv", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tint_wmin_transfn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interv", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tint_wsum_transfn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" }, { "name": "interv", @@ -23976,29 +26309,31 @@ { "name": "tnumber_extent_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tnumber_tavg_finalfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -24011,6 +26346,7 @@ { "name": "tnumber_tavg_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -24024,13 +26360,35 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnumber_tavg_combinefn", + "file": "meos.h", + "family": "CORE", + "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", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -24044,7 +26402,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "interv", @@ -24056,6 +26414,7 @@ { "name": "tstzset_tcount_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -24069,13 +26428,14 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "tstzspan_tcount_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -24089,13 +26449,14 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "tstzspanset_tcount_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -24109,13 +26470,56 @@ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "temporal_merge_transfn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_merge_combinefn", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state1", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "state2", + "cType": "SkipList *", + "canonical": "struct SkipList *" } ] }, { "name": "ttext_tmax_transfn", "file": "meos.h", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -24129,13 +26533,35 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ttext_tmax_combinefn", + "file": "meos.h", + "family": "CORE", + "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", + "family": "CORE", "returnType": { "c": "SkipList *", "canonical": "struct SkipList *" @@ -24149,25 +26575,47 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ttext_tmin_combinefn", + "file": "meos.h", + "family": "CORE", + "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", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "eps_dist", + "name": "dist", "cType": "double", "canonical": "double" }, @@ -24181,18 +26629,19 @@ { "name": "temporal_simplify_max_dist", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "eps_dist", + "name": "dist", "cType": "double", "canonical": "double" }, @@ -24206,15 +26655,16 @@ { "name": "temporal_simplify_min_dist", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "dist", @@ -24226,15 +26676,16 @@ { "name": "temporal_simplify_min_tdelta", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "mint", @@ -24246,15 +26697,16 @@ { "name": "temporal_tprecision", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "duration", @@ -24264,22 +26716,23 @@ { "name": "origin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "temporal_tsample", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "duration", @@ -24289,7 +26742,7 @@ { "name": "origin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "interp", @@ -24301,6 +26754,7 @@ { "name": "temporal_dyntimewarp_distance", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -24309,18 +26763,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_dyntimewarp_path", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Match *", "canonical": "Match *" @@ -24329,12 +26784,12 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -24346,6 +26801,7 @@ { "name": "temporal_frechet_distance", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -24354,18 +26810,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "temporal_frechet_path", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Match *", "canonical": "Match *" @@ -24374,12 +26831,12 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -24391,6 +26848,7 @@ { "name": "temporal_hausdorff_distance", "file": "meos.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -24399,27 +26857,64 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_ext_kalman_filter", + "file": "meos.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "duration", @@ -24429,7 +26924,7 @@ { "name": "origin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -24441,15 +26936,16 @@ { "name": "temporal_time_split", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal **", - "canonical": "Temporal **" + "canonical": "struct Temporal **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "duration", @@ -24459,12 +26955,12 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "time_bins", "cType": "TimestampTz **", - "canonical": "long **" + "canonical": "TimestampTz **" }, { "name": "count", @@ -24476,15 +26972,16 @@ { "name": "tfloat_time_boxes", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "duration", @@ -24494,7 +26991,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -24506,15 +27003,16 @@ { "name": "tfloat_value_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "vsize", @@ -24536,15 +27034,16 @@ { "name": "tfloat_value_boxes", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "vsize", @@ -24566,15 +27065,16 @@ { "name": "tfloat_value_split", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal **", - "canonical": "Temporal **" + "canonical": "struct Temporal **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "size", @@ -24601,15 +27101,16 @@ { "name": "tfloat_value_time_boxes", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "vsize", @@ -24629,7 +27130,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -24641,15 +27142,16 @@ { "name": "tfloat_value_time_split", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal **", - "canonical": "Temporal **" + "canonical": "struct Temporal **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "vsize", @@ -24669,7 +27171,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "value_bins", @@ -24679,7 +27181,7 @@ { "name": "time_bins", "cType": "TimestampTz **", - "canonical": "long **" + "canonical": "TimestampTz **" }, { "name": "count", @@ -24691,15 +27193,16 @@ { "name": "tfloatbox_time_tiles", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "duration", @@ -24709,7 +27212,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -24721,15 +27224,16 @@ { "name": "tfloatbox_value_tiles", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "vsize", @@ -24751,15 +27255,16 @@ { "name": "tfloatbox_value_time_tiles", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "vsize", @@ -24779,7 +27284,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -24791,15 +27296,16 @@ { "name": "tint_time_boxes", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "duration", @@ -24809,7 +27315,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -24821,15 +27327,16 @@ { "name": "tint_value_bins", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "vsize", @@ -24851,15 +27358,16 @@ { "name": "tint_value_boxes", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "vsize", @@ -24881,15 +27389,16 @@ { "name": "tint_value_split", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal **", - "canonical": "Temporal **" + "canonical": "struct Temporal **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "vsize", @@ -24916,15 +27425,16 @@ { "name": "tint_value_time_boxes", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "vsize", @@ -24944,7 +27454,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -24956,15 +27466,16 @@ { "name": "tint_value_time_split", "file": "meos.h", + "family": "CORE", "returnType": { "c": "Temporal **", - "canonical": "Temporal **" + "canonical": "struct Temporal **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "size", @@ -24984,7 +27495,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "value_bins", @@ -24994,7 +27505,7 @@ { "name": "time_bins", "cType": "TimestampTz **", - "canonical": "long **" + "canonical": "TimestampTz **" }, { "name": "count", @@ -25006,15 +27517,16 @@ { "name": "tintbox_time_tiles", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "duration", @@ -25024,7 +27536,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -25036,15 +27548,16 @@ { "name": "tintbox_value_tiles", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "xsize", @@ -25066,15 +27579,16 @@ { "name": "tintbox_value_time_tiles", "file": "meos.h", + "family": "CORE", "returnType": { "c": "TBox *", - "canonical": "TBox *" + "canonical": "struct TBox *" }, "params": [ { "name": "box", "cType": "const TBox *", - "canonical": "const TBox *" + "canonical": "const struct TBox *" }, { "name": "xsize", @@ -25094,7 +27608,7 @@ { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "count", @@ -25103,9 +27617,212 @@ } ] }, + { + "name": "box3d_from_gbox", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "BOX3D *", + "canonical": "BOX3D *" + }, + "params": [ + { + "name": "box", + "cType": "const GBOX *", + "canonical": "const GBOX *" + } + ] + }, + { + "name": "box3d_make", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "BOX3D *", + "canonical": "BOX3D *" + }, + "params": [ + { + "name": "xmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "xmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymin", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "box3d_in", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "BOX3D *", + "canonical": "BOX3D *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "box3d_out", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "box", + "cType": "const BOX3D *", + "canonical": "const BOX3D *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "gbox_make", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "GBOX *", + "canonical": "GBOX *" + }, + "params": [ + { + "name": "hasz", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hasm", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "geodetic", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "xmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "xmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymin", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "mmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "mmax", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "gbox_in", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "GBOX *", + "canonical": "GBOX *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "gbox_out", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "box", + "cType": "const GBOX *", + "canonical": "const GBOX *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, { "name": "geo_as_ewkb", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "uint8_t *", "canonical": "unsigned char *" @@ -25113,8 +27830,8 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "endian", @@ -25123,14 +27840,15 @@ }, { "name": "size", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "size_t *" } ] }, { "name": "geo_as_ewkt", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -25138,8 +27856,8 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "precision", @@ -25151,6 +27869,7 @@ { "name": "geo_as_geojson", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -25158,8 +27877,8 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "option", @@ -25181,6 +27900,7 @@ { "name": "geo_as_hexewkb", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -25188,8 +27908,8 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "endian", @@ -25201,6 +27921,7 @@ { "name": "geo_as_text", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -25208,8 +27929,8 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "precision", @@ -25221,9 +27942,10 @@ { "name": "geo_from_ewkb", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { @@ -25233,12 +27955,12 @@ }, { "name": "wkb_size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "size_t" }, { "name": "srid", - "cType": "int32", + "cType": "int32_t", "canonical": "int" } ] @@ -25246,9 +27968,10 @@ { "name": "geo_from_geojson", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { @@ -25261,9 +27984,10 @@ { "name": "geo_from_text", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { @@ -25281,6 +28005,7 @@ { "name": "geo_out", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -25288,32 +28013,18 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" - } - ] - }, - { - "name": "geog_from_binary", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ - { - "name": "wkb_bytea", - "cType": "const char *", - "canonical": "const char *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geog_from_hexewkb", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { @@ -25326,9 +28037,10 @@ { "name": "geog_in", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { @@ -25338,7 +28050,7 @@ }, { "name": "typmod", - "cType": "int32", + "cType": "int", "canonical": "int" } ] @@ -25346,9 +28058,10 @@ { "name": "geom_from_hexewkb", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { @@ -25361,9 +28074,10 @@ { "name": "geom_in", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { @@ -25373,162 +28087,91 @@ }, { "name": "typmod", - "cType": "int32", + "cType": "int", "canonical": "int" } ] }, { - "name": "box3d_make", + "name": "geo_copy", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { - "name": "xmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymin", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymax", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "zmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "box3d_out", + "name": "geogpoint_make2d", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "char *", - "canonical": "char *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { - "name": "box", - "cType": "const int *", - "canonical": "const int *" + "name": "srid", + "cType": "int32_t", + "canonical": "int" }, { - "name": "maxdd", - "cType": "int", - "canonical": "int" + "name": "x", + "cType": "double", + "canonical": "double" + }, + { + "name": "y", + "cType": "double", + "canonical": "double" } ] }, { - "name": "gbox_make", + "name": "geogpoint_make3dz", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { - "name": "hasz", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "xmin", - "cType": "double", - "canonical": "double" - }, - { - "name": "xmax", - "cType": "double", - "canonical": "double" - }, - { - "name": "ymin", - "cType": "double", - "canonical": "double" + "name": "srid", + "cType": "int32_t", + "canonical": "int" }, { - "name": "ymax", + "name": "x", "cType": "double", "canonical": "double" }, { - "name": "zmin", + "name": "y", "cType": "double", "canonical": "double" }, { - "name": "zmax", + "name": "z", "cType": "double", "canonical": "double" } ] }, { - "name": "gbox_out", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "box", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "geo_copy", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ - { - "name": "g", - "cType": "const int *", - "canonical": "const int *" - } - ] - }, - { - "name": "geogpoint_make2d", + "name": "geompoint_make2d", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { @@ -25549,66 +28192,12 @@ ] }, { - "name": "geogpoint_make3dz", + "name": "geompoint_make3dz", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" - }, - { - "name": "z", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "geompoint_make2d", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" - }, - "params": [ - { - "name": "srid", - "cType": "int32_t", - "canonical": "int" - }, - { - "name": "x", - "cType": "double", - "canonical": "double" - }, - { - "name": "y", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "geompoint_make3dz", - "file": "meos_geo.h", - "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { @@ -25636,51 +28225,55 @@ { "name": "geom_to_geog", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geog_to_geom", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "geog", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geo_is_empty", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geo_is_unitary", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -25688,14 +28281,15 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geo_typename", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "const char *", "canonical": "const char *" @@ -25711,15 +28305,16 @@ { "name": "geog_area", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "use_spheroid", @@ -25731,15 +28326,16 @@ { "name": "geog_centroid", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "use_spheroid", @@ -25751,15 +28347,16 @@ { "name": "geog_length", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "use_spheroid", @@ -25771,15 +28368,16 @@ { "name": "geog_perimeter", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" }, "params": [ { - "name": "g", - "cType": "const int *", - "canonical": "const int *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "use_spheroid", @@ -25791,6 +28389,7 @@ { "name": "geom_azimuth", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -25798,13 +28397,13 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "result", @@ -25816,6 +28415,7 @@ { "name": "geom_length", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -25823,14 +28423,15 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_perimeter", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -25838,14 +28439,15 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "line_numpoints", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -25853,23 +28455,24 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "line_point_n", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "n", @@ -25881,30 +28484,32 @@ { "name": "geo_reverse", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geo_round", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "maxdd", @@ -25916,15 +28521,16 @@ { "name": "geo_set_srid", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "srid", @@ -25936,6 +28542,7 @@ { "name": "geo_srid", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int32_t", "canonical": "int" @@ -25943,23 +28550,24 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geo_transform", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "srid_to", @@ -25971,15 +28579,16 @@ { "name": "geo_transform_pipeline", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "pipeline", @@ -26001,15 +28610,16 @@ { "name": "geo_collect_garray", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gsarr", - "cType": "int **", - "canonical": "int **" + "cType": "GSERIALIZED **", + "canonical": "GSERIALIZED **" }, { "name": "count", @@ -26021,15 +28631,16 @@ { "name": "geo_makeline_garray", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gsarr", - "cType": "int **", - "canonical": "int **" + "cType": "GSERIALIZED **", + "canonical": "GSERIALIZED **" }, { "name": "count", @@ -26041,6 +28652,7 @@ { "name": "geo_num_points", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -26048,14 +28660,15 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geo_num_geos", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -26063,23 +28676,24 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geo_geo_n", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "n", @@ -26091,15 +28705,16 @@ { "name": "geo_pointarr", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int **", - "canonical": "int **" + "c": "GSERIALIZED **", + "canonical": "GSERIALIZED **" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "count", @@ -26111,30 +28726,32 @@ { "name": "geo_points", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_array_union", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gsarr", - "cType": "int **", - "canonical": "int **" + "cType": "GSERIALIZED **", + "canonical": "GSERIALIZED **" }, { "name": "count", @@ -26146,30 +28763,32 @@ { "name": "geom_boundary", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_buffer", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "size", @@ -26186,105 +28805,111 @@ { "name": "geom_centroid", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_convex_hull", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_difference2d", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_intersection2d", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_intersection2d_coll", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_min_bounding_radius", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "geom", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "radius", @@ -26296,55 +28921,58 @@ { "name": "geom_shortestline2d", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { - "name": "s2", - "cType": "const int *", - "canonical": "const int *" + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_shortestline3d", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { - "name": "s2", - "cType": "const int *", - "canonical": "const int *" + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_unary_union", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "prec", @@ -26356,15 +28984,16 @@ { "name": "line_interpolate_point", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "distance_fraction", @@ -26381,6 +29010,7 @@ { "name": "line_locate_point", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -26388,28 +29018,29 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "line_substring", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "from", @@ -26426,6 +29057,7 @@ { "name": "geog_dwithin", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26433,13 +29065,13 @@ "params": [ { "name": "g1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "g2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "tolerance", @@ -26456,6 +29088,7 @@ { "name": "geog_intersects", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26463,13 +29096,13 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "use_spheroid", @@ -26481,6 +29114,7 @@ { "name": "geom_contains", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26488,19 +29122,20 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_covers", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26508,19 +29143,20 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_disjoint2d", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26528,19 +29164,46 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "geom_dwithin", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" } ] }, { "name": "geom_dwithin2d", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26548,13 +29211,13 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "tolerance", @@ -26566,6 +29229,7 @@ { "name": "geom_dwithin3d", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26573,13 +29237,13 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "tolerance", @@ -26588,9 +29252,31 @@ } ] }, + { + "name": "geom_intersects", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, { "name": "geom_intersects2d", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26598,19 +29284,20 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_intersects3d", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26618,19 +29305,20 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_relate_pattern", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26638,13 +29326,13 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "patt", @@ -26656,6 +29344,7 @@ { "name": "geom_touches", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26663,28 +29352,29 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geo_stboxes", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "count", @@ -26696,15 +29386,16 @@ { "name": "geo_split_each_n_stboxes", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "elem_count", @@ -26721,15 +29412,16 @@ { "name": "geo_split_n_stboxes", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "box_count", @@ -26746,6 +29438,7 @@ { "name": "geog_distance", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -26753,19 +29446,20 @@ "params": [ { "name": "g1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "g2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_distance2d", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -26773,19 +29467,20 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geom_distance3d", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -26793,19 +29488,20 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geo_equals", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -26813,19 +29509,20 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geo_same", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26833,22 +29530,23 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geogset_in", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { @@ -26861,9 +29559,10 @@ { "name": "geomset_in", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { @@ -26873,9 +29572,31 @@ } ] }, + { + "name": "spatialset_out", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, { "name": "spatialset_as_text", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -26884,7 +29605,7 @@ { "name": "set", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "maxdd", @@ -26896,6 +29617,7 @@ { "name": "spatialset_as_ewkt", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -26904,7 +29626,7 @@ { "name": "set", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "maxdd", @@ -26916,15 +29638,16 @@ { "name": "geoset_make", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "values", - "cType": "int **", - "canonical": "int **" + "cType": "GSERIALIZED **", + "canonical": "GSERIALIZED **" }, { "name": "count", @@ -26936,51 +29659,55 @@ { "name": "geo_to_set", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "geoset_end_value", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "geoset_start_value", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "geoset_value_n", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -26989,7 +29716,7 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "n", @@ -26998,29 +29725,36 @@ }, { "name": "result", - "cType": "int **", - "canonical": "int **" + "cType": "GSERIALIZED **", + "canonical": "GSERIALIZED **" } ] }, { "name": "geoset_values", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int **", - "canonical": "int **" + "c": "GSERIALIZED **", + "canonical": "GSERIALIZED **" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { "name": "contained_geo_set", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27028,19 +29762,20 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "contains_set_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27049,167 +29784,175 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "gs", - "cType": "int *", - "canonical": "int *" + "cType": "GSERIALIZED *", + "canonical": "GSERIALIZED *" } ] }, { "name": "geo_union_transfn", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "state", "cType": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "intersection_geo_set", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "intersection_set_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "minus_geo_set", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "minus_set_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "union_geo_set", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "union_set_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "spatialset_set_srid", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "srid", @@ -27221,6 +29964,7 @@ { "name": "spatialset_srid", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int32_t", "canonical": "int" @@ -27229,22 +29973,23 @@ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "spatialset_transform", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "srid", @@ -27256,15 +30001,16 @@ { "name": "spatialset_transform_pipeline", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Set *", - "canonical": "Set *" + "canonical": "struct Set *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" }, { "name": "pipelinestr", @@ -27286,6 +30032,7 @@ { "name": "stbox_as_hexwkb", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -27294,7 +30041,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "variant", @@ -27303,14 +30050,15 @@ }, { "name": "size", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "size_t *" } ] }, { "name": "stbox_as_wkb", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "uint8_t *", "canonical": "unsigned char *" @@ -27319,7 +30067,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "variant", @@ -27328,17 +30076,18 @@ }, { "name": "size_out", - "cType": "int *", - "canonical": "int *" + "cType": "size_t *", + "canonical": "size_t *" } ] }, { "name": "stbox_from_hexwkb", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { @@ -27351,9 +30100,10 @@ { "name": "stbox_from_wkb", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { @@ -27363,17 +30113,18 @@ }, { "name": "size", - "cType": "int", - "canonical": "int" + "cType": "size_t", + "canonical": "size_t" } ] }, { "name": "stbox_in", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { @@ -27386,6 +30137,7 @@ { "name": "stbox_out", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -27394,7 +30146,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "maxdd", @@ -27406,64 +30158,68 @@ { "name": "geo_timestamptz_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "geo_tstzspan_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "stbox_copy", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_make", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { @@ -27483,7 +30239,7 @@ }, { "name": "srid", - "cType": "int32", + "cType": "int32_t", "canonical": "int" }, { @@ -27519,163 +30275,174 @@ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "geo_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "spatialset_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "stbox_to_box3d", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "BOX3D *", + "canonical": "BOX3D *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_to_gbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GBOX *", + "canonical": "GBOX *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_to_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_to_tstzspan", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Span *", - "canonical": "Span *" + "canonical": "struct Span *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "timestamptz_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tstzset_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "tstzspan_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { "name": "tstzspanset_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" } ] }, { "name": "stbox_area", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -27684,7 +30451,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "spheroid", @@ -27696,41 +30463,44 @@ { "name": "stbox_hash", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "uint32", - "canonical": "unsigned int" + "c": "int", + "canonical": "int" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_hash_extended", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "uint64", - "canonical": "unsigned long" + "c": "int", + "canonical": "int" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "seed", - "cType": "uint64", - "canonical": "unsigned long" + "cType": "int", + "canonical": "int" } ] }, { "name": "stbox_hast", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27739,13 +30509,14 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_hasx", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27754,13 +30525,14 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_hasz", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27769,13 +30541,14 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_isgeodetic", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27784,13 +30557,14 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_perimeter", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -27799,7 +30573,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "spheroid", @@ -27811,6 +30585,7 @@ { "name": "stbox_tmax", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27819,18 +30594,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "result", "cType": "TimestampTz *", - "canonical": "long *" + "canonical": "TimestampTz *" } ] }, { "name": "stbox_tmax_inc", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27839,18 +30615,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "bool *" } ] }, { "name": "stbox_tmin", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27859,18 +30636,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "result", "cType": "TimestampTz *", - "canonical": "long *" + "canonical": "TimestampTz *" } ] }, { "name": "stbox_tmin_inc", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27879,18 +30657,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "result", "cType": "bool *", - "canonical": "unsigned char *" + "canonical": "bool *" } ] }, { "name": "stbox_volume", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -27899,13 +30678,14 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_xmax", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27914,7 +30694,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "result", @@ -27926,6 +30706,7 @@ { "name": "stbox_xmin", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27934,7 +30715,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "result", @@ -27946,6 +30727,7 @@ { "name": "stbox_ymax", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27954,7 +30736,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "result", @@ -27966,6 +30748,7 @@ { "name": "stbox_ymin", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27974,7 +30757,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "result", @@ -27986,6 +30769,7 @@ { "name": "stbox_zmax", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -27994,7 +30778,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "result", @@ -28006,6 +30790,7 @@ { "name": "stbox_zmin", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28014,7 +30799,7 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "result", @@ -28026,15 +30811,16 @@ { "name": "stbox_expand_space", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "d", @@ -28046,15 +30832,16 @@ { "name": "stbox_expand_time", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "interv", @@ -28066,30 +30853,32 @@ { "name": "stbox_get_space", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_quad_split", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "count", @@ -28101,15 +30890,16 @@ { "name": "stbox_round", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "maxdd", @@ -28121,15 +30911,16 @@ { "name": "stbox_shift_scale_time", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "shift", @@ -28146,15 +30937,16 @@ { "name": "stboxarr_round", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "boxarr", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "count", @@ -28171,15 +30963,16 @@ { "name": "stbox_set_srid", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "srid", @@ -28191,6 +30984,7 @@ { "name": "stbox_srid", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int32_t", "canonical": "int" @@ -28199,22 +30993,23 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_transform", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "srid", @@ -28226,15 +31021,16 @@ { "name": "stbox_transform_pipeline", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "pipelinestr", @@ -28256,6 +31052,7 @@ { "name": "adjacent_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28264,18 +31061,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "contained_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28284,18 +31082,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "contains_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28304,18 +31103,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overlaps_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28324,18 +31124,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "same_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28344,18 +31145,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "above_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28364,18 +31166,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "after_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28384,18 +31187,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "back_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28404,18 +31208,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "before_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28424,18 +31229,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "below_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28444,18 +31250,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "front_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28464,18 +31271,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "left_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28484,18 +31292,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overabove_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28504,18 +31313,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overafter_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28524,18 +31334,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overback_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28544,18 +31355,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overbefore_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28564,18 +31376,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overbelow_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28584,18 +31397,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overfront_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28604,18 +31418,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overleft_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28624,18 +31439,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overright_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28644,18 +31460,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "right_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28664,32 +31481,33 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "union_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "strict", @@ -28701,26 +31519,28 @@ { "name": "intersection_stbox_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_cmp", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -28729,18 +31549,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_eq", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28749,18 +31570,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_ge", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28769,18 +31591,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_gt", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28789,18 +31612,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_le", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28809,18 +31633,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_lt", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28829,18 +31654,19 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "stbox_ne", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -28849,21 +31675,43 @@ { "name": "box1", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "box2", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "tspatial_out", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" } ] }, { "name": "tgeogpoint_from_mfjson", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -28876,9 +31724,10 @@ { "name": "tgeogpoint_in", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -28891,9 +31740,10 @@ { "name": "tgeography_from_mfjson", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -28906,9 +31756,10 @@ { "name": "tgeography_in", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -28921,9 +31772,10 @@ { "name": "tgeometry_from_mfjson", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -28936,9 +31788,10 @@ { "name": "tgeometry_in", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -28951,9 +31804,10 @@ { "name": "tgeompoint_from_mfjson", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -28966,9 +31820,10 @@ { "name": "tgeompoint_in", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { @@ -28981,6 +31836,7 @@ { "name": "tspatial_as_ewkt", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -28989,7 +31845,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "maxdd", @@ -29001,6 +31857,7 @@ { "name": "tspatial_as_text", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "char *", "canonical": "char *" @@ -29009,27 +31866,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "maxdd", - "cType": "int", - "canonical": "int" - } - ] - }, - { - "name": "tspatial_out", - "file": "meos_geo.h", - "returnType": { - "c": "char *", - "canonical": "char *" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "maxdd", @@ -29041,80 +31878,84 @@ { "name": "tgeo_from_base_temp", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeoinst_make", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tgeoseq_from_base_tstzset", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "tgeoseq_from_base_tstzspan", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "interp", @@ -29126,20 +31967,21 @@ { "name": "tgeoseqset_from_base_tstzspanset", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "interp", @@ -29151,80 +31993,84 @@ { "name": "tpoint_from_base_temp", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tpointinst_make", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "TInstant *", - "canonical": "TInstant *" + "canonical": "struct TInstant *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" } ] }, { "name": "tpointseq_from_base_tstzset", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "s", "cType": "const Set *", - "canonical": "const Set *" + "canonical": "const struct Set *" } ] }, { "name": "tpointseq_from_base_tstzspan", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" }, { "name": "interp", @@ -29236,9 +32082,10 @@ { "name": "tpointseq_make_coords", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "TSequence *", - "canonical": "TSequence *" + "canonical": "struct TSequence *" }, "params": [ { @@ -29259,7 +32106,7 @@ { "name": "times", "cType": "const TimestampTz *", - "canonical": "const long *" + "canonical": "const TimestampTz *" }, { "name": "count", @@ -29268,7 +32115,7 @@ }, { "name": "srid", - "cType": "int32", + "cType": "int32_t", "canonical": "int" }, { @@ -29301,20 +32148,21 @@ { "name": "tpointseqset_from_base_tstzspanset", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "TSequenceSet *", - "canonical": "TSequenceSet *" + "canonical": "struct TSequenceSet *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "ss", "cType": "const SpanSet *", - "canonical": "const SpanSet *" + "canonical": "const struct SpanSet *" }, { "name": "interp", @@ -29326,155 +32174,165 @@ { "name": "box3d_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", - "cType": "const int *", - "canonical": "const int *" + "cType": "const BOX3D *", + "canonical": "const BOX3D *" } ] }, { "name": "gbox_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "box", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GBOX *", + "canonical": "const GBOX *" } ] }, { "name": "geomeas_to_tpoint", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "tgeogpoint_to_tgeography", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeography_to_tgeogpoint", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeography_to_tgeometry", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeometry_to_tgeography", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeometry_to_tgeompoint", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeompoint_to_tgeometry", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tpoint_as_mvtgeom", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "bool", - "canonical": "bool" + "c": "MvtGeom", + "canonical": "struct MvtGeom" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "bounds", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "extent", @@ -29490,27 +32348,13 @@ "name": "clip_geom", "cType": "bool", "canonical": "bool" - }, - { - "name": "gsarr", - "cType": "int **", - "canonical": "int **" - }, - { - "name": "timesarr", - "cType": "int64 **", - "canonical": "long **" - }, - { - "name": "count", - "cType": "int *", - "canonical": "int *" } ] }, { "name": "tpoint_tfloat_to_geomeas", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -29519,12 +32363,12 @@ { "name": "tpoint", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "measure", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "segmentize", @@ -29533,29 +32377,31 @@ }, { "name": "result", - "cType": "int **", - "canonical": "int **" + "cType": "GSERIALIZED **", + "canonical": "GSERIALIZED **" } ] }, { "name": "tspatial_to_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "bearing_point_point", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -29563,13 +32409,13 @@ "params": [ { "name": "gs1", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "gs2", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "result", @@ -29581,20 +32427,21 @@ { "name": "bearing_tpoint_point", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "invert", @@ -29606,95 +32453,101 @@ { "name": "bearing_tpoint_tpoint", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeo_centroid", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeo_convex_hull", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeo_end_value", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeo_start_value", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeo_traversed_area", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "unary_union", @@ -29706,6 +32559,7 @@ { "name": "tgeo_value_at_timestamptz", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -29714,12 +32568,12 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "t", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "strict", @@ -29727,15 +32581,16 @@ "canonical": "bool" }, { - "name": "value", - "cType": "int **", - "canonical": "int **" + "name": "result", + "cType": "GSERIALIZED **", + "canonical": "GSERIALIZED **" } ] }, { "name": "tgeo_value_n", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -29744,7 +32599,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "n", @@ -29753,23 +32608,24 @@ }, { "name": "result", - "cType": "int **", - "canonical": "int **" + "cType": "GSERIALIZED **", + "canonical": "GSERIALIZED **" } ] }, { "name": "tgeo_values", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int **", - "canonical": "int **" + "c": "GSERIALIZED **", + "canonical": "GSERIALIZED **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -29781,51 +32637,55 @@ { "name": "tpoint_angular_difference", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tpoint_azimuth", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tpoint_cumulative_length", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tpoint_direction", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -29834,7 +32694,7 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "result", @@ -29846,51 +32706,55 @@ { "name": "tpoint_get_x", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tpoint_get_y", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tpoint_get_z", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tpoint_is_simple", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -29899,13 +32763,14 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tpoint_length", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "double", "canonical": "double" @@ -29914,27 +32779,28 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tpoint_speed", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ], "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, @@ -29945,15 +32811,16 @@ { "name": "tpoint_trajectory", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "unary_union", @@ -29965,75 +32832,79 @@ { "name": "tpoint_twcentroid", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tgeo_affine", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "a", - "cType": "const int *", - "canonical": "const int *" + "cType": "const AFFINE *", + "canonical": "const AFFINE *" } ] }, { "name": "tgeo_scale", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "scale", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "tpoint_make_simple", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal **", - "canonical": "Temporal **" + "canonical": "struct Temporal **" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -30045,6 +32916,7 @@ { "name": "tspatial_srid", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int32_t", "canonical": "int" @@ -30053,22 +32925,23 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tspatial_set_srid", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "srid", @@ -30080,15 +32953,16 @@ { "name": "tspatial_transform", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "srid", @@ -30100,15 +32974,16 @@ { "name": "tspatial_transform_pipeline", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "pipelinestr", @@ -30130,40 +33005,42 @@ { "name": "tgeo_at_geom", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "tgeo_at_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "border_inc", @@ -30175,60 +33052,63 @@ { "name": "tgeo_at_value", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "int *", - "canonical": "int *" + "cType": "GSERIALIZED *", + "canonical": "GSERIALIZED *" } ] }, { "name": "tgeo_minus_geom", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "tgeo_minus_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "border_inc", @@ -30240,116 +33120,154 @@ { "name": "tgeo_minus_value", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "int *", - "canonical": "int *" + "cType": "GSERIALIZED *", + "canonical": "GSERIALIZED *" } ] }, { - "name": "tpoint_at_geom", + "name": "tpoint_at_elevation", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "zspan", + "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" } ] }, { - "name": "tpoint_at_value", + "name": "tpoint_at_geom", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "int *", - "canonical": "int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "tpoint_minus_geom", + "name": "tpoint_at_value", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + } + ] + }, + { + "name": "tpoint_minus_elevation", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" }, { - "name": "zspan", + "name": "s", "cType": "const Span *", - "canonical": "const Span *" + "canonical": "const struct Span *" + } + ] + }, + { + "name": "tpoint_minus_geom", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "tpoint_minus_value", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "int *", - "canonical": "int *" + "cType": "GSERIALIZED *", + "canonical": "GSERIALIZED *" } ] }, { "name": "always_eq_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30357,19 +33275,20 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_eq_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30378,18 +33297,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "always_eq_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30398,18 +33318,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ne_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30417,19 +33338,20 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "always_ne_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30438,18 +33360,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "always_ne_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30458,18 +33381,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_eq_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30477,19 +33401,20 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_eq_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30498,18 +33423,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "ever_eq_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30518,18 +33444,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ne_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30537,19 +33464,20 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "ever_ne_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30558,18 +33486,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "ever_ne_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -30578,107 +33507,112 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "teq_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "teq_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "tne_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "tne_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "tgeo_stboxes", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "count", @@ -30690,15 +33624,16 @@ { "name": "tgeo_space_boxes", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "xsize", @@ -30717,8 +33652,8 @@ }, { "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "bitmatrix", @@ -30740,15 +33675,16 @@ { "name": "tgeo_space_time_boxes", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "xsize", @@ -30772,13 +33708,13 @@ }, { "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "torigin", "cType": "TimestampTz", - "canonical": "long" + "canonical": "TimestampTz" }, { "name": "bitmatrix", @@ -30800,15 +33736,16 @@ { "name": "tgeo_split_each_n_stboxes", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "elem_count", @@ -30825,15 +33762,16 @@ { "name": "tgeo_split_n_stboxes", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "STBox *", - "canonical": "STBox *" + "canonical": "struct STBox *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box_count", @@ -30850,6 +33788,7 @@ { "name": "adjacent_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -30858,18 +33797,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "adjacent_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -30878,18 +33818,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "adjacent_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -30898,18 +33839,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contained_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -30918,18 +33860,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contained_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -30938,18 +33881,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "contained_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -30958,18 +33902,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contains_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -30978,18 +33923,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "contains_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -30998,18 +33944,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "contains_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31018,18 +33965,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overlaps_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31038,18 +33986,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overlaps_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31058,18 +34007,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overlaps_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31078,18 +34028,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "same_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31098,18 +34049,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "same_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31118,18 +34070,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "same_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31138,18 +34091,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "above_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31158,18 +34112,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "above_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31178,18 +34133,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "above_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31198,18 +34154,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "after_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31218,18 +34175,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "after_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31238,18 +34196,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "after_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31258,18 +34217,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "back_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31278,18 +34238,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "back_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31298,18 +34259,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "back_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31318,18 +34280,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "before_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31338,18 +34301,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "before_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31358,18 +34322,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "before_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31378,18 +34343,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "below_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31398,18 +34364,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "below_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31418,18 +34385,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "below_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31438,18 +34406,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "front_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31458,18 +34427,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "front_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31478,18 +34448,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "front_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31498,18 +34469,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "left_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31518,18 +34490,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "left_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31538,18 +34511,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "left_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31558,18 +34532,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overabove_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31578,18 +34553,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overabove_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31598,18 +34574,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overabove_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31618,18 +34595,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overafter_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31638,18 +34616,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overafter_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31658,18 +34637,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overafter_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31678,18 +34658,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overback_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31698,18 +34679,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overback_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31718,18 +34700,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overback_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31738,18 +34721,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overbefore_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31758,18 +34742,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overbefore_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31778,18 +34763,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overbefore_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31798,18 +34784,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overbelow_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31818,18 +34805,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overbelow_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31838,18 +34826,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overbelow_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31858,18 +34847,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overfront_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31878,18 +34868,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overfront_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31898,18 +34889,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overfront_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31918,18 +34910,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overleft_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31938,18 +34931,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overleft_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31958,18 +34952,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overleft_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31978,18 +34973,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overright_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -31998,18 +34994,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "overright_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -32018,18 +35015,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "overright_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -32038,18 +35036,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "right_stbox_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -32058,18 +35057,19 @@ { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "right_tspatial_stbox", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -32078,18 +35078,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "box", "cType": "const STBox *", - "canonical": "const STBox *" + "canonical": "const struct STBox *" } ] }, { "name": "right_tspatial_tspatial", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "bool", "canonical": "bool" @@ -32098,18 +35099,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "acontains_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32117,19 +35119,20 @@ "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { "name": "acontains_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32138,18 +35141,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { "name": "acontains_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32158,148 +35162,40 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "adisjoint_tgeo_geo", + "name": "acovers_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" }, "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - } - ] - }, - { - "name": "adisjoint_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "adwithin_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "adwithin_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - } - ] - }, - { - "name": "aintersects_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "canonical": "const struct Temporal *" } ] }, { - "name": "aintersects_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "atouches_tgeo_geo", + "name": "acovers_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32308,18 +35204,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "atouches_tgeo_tgeo", + "name": "acovers_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32328,158 +35225,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "atouches_tpoint_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - } - ] - }, - { - "name": "econtains_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "econtains_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - } - ] - }, - { - "name": "econtains_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ecovers_geo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "ecovers_tgeo_geo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - } - ] - }, - { - "name": "ecovers_tgeo_tgeo", - "file": "meos_geo.h", - "returnType": { - "c": "int", - "canonical": "int" - }, - "params": [ - { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" - } - ] - }, - { - "name": "edisjoint_tgeo_geo", + "name": "adisjoint_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32488,18 +35246,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "edisjoint_tgeo_tgeo", + "name": "adisjoint_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32508,18 +35267,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "edwithin_tgeo_geo", + "name": "adwithin_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32528,12 +35288,12 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "dist", @@ -32543,8 +35303,9 @@ ] }, { - "name": "edwithin_tgeo_tgeo", + "name": "adwithin_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32553,12 +35314,12 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "dist", @@ -32568,8 +35329,9 @@ ] }, { - "name": "eintersects_tgeo_geo", + "name": "aintersects_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32578,18 +35340,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "eintersects_tgeo_tgeo", + "name": "aintersects_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32598,18 +35361,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "etouches_tgeo_geo", + "name": "atouches_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32618,18 +35382,19 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "etouches_tgeo_tgeo", + "name": "atouches_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32638,18 +35403,19 @@ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "etouches_tpoint_geo", + "name": "atouches_tpoint_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "int", "canonical": "int" @@ -32658,992 +35424,915 @@ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "tcontains_geo_tgeo", + "name": "econtains_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "canonical": "const struct Temporal *" } ] }, { - "name": "tcontains_tgeo_geo", + "name": "econtains_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "tcontains_tgeo_tgeo", + "name": "econtains_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "canonical": "const struct Temporal *" } ] }, { - "name": "tcovers_geo_tgeo", + "name": "ecovers_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "canonical": "const struct Temporal *" } ] }, { - "name": "tcovers_tgeo_geo", + "name": "ecovers_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "tcovers_tgeo_tgeo", + "name": "ecovers_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "canonical": "const struct Temporal *" } ] }, { - "name": "tdisjoint_geo_tgeo", + "name": "edisjoint_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "tdisjoint_tgeo_geo", + "name": "edisjoint_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" + "canonical": "const struct Temporal *" }, { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { - "name": "tdisjoint_tgeo_tgeo", + "name": "edwithin_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "restr", - "cType": "bool", - "canonical": "bool" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "tdwithin_geo_tgeo", + "name": "edwithin_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" }, { - "name": "temp", + "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "dist", "cType": "double", "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" } ] }, { - "name": "tdwithin_tgeo_geo", + "name": "eintersects_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "tdwithin_tgeo_tgeo", + "name": "eintersects_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "dist", - "cType": "double", - "canonical": "double" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "canonical": "const struct Temporal *" } ] }, { - "name": "tintersects_geo_tgeo", + "name": "etouches_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ - { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" + "canonical": "const struct Temporal *" }, { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "tintersects_tgeo_geo", + "name": "etouches_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { - "name": "tintersects_tgeo_tgeo", + "name": "etouches_tpoint_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal *", - "canonical": "Temporal *" + "c": "int", + "canonical": "int" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "ttouches_geo_tgeo", + "name": "tcontains_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "canonical": "const struct Temporal *" } ] }, { - "name": "ttouches_tgeo_geo", + "name": "tcontains_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" - }, - { - "name": "restr", - "cType": "bool", - "canonical": "bool" - }, - { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "ttouches_tgeo_tgeo", + "name": "tcontains_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" - }, + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcovers_geo_tgeo", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ { - "name": "restr", - "cType": "bool", - "canonical": "bool" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { - "name": "atvalue", - "cType": "bool", - "canonical": "bool" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { - "name": "tdistance_tgeo_geo", + "name": "tcovers_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "tdistance_tgeo_tgeo", + "name": "tcovers_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "nad_stbox_geo", + "name": "tdisjoint_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { - "name": "nad_stbox_stbox", + "name": "tdisjoint_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { - "name": "box1", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" }, { - "name": "box2", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "nad_tgeo_geo", + "name": "tdisjoint_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { - "name": "nad_tgeo_stbox", + "name": "tdwithin_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "box", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "nad_tgeo_tgeo", + "name": "tdwithin_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "double", - "canonical": "double" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { - "name": "temp1", + "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "temp2", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "nai_tgeo_geo", + "name": "tdwithin_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { - "name": "temp", + "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { - "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" } ] }, { - "name": "nai_tgeo_tgeo", + "name": "tintersects_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "TInstant *", - "canonical": "TInstant *" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { - "name": "temp1", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" }, { - "name": "temp2", + "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "shortestline_tgeo_geo", + "name": "tintersects_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { "name": "temp", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "gs", - "cType": "const int *", - "canonical": "const int *" + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "shortestline_tgeo_tgeo", + "name": "tintersects_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { "name": "temp1", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" }, { "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "tpoint_tcentroid_finalfn", + "name": "ttouches_geo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { "c": "Temporal *", - "canonical": "Temporal *" + "canonical": "struct Temporal *" }, "params": [ { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { - "name": "tpoint_tcentroid_transfn", + "name": "ttouches_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "SkipList *", - "canonical": "struct SkipList *" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { - "name": "state", - "cType": "SkipList *", - "canonical": "struct SkipList *" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" }, { - "name": "temp", - "cType": "Temporal *", - "canonical": "Temporal *" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" } ] }, { - "name": "tspatial_extent_transfn", + "name": "ttouches_tgeo_tgeo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { - "name": "box", - "cType": "STBox *", - "canonical": "STBox *" + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" }, { - "name": "temp", + "name": "temp2", "cType": "const Temporal *", - "canonical": "const Temporal *" + "canonical": "const struct Temporal *" } ] }, { - "name": "stbox_get_space_tile", + "name": "edwithin_tgeoarr_tgeoarr", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "point", - "cType": "const int *", - "canonical": "const int *" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "xsize", - "cType": "double", - "canonical": "double" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "ysize", - "cType": "double", - "canonical": "double" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "zsize", + "name": "count2", + "cType": "int", + "canonical": "int" + }, + { + "name": "dist", "cType": "double", "canonical": "double" }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "stbox_get_space_time_tile", + "name": "adwithin_tgeoarr_tgeoarr", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "point", - "cType": "const int *", - "canonical": "const int *" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "xsize", - "cType": "double", - "canonical": "double" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "ysize", - "cType": "double", - "canonical": "double" + "name": "count2", + "cType": "int", + "canonical": "int" }, { - "name": "zsize", + "name": "dist", "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": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "stbox_get_time_tile", + "name": "eintersects_tgeoarr_tgeoarr", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "t", - "cType": "TimestampTz", - "canonical": "long" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" + }, + { + "name": "count2", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" } ] }, { - "name": "stbox_space_tiles", + "name": "aintersects_tgeoarr_tgeoarr", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "xsize", - "cType": "double", - "canonical": "double" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "ysize", - "cType": "double", - "canonical": "double" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "zsize", - "cType": "double", - "canonical": "double" + "name": "count2", + "cType": "int", + "canonical": "int" }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "etouches_tgeoarr_tgeoarr", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "count1", + "cType": "int", + "canonical": "int" + }, + { + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" + }, + { + "name": "count2", + "cType": "int", + "canonical": "int" }, { "name": "count", @@ -33653,52 +36342,69 @@ ] }, { - "name": "stbox_space_time_tiles", + "name": "atouches_tgeoarr_tgeoarr", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "xsize", - "cType": "double", - "canonical": "double" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "ysize", - "cType": "double", - "canonical": "double" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "zsize", - "cType": "double", - "canonical": "double" + "name": "count2", + "cType": "int", + "canonical": "int" }, { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "edisjoint_tgeoarr_tgeoarr", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "count2", + "cType": "int", + "canonical": "int" }, { "name": "count", @@ -33708,32 +36414,33 @@ ] }, { - "name": "stbox_time_tiles", + "name": "adisjoint_tgeoarr_tgeoarr", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "STBox *", - "canonical": "STBox *" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "bounds", - "cType": "const STBox *", - "canonical": "const STBox *" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "count2", + "cType": "int", + "canonical": "int" }, { "name": "count", @@ -33743,824 +36450,66479 @@ ] }, { - "name": "tgeo_space_split", + "name": "tdwithin_tgeoarr_tgeoarr", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "xsize", - "cType": "double", - "canonical": "double" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "ysize", - "cType": "double", - "canonical": "double" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "zsize", + "name": "count2", + "cType": "int", + "canonical": "int" + }, + { + "name": "dist", "cType": "double", "canonical": "double" }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "count", + "cType": "int *", + "canonical": "int *" }, { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" + "name": "periods", + "cType": "SpanSet ***", + "canonical": "struct SpanSet ***" + } + ] + }, + { + "name": "tintersects_tgeoarr_tgeoarr", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "space_bins", - "cType": "int ***", - "canonical": "int ***" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" + }, + { + "name": "count2", + "cType": "int", + "canonical": "int" }, { "name": "count", "cType": "int *", "canonical": "int *" + }, + { + "name": "periods", + "cType": "SpanSet ***", + "canonical": "struct SpanSet ***" } ] }, { - "name": "tgeo_space_time_split", + "name": "ttouches_tgeoarr_tgeoarr", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "Temporal **", - "canonical": "Temporal **" + "c": "int *", + "canonical": "int *" }, "params": [ { - "name": "temp", - "cType": "const Temporal *", - "canonical": "const Temporal *" - }, - { - "name": "xsize", - "cType": "double", - "canonical": "double" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "ysize", - "cType": "double", - "canonical": "double" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "zsize", - "cType": "double", - "canonical": "double" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "duration", - "cType": "const Interval *", - "canonical": "const Interval *" + "name": "count2", + "cType": "int", + "canonical": "int" }, { - "name": "sorigin", - "cType": "const int *", - "canonical": "const int *" + "name": "count", + "cType": "int *", + "canonical": "int *" }, { - "name": "torigin", - "cType": "TimestampTz", - "canonical": "long" - }, + "name": "periods", + "cType": "SpanSet ***", + "canonical": "struct SpanSet ***" + } + ] + }, + { + "name": "tdisjoint_tgeoarr_tgeoarr", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ { - "name": "bitmatrix", - "cType": "bool", - "canonical": "bool" + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "border_inc", - "cType": "bool", - "canonical": "bool" + "name": "count1", + "cType": "int", + "canonical": "int" }, { - "name": "space_bins", - "cType": "int ***", - "canonical": "int ***" + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "time_bins", - "cType": "TimestampTz **", - "canonical": "long **" + "name": "count2", + "cType": "int", + "canonical": "int" }, { "name": "count", "cType": "int *", "canonical": "int *" + }, + { + "name": "periods", + "cType": "SpanSet ***", + "canonical": "struct SpanSet ***" } ] }, { - "name": "geo_cluster_kmeans", + "name": "tdistance_tgeo_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "int *", - "canonical": "int *" + "c": "Temporal *", + "canonical": "struct Temporal *" }, "params": [ { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" }, { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tdistance_tgeo_tgeo", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" }, { - "name": "k", - "cType": "uint32_t", - "canonical": "unsigned int" + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" } ] }, { - "name": "geo_cluster_dbscan", + "name": "nad_stbox_geo", "file": "meos_geo.h", + "family": "CORE", "returnType": { - "c": "uint32_t *", - "canonical": "unsigned int *" + "c": "double", + "canonical": "double" }, "params": [ { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nad_stbox_stbox", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" }, { - "name": "tolerance", + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_tgeo_geo", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nad_tgeo_stbox", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_tgeo_tgeo", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nai_tgeo_geo", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nai_tgeo_tgeo", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "shortestline_tgeo_geo", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "shortestline_tgeo_tgeo", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "mindistance_tgeo_tgeo", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "threshold", "cType": "double", "canonical": "double" + } + ] + }, + { + "name": "mindistance_tgeoarr_tgeoarr", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "arr1", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" }, { - "name": "minpoints", + "name": "count1", + "cType": "int", + "canonical": "int" + }, + { + "name": "arr2", + "cType": "const Temporal **", + "canonical": "const struct Temporal **" + }, + { + "name": "count2", "cType": "int", "canonical": "int" + } + ] + }, + { + "name": "tpoint_tcentroid_finalfn", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "tpoint_tcentroid_transfn", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "Temporal *", + "canonical": "struct Temporal *" + } + ] + }, + { + "name": "tspatial_extent_transfn", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "stbox_get_space_tile", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "point", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "stbox_get_space_time_tile", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "point", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "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 GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "stbox_get_time_tile", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "stbox_space_tiles", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "bounds", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "stbox_space_time_tiles", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "bounds", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "sorigin", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "stbox_time_tiles", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "bounds", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeo_space_split", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "SpaceSplit", + "canonical": "struct SpaceSplit" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "bitmatrix", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeo_space_time_split", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "SpaceTimeSplit", + "canonical": "struct SpaceTimeSplit" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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 GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "bitmatrix", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "geo_cluster_kmeans", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "geoms", + "cType": "const GSERIALIZED **", + "canonical": "const GSERIALIZED **" + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "k", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geo_cluster_dbscan", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "uint32_t *", + "canonical": "unsigned int *" + }, + "params": [ + { + "name": "geoms", + "cType": "const GSERIALIZED **", + "canonical": "const GSERIALIZED **" + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" + }, + { + "name": "minpoints", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geo_cluster_intersecting", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED **", + "canonical": "GSERIALIZED **" + }, + "params": [ + { + "name": "geoms", + "cType": "const GSERIALIZED **", + "canonical": "const GSERIALIZED **" + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geo_cluster_within", + "file": "meos_geo.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED **", + "canonical": "GSERIALIZED **" + }, + "params": [ + { + "name": "geoms", + "cType": "const GSERIALIZED **", + "canonical": "const GSERIALIZED **" + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "tolerance", + "cType": "double", + "canonical": "double" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "cbuffer_as_ewkt", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_as_hexwkb", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size", + "cType": "size_t *", + "canonical": "size_t *" + } + ] + }, + { + "name": "cbuffer_as_text", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_as_wkb", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "uint8_t *", + "canonical": "unsigned char *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "size_t *" + } + ] + }, + { + "name": "cbuffer_from_hexwkb", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "cbuffer_from_wkb", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "size_t" + } + ] + }, + { + "name": "cbuffer_in", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "cbuffer_out", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_copy", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_make", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "point", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "radius", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "cbuffer_to_geom", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_to_stbox", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbufferarr_to_geom", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "cbarr", + "cType": "const Cbuffer **", + "canonical": "const struct Cbuffer **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "geom_to_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "cbuffer_hash", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_hash_extended", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "seed", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_point", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_radius", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_round", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_transform", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "cbuffer_timestamptz_to_stbox", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "distance_cbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "distance_cbuffer_stbox", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_cbuffer_stbox", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "cbuffer_cmp", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "cbufferset_out", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbufferset_make", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "values", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "cbuffer_to_set", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbufferset_end_value", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "cbufferset_start_value", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "cbufferset_value_n", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" + } + ] + }, + { + "name": "cbufferset_values", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer **", + "canonical": "struct Cbuffer **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "cbuffer_union_transfn", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "struct Set *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "contained_cbuffer_set", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "contains_set_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "cb", + "cType": "Cbuffer *", + "canonical": "struct Cbuffer *" + } + ] + }, + { + "name": "intersection_cbuffer_set", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "intersection_set_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "minus_cbuffer_set", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "minus_set_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "union_cbuffer_set", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "union_set_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tcbuffer_in", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tcbuffer_from_mfjson", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "mfjson", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tcbufferinst_make", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tcbuffer_make", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "tpoint", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "tfloat", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcbuffer_from_base_temp", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcbufferseq_from_base_tstzset", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tcbufferseq_from_base_tstzspan", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tcbufferseqset_from_base_tstzspanset", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tcbuffer_end_value", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcbuffer_points", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcbuffer_radius", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcbuffer_traversed_area", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffer_convex_hull", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcbuffer_start_value", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer *", + "canonical": "struct Cbuffer *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcbuffer_value_at_timestamptz", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "value", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" + } + ] + }, + { + "name": "tcbuffer_value_n", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Cbuffer **", + "canonical": "struct Cbuffer **" + } + ] + }, + { + "name": "tcbuffer_values", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Cbuffer **", + "canonical": "struct Cbuffer **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tcbuffer_to_tfloat", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcbuffer_to_tgeompoint", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tgeometry_to_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcbuffer_expand", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tcbuffer_at_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tcbuffer_at_geom", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tcbuffer_at_stbox", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffer_minus_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tcbuffer_minus_geom", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tcbuffer_minus_stbox", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdistance_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tdistance_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tdistance_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nad_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "nad_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nad_tcbuffer_stbox", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "mindistance_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "threshold", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "nai_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "nai_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nai_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "shortestline_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "shortestline_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "shortestline_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "always_eq_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "always_ne_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "ever_eq_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "ever_ne_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tne_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tne_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "acontains_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "acontains_geo_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "acontains_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "acontains_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "acovers_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "acovers_geo_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "acovers_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "acovers_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "acovers_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "adisjoint_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "adisjoint_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "adisjoint_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "adwithin_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "adwithin_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "adwithin_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "aintersects_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "aintersects_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "aintersects_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "atouches_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "atouches_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "atouches_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "econtains_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "econtains_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "econtains_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ecovers_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ecovers_geo_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ecovers_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "ecovers_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ecovers_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "edisjoint_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "edisjoint_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "edwithin_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "edwithin_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "edwithin_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "eintersects_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "eintersects_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "eintersects_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "etouches_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "etouches_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "etouches_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcontains_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcontains_geo_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcontains_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tcontains_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tcontains_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcovers_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcovers_geo_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcovers_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tcovers_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tcovers_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tdwithin_geo_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tdwithin_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tdwithin_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tdwithin_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tdisjoint_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tdisjoint_geo_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tdisjoint_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tdisjoint_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tdisjoint_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tintersects_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tintersects_geo_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tintersects_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tintersects_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "tintersects_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ttouches_geo_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ttouches_tcbuffer_geo", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ttouches_cbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ttouches_tcbuffer_cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "ttouches_tcbuffer_tcbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_valid_cbuffer_cbuffer", + "file": "cbuffer.h", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_cbuffer_stbox", + "file": "cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "ensure_valid_cbufferset_cbuffer", + "file": "cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "cbuffer_collinear", + "file": "cbuffer.h", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "Datum" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "extended", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "cbuffer_point_p", + "file": "cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "datum_cbuffer_round", + "file": "cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "buffer", + "cType": "Datum", + "canonical": "Datum" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "Datum" + } + ] + }, + { + "name": "cbuffer_transf_pj", + "file": "cbuffer.h", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "Datum" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "Datum" + } + ] + }, + { + "name": "cbuffersegm_distance_turnpt", + "file": "cbuffer.h", + "family": "CBUFFER", + "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": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "cbuffer_contains", + "file": "cbuffer.h", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "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", + "family": "CBUFFER", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "Datum" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "Datum" + } + ] + }, + { + "name": "datum_cbuffer_covers", + "file": "cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "Datum" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "Datum" + } + ] + }, + { + "name": "datum_cbuffer_disjoint", + "file": "cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "Datum" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "Datum" + } + ] + }, + { + "name": "datum_cbuffer_intersects", + "file": "cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "Datum" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "Datum" + } + ] + }, + { + "name": "datum_cbuffer_dwithin", + "file": "cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "Datum" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "Datum" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "Datum" + } + ] + }, + { + "name": "datum_cbuffer_touches", + "file": "cbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cb1", + "cType": "Datum", + "canonical": "Datum" + }, + { + "name": "cb2", + "cType": "Datum", + "canonical": "Datum" + } + ] + }, + { + "name": "temptype_subtype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "subtype", + "cType": "tempSubtype", + "canonical": "tempSubtype" + } + ] + }, + { + "name": "temptype_subtype_all", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "subtype", + "cType": "tempSubtype", + "canonical": "tempSubtype" + } + ] + }, + { + "name": "tempsubtype_name", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "subtype", + "cType": "tempSubtype", + "canonical": "tempSubtype" + } + ] + }, + { + "name": "tempsubtype_from_string", + "file": "meos_catalog.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "oper", + "cType": "MeosOper", + "canonical": "MeosOper" + } + ] + }, + { + "name": "meosoper_from_string", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "MeosOper", + "canonical": "MeosOper" + }, + "params": [ + { + "name": "name", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "interptype_name", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "interptype_from_string", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "interpType", + "canonical": "interpType" + }, + "params": [ + { + "name": "interp_str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "meos_typeof_hexwkb", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "meostype_name", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "const char *", + "canonical": "const char *" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temptype_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "settype_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spantype_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spantype_spansettype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spansettype_spantype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "basetype_spantype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "basetype_settype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "MeosType", + "canonical": "MeosType" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tnumber_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "geo_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "meos_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "alphanum_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "alphanum_temptype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "time_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "set_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "set_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "numset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_numset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "timeset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "set_spantype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_set_spantype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "alphanumset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "settype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "geoset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_geoset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spatialset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_spatialset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_canon_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "type_span_bbox", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_tbox_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_span_tbox_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "numspan_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "numspan_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_numspan_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "timespan_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "timespan_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spanset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "timespanset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_timespanset_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temporal_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temporal_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temptype_supports_linear", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "basetype_byvalue", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "basetype_varlength", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "meostype_length", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "int16", + "canonical": "short" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "talphanum_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "talpha_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tnumber_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tnumber_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tnumber_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tnumber_spantype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spatial_basetype", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tspatial_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tspatial_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tpoint_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tpoint_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tgeo_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tgeo_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tgeo_type_all", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tgeo_type_all", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tgeometry_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tgeometry_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tgeodetic_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tgeodetic_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_tnumber_tpoint_type", + "file": "meos_catalog.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "gsl_get_generation_rng", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "gsl_rng *", + "canonical": "gsl_rng *" + }, + "params": [] + }, + { + "name": "gsl_get_aggregation_rng", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "gsl_rng *", + "canonical": "gsl_rng *" + }, + "params": [] + }, + { + "name": "datum_ceil", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_degrees", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "normalize", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_float_round", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_floor", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_hash", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_hash_extended", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "seed", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "datum_radians", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "floatspan_round_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "set_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "set_out", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "span_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_out", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spanset_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spanset_out", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "set_make", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "lower", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "upper", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "lower", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "upper", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "spanset_make_exp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "spans", + "cType": "Span *", + "canonical": "struct Span *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "spanset_make_free", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "spans", + "cType": "Span *", + "canonical": "struct Span *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "order", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "set_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "set_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "value_set_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "value_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "value_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "value_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "numspan_width", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "numspanset_width", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "boundspan", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "set_end_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "set_mem_size", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "set_set_subspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "minidx", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxidx", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "set_set_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "set_start_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "set_value_n", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "set_vals", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "set_values", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "spanset_lower", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "spanset_mem_size", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "spanset_sps", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const Span **", + "canonical": "const struct Span **" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "spanset_upper", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "datespan_set_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "bigintspan_set_floatspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "bigintspan_set_intspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "floatspan_set_bigintspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "floatspan_set_intspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "intspan_set_bigintspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "intspan_set_floatspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "numset_shift_scale", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "numspan_expand", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "numspan_shift_scale", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "numspanset_shift_scale", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "set_compact", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "span_expand", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "spanset_compact", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "tbox_expand_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetyp", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "textcat_textset_text_common", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "txt", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tstzspan_set_datespan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "adjacent_span_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "adjacent_spanset_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "adjacent_value_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "contained_value_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "contained_value_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "contained_value_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "contains_set_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "contains_span_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "contains_spanset_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ovadj_span_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "left_set_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "left_span_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "left_spanset_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "left_value_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "left_value_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "left_value_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "lfnadj_span_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "overleft_set_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overleft_span_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overleft_spanset_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overleft_value_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "overleft_value_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "overleft_value_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "overright_set_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overright_span_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overright_spanset_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "overright_value_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "overright_value_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "overright_value_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "right_value_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "right_set_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "right_value_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "right_value_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "right_span_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "right_spanset_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "bbox_type", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "bboxtype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "bbox_get_size", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "size_t", + "canonical": "size_t" + }, + "params": [ + { + "name": "bboxtype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "bbox_max_dims", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "bboxtype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temporal_bbox_eq", + "file": "meos_internal.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "inter_span_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "intersection_set_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "intersection_span_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "intersection_spanset_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "intersection_value_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "intersection_value_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "intersection_value_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "mi_span_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "minus_set_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "minus_span_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "minus_spanset_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "minus_value_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "minus_value_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "minus_value_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "union_set_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "union_span_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "union_spanset_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "union_value_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "union_value_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "union_value_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "distance_set_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "s1", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "s2", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "distance_set_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "distance_span_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "distance_span_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "distance_spanset_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "distance_spanset_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "ss1", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "ss2", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "distance_spanset_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "distance_value_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spanbase_extent_transfn", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "state", + "cType": "Span *", + "canonical": "struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "value_union_transfn", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "struct Set *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "number_tstzspan_to_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "number_timestamptz_to_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tbox_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "p", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "float_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "d", + "cType": "double", + "canonical": "double" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "int_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "i", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "number_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "number_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "numset_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "numspan_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "timestamptz_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tstzset_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tstzspan_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tbox_shift_scale_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tbox_expand", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "inter_tbox_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tboolinst_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tboolinst_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tboolseq_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tboolseq_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tboolseqset_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tboolseqset_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "temporal_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temporal_out", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "temparr_out", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "char **", + "canonical": "char **" + }, + "params": [ + { + "name": "temparr", + "cType": "Temporal **", + "canonical": "struct Temporal **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tfloatinst_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tfloatinst_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tfloatseq_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tfloatseq_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tfloatseqset_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tfloatseqset_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tinstant_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "spatial", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tinstant_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tinstant_out", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tbigintinst_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tbigintinst_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tbigintseq_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tbigintseqset_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tbigintseqset_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tintinst_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tintinst_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tintseq_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tintseq_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tintseqset_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tintseqset_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tsequence_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "spatial", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "spatial", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ttextinst_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "ttextinst_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "ttextseq_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "ttextseq_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "ttextseqset_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "ttextseqset_in", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "temporal_from_mfjson", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tinstant_copy", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_make", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tinstant_make_free", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tsequence_copy", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_from_base_temp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_from_base_tstzset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tsequence_from_base_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_make_exp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_make_free", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_copy", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tseqsetarr_to_tseqset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seqsets", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "totalseqs", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_from_base_temp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_from_base_tstzspanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_make_exp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_make_free", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_set_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "tinstant_set_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "tnumber_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tnumberinst_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tnumberseq_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tnumberseqset_set_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tsequence_set_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "tsequenceset_set_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "temporal_end_inst", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_end_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_inst_n", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "temporal_insts_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant **", + "canonical": "const struct TInstant **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_max_inst_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_max_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_mem_size", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "size_t", + "canonical": "size_t" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_min_inst_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_min_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_sequences_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TSequence **", + "canonical": "const struct TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_set_bbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "temporal_start_inst", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_start_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "temporal_values_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_value_n", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "temporal_values", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tinstant_hash", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_insts", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant **", + "canonical": "const struct TInstant **" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tinstant_set_bbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tinstant_time", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_timestamps", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TimestampTz *", + "canonical": "TimestampTz *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tinstant_value_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_value_at_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tinstant_values_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_set_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "span", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "tnumberinst_valuespans", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnumberseq_avg_val", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseq_valuespans", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseqset_avg_val", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_valuespans", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequence_duration", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Interval *", + "canonical": "Interval *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_end_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TimestampTz", + "canonical": "TimestampTz" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_hash", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_insts_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant **", + "canonical": "const struct TInstant **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequence_max_inst_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_max_val", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_min_inst_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_min_val", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_segments", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequence_seqs", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TSequence **", + "canonical": "const struct TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequence_start_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TimestampTz", + "canonical": "TimestampTz" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_time", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_timestamps", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TimestampTz *", + "canonical": "TimestampTz *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequence_value_at_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tsequence_values_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_duration", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Interval *", + "canonical": "Interval *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "boundspan", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_end_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TimestampTz", + "canonical": "TimestampTz" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_hash", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_inst_n", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_insts_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant **", + "canonical": "const struct TInstant **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_max_inst_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_max_val", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_min_inst_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TInstant *", + "canonical": "const struct TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_min_val", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_num_instants", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_num_timestamps", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_segments", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_sequences_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "const TSequence **", + "canonical": "const struct TSequence **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_start_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TimestampTz", + "canonical": "TimestampTz" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_time", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_timestamptz_n", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "tsequenceset_timestamps", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TimestampTz *", + "canonical": "TimestampTz *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tsequenceset_value_at_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tsequenceset_value_n", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tsequenceset_value_n_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tsequenceset_values_p", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Datum *", + "canonical": "int ((*)(int *))()" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_restart", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "Temporal *", + "canonical": "struct Temporal *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "temporal_tsequence", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "temporal_tsequenceset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tinstant_shift_time", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interv", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tinstant_to_tsequence", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tinstant_to_tsequence_free", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant *", + "canonical": "struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tinstant_to_tsequenceset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tnumber_shift_scale_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_shift_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "tnumberseq_shift_scale_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseqset_shift_scale_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "start", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_restart", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequence_set_interp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_shift_scale_time", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "shift", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "tsequence_subseq", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "from", + "cType": "int", + "canonical": "int" + }, + { + "name": "to", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_to_tinstant", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_to_tsequenceset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_to_tsequenceset_free", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + } + ] + }, + { + "name": "tsequence_to_tsequenceset_interp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_restart", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_set_interp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequenceset_shift_scale_time", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct 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", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_linear", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_step", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_tinstant", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_to_tsequence", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tinstant_merge", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_merge_array", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequence_append_tinstant", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_append_tsequence", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_delete_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_delete_tstzset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_delete_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_delete_tstzspanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_insert", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_merge", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_merge_array", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequenceset_append_tinstant", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_append_tsequence", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_delete_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tsequenceset_delete_tstzset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tsequenceset_delete_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "tsequenceset_delete_tstzspanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ps", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "tsequenceset_insert", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_merge", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_merge_array", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seqsets", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequence_expand_bbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tsequence_set_bbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tsequenceset_expand_bbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequenceset_set_bbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tcontseq_after_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcontseq_before_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcontseq_restrict_minmax", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_after_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_before_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_restrict_minmax", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_bbox_restrict_set", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "temporal_restrict_minmax", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_tstzset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_tstzspanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_restrict_values", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_value_at_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tinstant_after_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_before_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "period", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzspanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_values", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumber_restrict_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumber_restrict_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_restrict_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_restrict_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseqset_restrict_span", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseqset_restrict_spanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "spanset", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_at_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tsequence_restrict_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_restrict_tstzspanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_after_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_before_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_minmax", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_tstzspan", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_tstzspanset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ps", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_timestamptz", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_tstzset", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequenceset_restrict_values", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_cmp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_eq", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tsequence_cmp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_eq", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequenceset_cmp", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tsequenceset_eq", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "always_eq_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "always_ne_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "always_ge_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ge_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "always_gt_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_gt_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "always_le_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_le_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "always_lt_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_lt_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_eq_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_ne_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_ge_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ge_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_gt_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_gt_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_le_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_le_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ever_lt_base_temporal", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_lt_temporal_base", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "tnumberinst_abs", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnumberinst_distance", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnumberseq_abs", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseq_angular_difference", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseq_delta_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseqset_abs", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_angular_difference", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_delta_value", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tdistance_tnumber_number", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "nad_tbox_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "nad_tnumber_number", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "nad_tnumber_tbox", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "nad_tnumber_tnumber", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnumberseq_integral", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseq_twavg", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnumberseqset_integral", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tnumberseqset_twavg", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "temporal_compact", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tsequence_compact", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequenceset_compact", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "temporal_skiplist_make", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [] + }, + { + "name": "skiplist_make", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "key_size", + "cType": "size_t", + "canonical": "int (int *)" + }, + { + "name": "value_size", + "cType": "size_t", + "canonical": "int (int *)" + }, + { + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "skiplist_splice", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "keys", + "cType": "void **", + "canonical": "void **" + }, + { + "name": "values", + "cType": "void **", + "canonical": "void **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "sktype", + "cType": "SkipListType", + "canonical": "SkipListType" + } + ] + }, + { + "name": "temporal_skiplist_splice", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "values", + "cType": "void **", + "canonical": "void **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "skiplist_values", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "void **", + "canonical": "void **" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "skiplist_keys_values", + "file": "meos_internal.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "state", + "cType": "Temporal *", + "canonical": "struct Temporal *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "temporal_app_tseq_transfn", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "state", + "cType": "Temporal *", + "canonical": "struct Temporal *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "span_bins", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "spanset_bins", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_value_bins", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_value_time_boxes", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_value_split", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal **", + "canonical": "struct Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "bins", + "cType": "Datum **", + "canonical": "int ((**)(int *))()" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tbox_get_value_time_tile", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tnumber_value_time_split", + "file": "meos_internal.h", + "family": "CORE", + "returnType": { + "c": "Temporal **", + "canonical": "struct Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "value_bins", + "cType": "Datum **", + "canonical": "int ((**)(int *))()" + }, + { + "name": "time_bins", + "cType": "TimestampTz **", + "canonical": "TimestampTz **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "double2_out", + "file": "doublen.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "int", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ptr", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "ensure_one_not_null", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ptr1", + "cType": "void *", + "canonical": "void *" + }, + { + "name": "ptr2", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "ensure_one_true", + "file": "temporal.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "ensure_continuous", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_same_interp", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_same_continuous_interp", + "file": "temporal.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_nonlinear_interp", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_common_dimension", + "file": "temporal.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_temporal_isof_basetype", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_temporal_isof_subtype", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "type", + "cType": "tempSubtype", + "canonical": "tempSubtype" + } + ] + }, + { + "name": "ensure_same_temporal_type", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_valid_tnumber_numspan", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "ensure_valid_tnumber_numspanset", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "ensure_valid_tnumber_tbox", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "ensure_valid_temporal_set", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "ensure_valid_temporal_temporal", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_valid_tnumber_tnumber", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_not_negative", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "i", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ensure_positive", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "i", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "not_negative_datum", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_not_negative_datum", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "positive_datum", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_positive_datum", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_valid_day_duration", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "positive_duration", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "ensure_positive_duration", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "temporal_bbox_ptr", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "void *", + "canonical": "void *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "intersection_temporal_temporal", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "mode", + "cType": "SyncMode", + "canonical": "SyncMode" + }, + { + "name": "inter1", + "cType": "Temporal **", + "canonical": "struct Temporal **" + }, + { + "name": "inter2", + "cType": "Temporal **", + "canonical": "struct Temporal **" + } + ] + }, + { + "name": "mobilitydb_version", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [] + }, + { + "name": "mobilitydb_full_version", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [] + }, + { + "name": "round_fn", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + "params": [ + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "temporal_bbox_restrict_value", + "file": "temporal.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ensure_valid_tcbuffer_cbuffer", + "file": "tcbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + } + ] + }, + { + "name": "ensure_valid_tcbuffer_geo", + "file": "tcbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_tcbuffer_stbox", + "file": "tcbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "ensure_valid_tcbuffer_tcbuffer", + "file": "tcbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcbuffersegm_intersection_value", + "file": "tcbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "tcbuffersegm_intersection", + "file": "tcbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "tcbuffersegm_dwithin_turnpt", + "file": "tcbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "tcbuffersegm_tdwithin_turnpt", + "file": "tcbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "tcbuffersegm_distance_turnpt", + "file": "tcbuffer.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "cbuffer_set_stbox", + "file": "tcbuffer_boxops.h", + "family": "CBUFFER", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "cbufferarr_set_stbox", + "file": "tcbuffer_boxops.h", + "family": "CBUFFER", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "cbuffer_timestamptz_set_stbox", + "file": "tcbuffer_boxops.h", + "family": "CBUFFER", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "cbuffer_tstzspan_set_stbox", + "file": "tcbuffer_boxops.h", + "family": "CBUFFER", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tcbufferinst_set_stbox", + "file": "tcbuffer_boxops.h", + "family": "CBUFFER", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tcbufferinstarr_set_stbox", + "file": "tcbuffer_boxops.h", + "family": "CBUFFER", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tcbufferseq_expand_stbox", + "file": "tcbuffer_boxops.h", + "family": "CBUFFER", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tcbufferinst_traversed_area", + "file": "tcbuffer_spatialfuncs.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tcbufferseq_traversed_area", + "file": "tcbuffer_spatialfuncs.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbufferseqset_traversed_area", + "file": "tcbuffer_spatialfuncs.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffersegm_traversed_area", + "file": "tcbuffer_spatialfuncs.h", + "family": "CBUFFER", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tcbuffer_restrict_cbuffer", + "file": "tcbuffer_spatialfuncs.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffer_restrict_stbox", + "file": "tcbuffer_spatialfuncs.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcbuffer_restrict_geom", + "file": "tcbuffer_spatialfuncs.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_geo_tcbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_tcbuffer_geo", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_tcbuffer_cbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_geo_tcbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_tcbuffer_geo", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_tcbuffer_cbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_tcbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_tcbuffer_geo", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_geo_tcbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_tcbuffer_cbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_tcbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_tcbuffer_geo", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_geo_tcbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_tcbuffer_cbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_tcbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tcbuffer_geo", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_geo_tcbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tcbuffer_cbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tcbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_dwithin_tcbuffer_tcbuffer", + "file": "tcbuffer_spatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinterrel_tcbuffer_cbuffer", + "file": "tcbuffer_tempspatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cb", + "cType": "const Cbuffer *", + "canonical": "const struct Cbuffer *" + }, + { + "name": "tinter", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinterrel_tcbuffer_geo", + "file": "tcbuffer_tempspatialrels.h", + "family": "CBUFFER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "tinter", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "clipper2_clip_poly_poly", + "file": "clip_clipper2.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "out_count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "clip_poly_poly", + "file": "geo_poly_clip.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "subj", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "clip", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "operation", + "cType": "ClipOper", + "canonical": "ClipOper" + } + ] + }, + { + "name": "lwproj_lookup", + "file": "meos_transform.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "srid_is_latlong", + "file": "meos_transform.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "geom_serialize", + "file": "postgis_funcs.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "lwgeom", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geog_serialize", + "file": "postgis_funcs.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "lwgeom", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "meos_postgis_valid_typmod", + "file": "postgis_funcs.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "precision", + "cType": "int", + "canonical": "int" + }, + { + "name": "extended", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "box2d_to_lwgeom", + "file": "postgis_funcs.h", + "family": "CORE", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "box", + "cType": "GBOX *", + "canonical": "GBOX *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "box3d_to_lwgeom", + "file": "postgis_funcs.h", + "family": "CORE", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "box", + "cType": "BOX3D *", + "canonical": "BOX3D *" + } + ] + }, + { + "name": "MEOS_POSTGIS2GEOS", + "file": "postgis_funcs.h", + "family": "CORE", + "returnType": { + "c": "GEOSGeometry *", + "canonical": "struct GEOSGeom_t *" + }, + "params": [ + { + "name": "pglwgeom", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "MEOS_GEOS2POSTGIS", + "file": "postgis_funcs.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "rel", + "cType": "spatialRel", + "canonical": "spatialRel" + } + ] + }, + { + "name": "lwgeom_line_interpolate_point", + "file": "postgis_funcs.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "point", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "tsdatum", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tstzspanset_stbox_slice", + "file": "stbox.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "psdatum", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "stbox_index_leaf_consistent", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "stbox_gist_inner_consistent", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "stbox_index_recheck", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "stboxnode_copy", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "STboxNode *", + "canonical": "struct STboxNode *" + }, + "params": [ + { + "name": "box", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + } + ] + }, + { + "name": "getQuadrant8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "centroid", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "inBox", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "stboxnode_init", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "centroid", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "nodebox", + "cType": "STboxNode *", + "canonical": "struct STboxNode *" + } + ] + }, + { + "name": "stboxnode_quadtree_next", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "centroid", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "quadrant", + "cType": "int", + "canonical": "int" + }, + { + "name": "next_nodebox", + "cType": "STboxNode *", + "canonical": "struct STboxNode *" + } + ] + }, + { + "name": "stboxnode_kdtree_next", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "centroid", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "node", + "cType": "int", + "canonical": "int" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + }, + { + "name": "next_nodebox", + "cType": "STboxNode *", + "canonical": "struct STboxNode *" + } + ] + }, + { + "name": "overlap8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overlapKD", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "contain8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "containKD", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "left8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overLeft8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "right8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overRight8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "below8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overBelow8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "above8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overAbove8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "front8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overFront8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "back8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overBack8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "before8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overBefore8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "after8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "overAfter8D", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + }, + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "distance_stbox_nodebox", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "query", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "nodebox", + "cType": "const STboxNode *", + "canonical": "const struct STboxNode *" + } + ] + }, + { + "name": "tspatial_spgist_get_stbox", + "file": "stbox_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "mobilitydb_init", + "file": "tgeo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [] + }, + { + "name": "geo_stbox", + "file": "tgeo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "stbox_geo", + "file": "tgeo.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "tcomp_geo_tgeo", + "file": "tgeo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + } + ] + }, + { + "name": "tcomp_tgeo_geo", + "file": "tgeo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + } + ] + }, + { + "name": "ensure_geoaggstate", + "file": "tgeo_aggfuncs.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "Temporal **", + "canonical": "struct Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tpointinst_tcentroid_finalfn", + "file": "tgeo_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpointseq_tcentroid_finalfn", + "file": "tgeo_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "point3d_min_dist", + "file": "tgeo_distance.h", + "family": "CORE", + "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": "tgeompointsegm_distance_turnpt", + "file": "tgeo_distance.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "tgeogpointsegm_distance_turnpt", + "file": "tgeo_distance.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "tinstant_distance", + "file": "tgeo_distance.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + } + ] + }, + { + "name": "tpointseq_at_geom", + "file": "tgeo_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tpointseq_interperiods", + "file": "tgeo_restrict.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "datum_point4d", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "p", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geopoint_cmp", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "geopoint_eq", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "geopoint_same", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "datum_point_eq", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_point_same", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum2_point_eq", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum2_point_ne", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum2_point_same", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum2_point_nsame", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "point1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "point2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum2_geom_centroid", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geo", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum2_geog_centroid", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geo", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "geo_extract_elements", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED **", + "canonical": "GSERIALIZED **" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "geo_serialize", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "geom", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "geo_distance_fn", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "pt_distance_fn", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "datum_geom_distance2d", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geom_distance3d", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geog_distance", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geog1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geog2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_pt_distance2d", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_pt_distance3d", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "spatial_flags", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "int16", + "canonical": "short" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_srid_is_latlong", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "ensure_spatial_validity", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_not_geodetic", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_same_geodetic", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_same_geodetic_tspatial_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_same_geodetic_tspatial_base", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "base", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ensure_srid_known", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "ensure_same_srid", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "srid1", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "srid2", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "ensure_srid_reconcile", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "srid1", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "srid2", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "result", + "cType": "int32_t *", + "canonical": "int *" + } + ] + }, + { + "name": "ensure_same_dimensionality", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "same_dimensionality_tspatial_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_same_dimensionality_tspatial_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_same_spatial_dimensionality_stbox_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_same_geodetic_stbox_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_has_Z_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_has_not_Z_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_has_M_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_has_not_M_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_not_geodetic_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_point_type", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_mline_type", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "circle_type", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_circle_type", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_not_empty", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_stbox_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_tspatial_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_tspatial_base", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "base", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "ensure_valid_tspatial_tspatial", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_valid_spatial_stbox_stbox", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "ensure_valid_tgeo_stbox", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "ensure_valid_geo_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_tgeo_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_tgeo_tgeo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_valid_tpoint_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_tpoint_tpoint", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "mline_type", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tpoint_get_coord", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "coord", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "eacomp_tgeo_geo", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "closest_point2d_on_segment_ratio", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "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", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "ratio", + "cType": "long double", + "canonical": "long double" + } + ] + }, + { + "name": "pointsegm_locate", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "long double", + "canonical": "long double" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "point", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dist", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tgeompointsegm_intersection", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "tgeogpointsegm_intersection", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "geopoint_collinear", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value3", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "value1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "lwcoll_from_points_lines", + "file": "tgeo_spatialfuncs.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "mintunits", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "datum_geom_contains", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geom_covers", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geom_disjoint2d", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geom_disjoint3d", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geog_disjoint", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geog1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geog2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geom_intersects2d", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geom_intersects3d", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geog_intersects", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geog1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geog2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geom_touches", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geom_dwithin2d", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geom_dwithin3d", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geom1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geom2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geog_dwithin", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geog1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geog2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_geom_relate_pattern", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "geog1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "geog2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "p", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "geo_disjoint_fn", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "geo_disjoint_fn_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "uint8_t", + "canonical": "unsigned char" + } + ] + }, + { + "name": "geo_intersects_fn", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "geo_intersects_fn_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "uint8_t", + "canonical": "unsigned char" + } + ] + }, + { + "name": "geo_dwithin_fn", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "datum_func3", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))())" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "geo_dwithin_fn_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "datum_func3", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))())" + }, + "params": [ + { + "name": "flags1", + "cType": "int16", + "canonical": "short" + }, + { + "name": "flags2", + "cType": "uint8_t", + "canonical": "unsigned char" + } + ] + }, + { + "name": "tpointsegm_tdwithin_turnpt", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "spatialrel_geo_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs1", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "gs2", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "varfunc", + "canonical": "int (*)(int ((*)(int *))(), ...)" + }, + { + "name": "numparam", + "cType": "int", + "canonical": "int" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "spatialrel_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "varfunc", + "canonical": "int (*)(int ((*)(int *))(), ...)" + }, + { + "name": "numparam", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ea_contains_geo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_tgeo_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_geo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_tgeo_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_geo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_tgeo_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_geo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_tgeo_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tpoint_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tgeo_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_dwithin_tgeo_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_dwithin_tgeo_tgeo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_spatialrel_tspatial_geo", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_spatialrel_tspatial_tspatial", + "file": "tgeo_spatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tspatialrel_tspatial_base", + "file": "tgeo_tempspatialrels.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "base", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "varfunc", + "canonical": "int (*)(int ((*)(int *))(), ...)" + }, + { + "name": "numparam", + "cType": "int", + "canonical": "int" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tspatialrel_tspatial_tspatial", + "file": "tgeo_tempspatialrels.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "varfunc", + "canonical": "int (*)(int ((*)(int *))(), ...)" + }, + { + "name": "numparam", + "cType": "int", + "canonical": "int" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinterrel_tgeo_geo", + "file": "tgeo_tempspatialrels.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "tinter", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinterrel_tspatial_base", + "file": "tgeo_tempspatialrels.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "base", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "tinter", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + } + ] + }, + { + "name": "tinterrel_tspatial_tspatial", + "file": "tgeo_tempspatialrels.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "tinter", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdwithin_tspatial_tspatial", + "file": "tgeo_tempspatialrels.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "sync1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "sync2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "datum_func3", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "tpfn", + "cType": "tpfunc_temp", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))(), int, int, int *, int *)" + } + ] + }, + { + "name": "tdwithin_add_solutions", + "file": "tgeo_tempspatialrels.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "solutions", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "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": "TimestampTz" + }, + { + "name": "t2", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tdwithin_tspatial_spatial", + "file": "tgeo_tempspatialrels.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "base", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dist", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "datum_func3", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "tpfn", + "cType": "tpfunc_temp", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))(), int, int, int *, int *)" + } + ] + }, + { + "name": "bitmatrix_make", + "file": "tgeo_tile.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "state", + "cType": "const STboxGridState *", + "canonical": "const struct STboxGridState *" + }, + { + "name": "bm", + "cType": "BitMatrix *", + "canonical": "BitMatrix *" + } + ] + }, + { + "name": "tpoint_at_tile", + "file": "tgeo_tile.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "stbox_tile_state_set", + "file": "tgeo_tile.h", + "family": "CORE", + "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": "TimestampTz" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "tunits", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "hasx", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hasz", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hast", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "stbox_tile_state_make", + "file": "tgeo_tile.h", + "family": "CORE", + "returnType": { + "c": "STboxGridState *", + "canonical": "struct STboxGridState *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "sorigin", + "cType": "int", + "canonical": "int" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "stbox_tile_state_next", + "file": "tgeo_tile.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "state", + "cType": "STboxGridState *", + "canonical": "struct STboxGridState *" + } + ] + }, + { + "name": "stbox_tile_state_get", + "file": "tgeo_tile.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "state", + "cType": "STboxGridState *", + "canonical": "struct STboxGridState *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tgeo_space_time_tile_init", + "file": "tgeo_tile.h", + "family": "CORE", + "returnType": { + "c": "STboxGridState *", + "canonical": "struct STboxGridState *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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 GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "point", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "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 GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "hasx", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "hast", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "create_trip", + "file": "tpoint_datagen.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct 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": "TimestampTz" + }, + { + "name": "disturbData", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "verbosity", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spatialarr_wkt_out", + "file": "tspatial.h", + "family": "CORE", + "returnType": { + "c": "char **", + "canonical": "char **" + }, + "params": [ + { + "name": "spatialarr", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "spatialbase_as_ewkt", + "file": "tspatial.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "point_transf_pj", + "file": "tspatial.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + { + "name": "srid_to", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "pj", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tgeoinst_set_stbox", + "file": "tspatial_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tgeoinstarr_set_stbox", + "file": "tspatial_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tgeoseq_expand_stbox", + "file": "tspatial_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tspatialinst_set_stbox", + "file": "tspatial_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tspatialinstarr_set_stbox", + "file": "tspatial_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "box", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tspatialseqarr_set_stbox", + "file": "tspatial_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tspatialseq_expand_stbox", + "file": "tspatial_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "spatialarr_set_bbox", + "file": "tspatial_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "bool", + "cType": "int (int *)", + "canonical": "int (int *)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boxop_tspatial_tspatial", + "file": "tspatial_boxops.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "bool", + "cType": "int (int *)", + "canonical": "int (int *)" + } + ] + }, + { + "name": "srid_parse", + "file": "tspatial_parser.h", + "family": "CORE", + "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", + "family": "CORE", + "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": "int ((*)(int *))()" + } + ] + }, + { + "name": "geo_parse", + "file": "tspatial_parser.h", + "family": "CORE", + "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": "GSERIALIZED **", + "canonical": "GSERIALIZED **" + } + ] + }, + { + "name": "stbox_parse", + "file": "tspatial_parser.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "tpoint_parse", + "file": "tspatial_parser.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tspatialinst_parse", + "file": "tspatial_parser.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct 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", + "family": "H3", + "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", + "family": "H3", + "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", + "family": "H3", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_get_directed_edge_origin_meos", + "file": "h3_generated.h", + "family": "H3", + "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", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_parent_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_cell_to_center_child_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_cell_to_child_pos_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "child", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "parentRes", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_child_pos_to_cell_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "childPos", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "parent", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "childRes", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_get_resolution_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_get_base_cell_number_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_is_valid_cell_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_is_res_class_iii_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_is_pentagon_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "hex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_get_num_cells_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_grid_distance_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "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", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "vertexNum", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_is_valid_vertex_meos", + "file": "h3_generated.h", + "family": "H3", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "vertex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_in", + "file": "h3index.h", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "h3index_out", + "file": "h3index.h", + "family": "H3", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3index_eq", + "file": "h3index.h", + "family": "H3", + "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", + "family": "H3", + "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", + "family": "H3", + "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", + "family": "H3", + "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", + "family": "H3", + "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", + "family": "H3", + "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", + "family": "H3", + "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", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_grid_disk", + "file": "h3index_sets.h", + "family": "H3", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "k", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_grid_ring", + "file": "h3index_sets.h", + "family": "H3", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "k", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_grid_path_cells", + "file": "h3index_sets.h", + "family": "H3", + "returnType": { + "c": "Set *", + "canonical": "struct 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", + "family": "H3", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "childRes", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_compact_cells", + "file": "h3index_sets.h", + "family": "H3", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "cells", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "h3_uncompact_cells", + "file": "h3index_sets.h", + "family": "H3", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "cells", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "res", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_origin_to_directed_edges", + "file": "h3index_sets.h", + "family": "H3", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_vertexes", + "file": "h3index_sets.h", + "family": "H3", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_get_icosahedron_faces", + "file": "h3index_sets.h", + "family": "H3", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ensure_valid_th3index_th3index", + "file": "th3index.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_valid_th3index_h3index", + "file": "th3index.h", + "family": "H3", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ensure_valid_th3index_tgeogpoint", + "file": "th3index.h", + "family": "H3", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "datum2_h3index_eq", + "file": "th3index.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "d2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_h3index_ne", + "file": "th3index.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "d2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "h3index_set_stbox", + "file": "th3index_boxops.h", + "family": "H3", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "h3indexarr_set_stbox", + "file": "th3index_boxops.h", + "family": "H3", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "th3indexinst_set_stbox", + "file": "th3index_boxops.h", + "family": "H3", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "th3indexinstarr_set_stbox", + "file": "th3index_boxops.h", + "family": "H3", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "th3indexseq_expand_stbox", + "file": "th3index_boxops.h", + "family": "H3", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "h3_gs_point_to_cell", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "point", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_cell_to_gs_point", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_gs_boundary", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "cell_boundary_to_gs", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "bnd", + "cType": "const CellBoundary *", + "canonical": "const CellBoundary *" + } + ] + }, + { + "name": "h3_sample_step_deg", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_latlng_deg_to_cell", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "lat_deg", + "cType": "double", + "canonical": "double" + }, + { + "name": "lng_deg", + "cType": "double", + "canonical": "double" + }, + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "h3_cell_to_parent_next_meos", + "file": "th3index_internal.h", + "family": "H3", + "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", + "family": "H3", + "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", + "family": "H3", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "edge", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_vertex_to_gs_point", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "vertex", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "h3_cell_to_local_ij_meos", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "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", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "origin", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "coord", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "h3_unit_from_cstring", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "H3Unit", + "canonical": "H3Unit" + }, + "params": [ + { + "name": "unit", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "h3_cell_area_meos", + "file": "th3index_internal.h", + "family": "H3", + "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", + "family": "H3", + "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", + "family": "H3", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "a", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "b", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "unit", + "cType": "H3Unit", + "canonical": "H3Unit" + } + ] + }, + { + "name": "datum_h3_get_resolution", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_get_base_cell_number", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_is_valid_cell", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_is_res_class_iii", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_is_pentagon", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cell_to_parent", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "res_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cell_to_parent_next", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cell_to_center_child", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "res_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cell_to_center_child_next", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cell_to_child_pos", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "parent_res_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_child_pos_to_cell", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "pos_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "parent_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "child_res_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_are_neighbor_cells", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "origin_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dest_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cells_to_directed_edge", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "origin_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dest_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_is_valid_directed_edge", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_get_directed_edge_origin", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_get_directed_edge_destination", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_directed_edge_to_boundary", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cell_to_vertex", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "vnum_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_vertex_to_latlng", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_is_valid_vertex", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_grid_distance", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "origin_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "dest_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cell_to_local_ij", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "origin_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_local_ij_to_cell", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "origin_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "coord_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_latlng_to_cell", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "point_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "res_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cell_to_latlng", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cell_to_boundary", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_cell_area", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "cell_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "unit_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_edge_length", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "edge_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "unit_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_h3_great_circle_distance", + "file": "th3index_internal.h", + "family": "H3", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "a_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "b_d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "unit_d", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "json_in", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "json_out", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "jsonb_from_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "txt", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "unique_keys", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonb_in", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "jsonb_out", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "json_make", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "keys_vals", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "json_make_two_arg", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "keys", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "values", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_copy", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_make", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "keys_vals", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_make_two_arg", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "keys", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "values", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_to_bool", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_to_cstring", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_to_float4", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_to_float8", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_to_int16", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int16", + "canonical": "short" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_to_int32", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_to_int64", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_to_numeric", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_to_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "json_array_element", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "element", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "json_array_element_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "element", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "json_array_elements", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text **", + "canonical": "text **" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "json_array_elements_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text **", + "canonical": "text **" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "json_array_length", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "json_each", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text **", + "canonical": "text **" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "values", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "json_each_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text **", + "canonical": "text **" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "values", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "json_extract_path", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "json_extract_path_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "json_object_field", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "json_object_field_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "json_object_keys", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text **", + "canonical": "text **" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "json_typeof", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "jsonb_array_element", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "element", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_array_element_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "element", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_array_elements", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int **", + "canonical": "int **" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "jsonb_array_elements_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text **", + "canonical": "text **" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "jsonb_array_length", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_contained", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jb2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_contains", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jb2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_each", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text **", + "canonical": "text **" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "values", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "jsonb_each_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text **", + "canonical": "text **" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "values", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "jsonb_exists", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "jsonb_exists_array", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "keys_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "keys_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "any", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonb_extract_path", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_extract_path_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_hash", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_hash_extended", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "seed", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_object_field", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "jsonb_object_field_text", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "jsonb_object_keys", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text **", + "canonical": "text **" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "json_strip_nulls", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "js", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "strip_in_arrays", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonb_concat", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jb2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_delete", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "jsonb_delete_array", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "keys_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "keys_len", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_delete_index", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "idx", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_delete_path", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_insert", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "newjb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "after", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonb_pretty", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "text *", + "canonical": "text *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_set", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "newjb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "create", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonb_set_lax", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "newjb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "create", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "handle_null", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "jsonb_strip_nulls", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "strip_in_arrays", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonb_cmp", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jb2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_eq", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jb2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_ge", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jb2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_gt", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jb2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_le", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jb2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_lt", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jb2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_ne", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb1", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jb2", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_path_exists", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonb_path_match", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonb_path_query_all", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int **", + "canonical": "int **" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "jsonb_path_query_array", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonb_path_query_first", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonpath_in", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "jsonpath_copy", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonpath_out", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonbset_in", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "jsonbset_out", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonbset_make", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "values", + "cType": "const int **", + "canonical": "const int **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonb_to_set", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonbset_end_value", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "jsonbset_start_value", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "jsonbset_value_n", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "int **", + "canonical": "int **" + } + ] + }, + { + "name": "jsonbset_values", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int **", + "canonical": "int **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "concat_jsonbset_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonbset_array_length", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "jsonbset_object_field", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "astext", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "jsonbset_array_element", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "idx", + "cType": "int", + "canonical": "int" + }, + { + "name": "astext", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "jsonbset_delete_index", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "idx", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonbset_delete", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "jsonbset_delete_array", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "keys", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonbset_exists", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "jsonbset_exists_array", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "keys", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "any", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonbset_set", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "keys", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "newjb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "create", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "null_handle", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "lax", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonbset_to_alphanumset", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "key", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "settype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "jsonbset_to_intset", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "key", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "jsonbset_to_floatset", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "key", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "jsonbset_to_textset_key", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "key", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "jsonbset_strip_nulls", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "strip_in_arrays", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonbset_pretty", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "jsonbset_delete_path", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "jsonbset_extract_path", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "astext", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "jsonbset_insert", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "newjb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "after", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonbset_path_exists", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonbset_path_match", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonbset_path_query_array", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonbset_path_query_first", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "contained_jsonb_set", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "contains_set_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "jb", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "intersection_jsonb_set", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "intersection_set_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "jsonb_union_transfn", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "struct Set *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "minus_jsonb_set", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "minus_set_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "union_jsonb_set", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "union_set_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tjsonb_from_mfjson", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tjsonb_in", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tjsonb_out", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tjsonbinst_from_mfjson", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tjsonbinst_in", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tjsonbseq_from_mfjson", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tjsonbseq_in", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tjsonbseqset_from_mfjson", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + } + ] + }, + { + "name": "tjsonbseqset_in", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tjsonb_from_base_temp", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "jsonb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tjsonbinst_make", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "jsonb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tjsonbseq_from_base_tstzset", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "jsonb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tjsonbseq_from_base_tstzspan", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "jsonb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "sp", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "tjsonbseqset_from_base_tstzspanset", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "jsonb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "tjsonb_to_ttext", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ttext_to_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tjsonb_end_value", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tjsonb_start_value", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tjsonb_value_at_timestamptz", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "value", + "cType": "int **", + "canonical": "int **" + } + ] + }, + { + "name": "tjsonb_value_n", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "int **", + "canonical": "int **" + } + ] + }, + { + "name": "tjsonb_values", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int **", + "canonical": "int **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "concat_tjsonb_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "concat_tjsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "contains_tjsonb_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "contains_tjsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "null_handle_type_from_string", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "nullHandleType", + "canonical": "nullHandleType" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tjson_array_element", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "idx", + "cType": "int", + "canonical": "int" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "tjson_array_length", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tjson_extract_path", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "tjson_object_field", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "astext", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "tjson_strip_nulls", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "strip_in_arrays", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tjsonb_array_element", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "idx", + "cType": "int", + "canonical": "int" + }, + { + "name": "astext", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "tjsonb_array_length", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tjsonb_delete", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "tjsonb_delete_array", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "keys", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tjsonb_delete_index", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "idx", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tjsonb_delete_path", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tjsonb_exists", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + } + ] + }, + { + "name": "tjsonb_exists_array", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "keys", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "any", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tjsonb_extract_path", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "path_elems", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "astext", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "tjsonb_insert", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "keys", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "newjb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "after", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tjsonb_object_field", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "key", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "astext", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "tjsonb_path_exists", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tjsonb_path_match", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tjsonb_path_query_array", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tjsonb_path_query_first", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jp", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "vars", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "silent", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "tz", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tjsonb_pretty", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tjsonb_set", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "keys", + "cType": "text **", + "canonical": "text **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "newjb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "create", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "handle_null", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "lax", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tjsonb_strip_nulls", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "strip_in_arrays", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tjsonb_to_tbool", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "key", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "tjsonb_to_tfloat", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "key", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "tjsonb_to_tint", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "key", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "tjsonb_to_ttext_key", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "key", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "tjsonb_at_value", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jsb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tjsonb_minus_value", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jsb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_eq_jsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_tjsonb_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_eq_tjsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_jsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_tjsonb_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "always_ne_tjsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_jsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_tjsonb_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_eq_tjsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_jsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_tjsonb_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "ever_ne_tjsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_jsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_tjsonb_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "tne_jsonb_tjsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tne_tjsonb_jsonb", + "file": "meos_json.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "setPath", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "it", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "path_elems", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "path_nulls", + "cType": "bool *", + "canonical": "bool *" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "st", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + }, + { + "name": "newval", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "op_type", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "setPathObject", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "it", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "path_elems", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "path_nulls", + "cType": "bool *", + "canonical": "bool *" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "st", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + }, + { + "name": "newval", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "npairs", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "op_type", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "setPathArray", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "it", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "path_elems", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "path_nulls", + "cType": "bool *", + "canonical": "bool *" + }, + { + "name": "path_len", + "cType": "int", + "canonical": "int" + }, + { + "name": "st", + "cType": "int **", + "canonical": "int **" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + }, + { + "name": "newval", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "nelems", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "op_type", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "datum_jsonb_concat", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_contained", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_contains", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_delete", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "key", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_delete_array", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "array", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_delete_index", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "idx", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_json_array_element", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "txt", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "element", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_array_element", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "element", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_json_array_element_text", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "txt", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "element", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_array_element_text", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "element", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_exists", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_exists_array", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "array", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "any", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_json_array_length", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "txt", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_array_length", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "txt", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_json_object_field", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "txt", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "key", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_object_field", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "key", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_json_object_field_text", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "txt", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "key", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_object_field_text", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "key", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_json_strip_nulls", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "txt", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "strip_in_arrays", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_strip_nulls", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "strip_in_arrays", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_pretty", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_json_extract_path", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "txt", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "path_elems", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "path_len", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_extract_path", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "path_elems", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "path_len", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_json_extract_path_text", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "txt", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "path_elems", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "path_len", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_extract_path_text", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "path_elems", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "path_len", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_set", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "keys", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "newjb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "create", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_set_lax", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "keys", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "newjb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "create", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "null_handle", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_delete_path", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "keys", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_insert", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "keys", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "count", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "newjb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "after", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_path_exists", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "jp", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "vars", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "silent", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "tz", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_path_match", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "jp", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "vars", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "silent", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "tz", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_path_query_array", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "jp", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "vars", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "silent", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "tz", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_path_query_first", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "jp", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "vars", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "silent", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "tz", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_to_text", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_text_to_jsonb", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "txt", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_jsonb_to_alphanum", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "jb", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "key", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temptype", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "null_handle", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "tjsonb_to_talphanum", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "key", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "resbasetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "null_handle", + "cType": "nullHandleType", + "canonical": "nullHandleType" + } + ] + }, + { + "name": "jsonbfunc_jsonbset", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "func", + "cType": "int", + "canonical": "int" + }, + { + "name": "intype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "restype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "jsonbfunc_jsonbset_jsonb", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "jb", + "cType": "const int *", + "canonical": "const int *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "jsonbfunc_jsonbset_text", + "file": "tjsonb.h", + "family": "JSON", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "txt", + "cType": "const text *", + "canonical": "const text *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + } + ] + }, + { + "name": "meos_temporal_to_arrow", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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_arrow.h", + "family": "ARROW", + "returnType": { + "c": "Temporal *", + "canonical": "struct 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_arrow.h", + "family": "ARROW", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "meos_set_to_arrow", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct 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_arrow.h", + "family": "ARROW", + "returnType": { + "c": "Set *", + "canonical": "struct 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_arrow.h", + "family": "ARROW", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "meos_span_to_arrow", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "out_schema", + "cType": "struct ArrowSchema *", + "canonical": "struct ArrowSchema *" + }, + { + "name": "out_array", + "cType": "struct ArrowArray *", + "canonical": "struct ArrowArray *" + } + ] + }, + { + "name": "meos_span_from_arrow", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "schema", + "cType": "const struct ArrowSchema *", + "canonical": "const struct ArrowSchema *" + }, + { + "name": "array", + "cType": "const struct ArrowArray *", + "canonical": "const struct ArrowArray *" + } + ] + }, + { + "name": "meos_span_arrow_roundtrip", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "meos_spanset_to_arrow", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "out_schema", + "cType": "struct ArrowSchema *", + "canonical": "struct ArrowSchema *" + }, + { + "name": "out_array", + "cType": "struct ArrowArray *", + "canonical": "struct ArrowArray *" + } + ] + }, + { + "name": "meos_spanset_from_arrow", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "schema", + "cType": "const struct ArrowSchema *", + "canonical": "const struct ArrowSchema *" + }, + { + "name": "array", + "cType": "const struct ArrowArray *", + "canonical": "const struct ArrowArray *" + } + ] + }, + { + "name": "meos_spanset_arrow_roundtrip", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "meos_tbox_to_arrow", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "out_schema", + "cType": "struct ArrowSchema *", + "canonical": "struct ArrowSchema *" + }, + { + "name": "out_array", + "cType": "struct ArrowArray *", + "canonical": "struct ArrowArray *" + } + ] + }, + { + "name": "meos_tbox_from_arrow", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "schema", + "cType": "const struct ArrowSchema *", + "canonical": "const struct ArrowSchema *" + }, + { + "name": "array", + "cType": "const struct ArrowArray *", + "canonical": "const struct ArrowArray *" + } + ] + }, + { + "name": "meos_tbox_arrow_roundtrip", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "meos_stbox_to_arrow", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "out_schema", + "cType": "struct ArrowSchema *", + "canonical": "struct ArrowSchema *" + }, + { + "name": "out_array", + "cType": "struct ArrowArray *", + "canonical": "struct ArrowArray *" + } + ] + }, + { + "name": "meos_stbox_from_arrow", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "schema", + "cType": "const struct ArrowSchema *", + "canonical": "const struct ArrowSchema *" + }, + { + "name": "array", + "cType": "const struct ArrowArray *", + "canonical": "const struct ArrowArray *" + } + ] + }, + { + "name": "meos_stbox_arrow_roundtrip", + "file": "meos_arrow.h", + "family": "ARROW", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "h3index_from_wkb", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "int (int *)" + } + ] + }, + { + "name": "h3index_from_hexwkb", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "h3index_as_wkb", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "uint8_t *", + "canonical": "unsigned char *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "int (*)(int *)" + } + ] + }, + { + "name": "h3index_as_hexwkb", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "int (*)(int *)" + } + ] + }, + { + "name": "th3index_in", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "th3indexinst_in", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "th3indexseq_in", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "th3indexseqset_in", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "th3index_make", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "value", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "th3indexinst_make", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "value", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "th3indexseq_make", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "values", + "cType": "const H3Index *", + "canonical": "const unsigned long *" + }, + { + "name": "times", + "cType": "const TimestampTz *", + "canonical": "const TimestampTz *" + }, + { + "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", + "family": "H3", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "const TSequence **", + "canonical": "const struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "th3index_start_value", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_end_value", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "H3Index", + "canonical": "unsigned long" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_value_n", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "H3Index *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "th3index_values", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "H3Index *", + "canonical": "unsigned long *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "th3index_value_at_timestamptz", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "H3Index *", + "canonical": "unsigned long *" + } + ] + }, + { + "name": "tbigint_to_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_to_tbigint", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_h3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_th3index_h3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ever_ne_h3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_th3index_h3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "always_eq_h3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_th3index_h3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "always_ne_h3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_th3index_h3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "ever_eq_th3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_th3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_th3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_th3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_h3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_th3index_h3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "teq_th3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tne_h3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tne_th3index_h3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "H3Index", + "canonical": "unsigned long" + } + ] + }, + { + "name": "tne_th3index_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_get_resolution", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_get_base_cell_number", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_is_valid_cell", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_is_res_class_iii", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_is_pentagon", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_parent", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "th3index_cell_to_parent_next", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_center_child", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "th3index_cell_to_center_child_next", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_child_pos", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "parent_res", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "th3index_child_pos_to_cell", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "child_pos", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "parent", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "child_res", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tgeogpoint_to_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tgeompoint_to_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "th3index_to_tgeogpoint", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_to_tgeompoint", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_boundary", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "geo_to_h3index_set", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ever_eq_h3indexset_th3index", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cells", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "th3idx", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_are_neighbor_cells", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "origin", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dest", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_cells_to_directed_edge", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "origin", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dest", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_is_valid_directed_edge", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "edge", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_get_directed_edge_origin", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "edge", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_get_directed_edge_destination", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "edge", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_directed_edge_to_boundary", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "edge", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_vertex", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "vertex_num", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "th3index_vertex_to_latlng", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_is_valid_vertex", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_grid_distance", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "origin", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dest", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_cell_to_local_ij", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "origin", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_local_ij_to_cell", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "origin", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "coord", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "th3index_cell_area", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "unit", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "th3index_edge_length", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "unit", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeogpoint_great_circle_distance", + "file": "meos_h3.h", + "family": "H3", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "a", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "b", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "unit", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "proj_get_context", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "PJ_CONTEXT *", + "canonical": "struct pj_ctx *" + }, + "params": [] + }, + { + "name": "geos_get_context", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "GEOSContextHandle_t", + "canonical": "struct GEOSContextHandle_HS *" + }, + "params": [] + }, + { + "name": "datum_geo_round", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "point_round", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "stbox_set", + "file": "meos_internal_geo.h", + "family": "CORE", + "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": "int", + "canonical": "int" + }, + { + "name": "xmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "xmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymin", + "cType": "double", + "canonical": "double" + }, + { + "name": "ymax", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmin", + "cType": "double", + "canonical": "double" + }, + { + "name": "zmax", + "cType": "double", + "canonical": "double" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "gbox_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box", + "cType": "const GBOX *", + "canonical": "const GBOX *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "geo_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "geoarr_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "spatial_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "spatialset_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "stbox_set_box3d", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "box3d", + "cType": "BOX3D *", + "canonical": "BOX3D *" + } + ] + }, + { + "name": "stbox_set_gbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "gbox", + "cType": "GBOX *", + "canonical": "GBOX *" + } + ] + }, + { + "name": "tstzset_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tstzspan_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tstzspanset_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "stbox_expand", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "box2", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "inter_stbox_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "box2", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "result", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tgeogpointinst_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tgeogpointinst_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeogpointseq_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeogpointseq_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeogpointseqset_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeogpointseqset_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeompointinst_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tgeompointinst_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeompointseq_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeompointseq_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeompointseqset_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeompointseqset_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeographyinst_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tgeographyinst_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeographyseq_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeographyseq_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeographyseqset_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeographyseqset_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeometryinst_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tgeometryinst_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tgeometryseq_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeometryseq_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeometryseqset_from_mfjson", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "mfjson", + "cType": "json_object *", + "canonical": "struct json_object *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeometryseqset_in", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tspatial_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tspatialseq_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tspatialseqset_set_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tgeo_restrict_elevation", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeo_restrict_geom", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeo_restrict_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoinst_restrict_geom", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoinst_restrict_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseq_restrict_geom", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseq_restrict_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseqset_restrict_geom", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseqset_restrict_stbox", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "spatial_srid", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spatial_set_srid", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tspatialinst_srid", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tpointseq_azimuth", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tpointseq_cumulative_length", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "prevlength", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tpointseq_is_simple", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tpointseq_length", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tpointseq_linear_trajectory", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeoseq_stboxes", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeoseq_split_n_stboxes", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "max_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tpointseqset_azimuth", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tpointseqset_cumulative_length", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tpointseqset_is_simple", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tpointseqset_length", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tgeoseqset_stboxes", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeoseqset_split_n_stboxes", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "max_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tgeominst_tgeoginst", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeomseq_tgeogseq", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeomseqset_tgeogseqset", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeom_tgeog", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tgeo_tpoint", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "oper", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tspatialinst_set_srid", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant *", + "canonical": "struct TInstant *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpointseq_make_simple", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tspatialseq_set_srid", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpointseqset_make_simple", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tspatialseqset_set_srid", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "tpointseq_twcentroid", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tpointseqset_twcentroid", + "file": "meos_internal_geo.h", + "family": "CORE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "npoint_as_ewkt", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_as_hexwkb", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "int (*)(int *)" + } + ] + }, + { + "name": "npoint_as_text", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_as_wkb", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "uint8_t *", + "canonical": "unsigned char *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "int (*)(int *)" + } + ] + }, + { + "name": "npoint_from_hexwkb", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "npoint_from_wkb", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "int (int *)" + } + ] + }, + { + "name": "npoint_in", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "npoint_out", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "nsegment_in", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment *", + "canonical": "struct Nsegment *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "nsegment_out", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_make", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "rid", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "pos", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "nsegment_make", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment *", + "canonical": "struct Nsegment *" + }, + "params": [ + { + "name": "rid", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "pos1", + "cType": "double", + "canonical": "double" + }, + { + "name": "pos2", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "geompoint_to_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "geom_to_nsegment", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment *", + "canonical": "struct Nsegment *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "npoint_to_geompoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_to_nsegment", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment *", + "canonical": "struct Nsegment *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_to_stbox", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "nsegment_to_geom", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "nsegment_to_stbox", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "npoint_hash", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_hash_extended", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "seed", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_position", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_route", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "nsegment_end_position", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "nsegment_route", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "nsegment_start_position", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "route_exists", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "rid", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, + { + "name": "route_geom", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + "params": [ + { + "name": "rid", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, + { + "name": "route_length", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "rid", + "cType": "int64_t", + "canonical": "int64_t" + } + ] + }, + { + "name": "npoint_round", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "nsegment_round", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment *", + "canonical": "struct Nsegment *" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "get_srid_ways", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [] + }, + { + "name": "npoint_srid", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "nsegment_srid", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "npoint_timestamptz_to_stbox", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "npoint_tstzspan_to_stbox", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "npoint_cmp", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_eq", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_ge", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_gt", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_le", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_lt", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_ne", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_same", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "nsegment_cmp", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "nsegment_eq", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "nsegment_ge", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "nsegment_gt", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "nsegment_le", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "nsegment_lt", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "nsegment_ne", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns1", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + }, + { + "name": "ns2", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + } + ] + }, + { + "name": "npointset_in", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "npointset_out", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npointset_make", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "values", + "cType": "Npoint **", + "canonical": "struct Npoint **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_to_set", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npointset_end_value", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "npointset_routes", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "npointset_start_value", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "npointset_value_n", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Npoint **", + "canonical": "struct Npoint **" + } + ] + }, + { + "name": "npointset_values", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint **", + "canonical": "struct Npoint **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "contained_npoint_set", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "contains_set_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "intersection_npoint_set", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "intersection_set_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "minus_npoint_set", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "minus_set_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npoint_union_transfn", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "struct Set *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "union_npoint_set", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "union_set_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "tnpoint_in", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tnpoint_from_mfjson", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "mfjson", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tnpoint_out", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tnpointinst_make", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tnpoint_from_base_temp", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpointseq_from_base_tstzset", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tnpointseq_from_base_tstzspan", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tnpointseqset_from_base_tstzspanset", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tgeompoint_to_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_to_tgeompoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_cumulative_length", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_end_value", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_length", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_positions", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment **", + "canonical": "struct Nsegment **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnpoint_route", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_routes", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_speed", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_start_value", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_trajectory", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_value_at_timestamptz", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "value", + "cType": "Npoint **", + "canonical": "struct Npoint **" + } + ] + }, + { + "name": "tnpoint_value_n", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Npoint **", + "canonical": "struct Npoint **" + } + ] + }, + { + "name": "tnpoint_values", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint **", + "canonical": "struct Npoint **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnpoint_twcentroid", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_at_geom", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tnpoint_at_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "tnpoint_at_npointset", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tnpoint_at_stbox", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnpoint_minus_geom", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tnpoint_minus_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "tnpoint_minus_npointset", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tnpoint_minus_stbox", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdistance_tnpoint_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "tdistance_tnpoint_geo", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tdistance_tnpoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nad_tnpoint_geo", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nad_tnpoint_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "nad_tnpoint_stbox", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_tnpoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nai_tnpoint_geo", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nai_tnpoint_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "nai_tnpoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "shortestline_tnpoint_geo", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "shortestline_tnpoint_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "shortestline_tnpoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpoint_tcentroid_transfn", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_npoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_tnpoint_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "always_eq_tnpoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_npoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_tnpoint_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "always_ne_tnpoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_npoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_tnpoint_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "ever_eq_tnpoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_npoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_tnpoint_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "ever_ne_tnpoint_tnpoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_tnpoint_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "tne_tnpoint_npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "pcpoint_hex_in", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpoint_hex_out", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpoint_as_hexwkb", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_copy", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_get_pcid", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "uint32_t", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_hash", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_hash_extended", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "seed", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpoint_get_x", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "TPCBox *", + "canonical": "struct 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", + "family": "POINTCLOUD", + "returnType": { + "c": "PCSCHEMA *", + "canonical": "struct PCSCHEMA *" + }, + "params": [ + { + "name": "pcid", + "cType": "uint32_t", + "canonical": "unsigned int" + } + ] + }, + { + "name": "meos_pc_schema_register", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [] + }, + { + "name": "pcpoint_cmp", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpatch_hex_out", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpatch_as_hexwkb", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_copy", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_get_pcid", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "uint32_t", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_npoints", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "uint32_t", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_hash", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_hash_extended", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "seed", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpatch_cmp", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpointset_out", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpointset_make", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "values", + "cType": "Pcpoint **", + "canonical": "struct Pcpoint **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpoint_to_set", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpointset_start_value", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "pcpointset_end_value", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpoint *", + "canonical": "struct Pcpoint *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "pcpointset_value_n", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Pcpoint **", + "canonical": "struct Pcpoint **" + } + ] + }, + { + "name": "pcpointset_values", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpoint **", + "canonical": "struct Pcpoint **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "contains_set_pcpoint", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pt", + "cType": "Pcpoint *", + "canonical": "struct Pcpoint *" + } + ] + }, + { + "name": "contained_pcpoint_set", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "intersection_pcpoint_set", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "intersection_set_pcpoint", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "minus_pcpoint_set", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "minus_set_pcpoint", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "union_pcpoint_set", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "union_set_pcpoint", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_union_transfn", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "struct Set *" + }, + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpatchset_in", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pcpatchset_out", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpatchset_make", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "values", + "cType": "Pcpatch **", + "canonical": "struct Pcpatch **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pcpatch_to_set", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatchset_start_value", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "pcpatchset_end_value", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "pcpatchset_value_n", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Pcpatch **", + "canonical": "struct Pcpatch **" + } + ] + }, + { + "name": "pcpatchset_values", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpatch **", + "canonical": "struct Pcpatch **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "contains_set_pcpatch", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pa", + "cType": "Pcpatch *", + "canonical": "struct Pcpatch *" + } + ] + }, + { + "name": "contained_pcpatch_set", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "intersection_pcpatch_set", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "intersection_set_pcpatch", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "minus_pcpatch_set", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "minus_set_pcpatch", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "union_pcpatch_set", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "union_set_pcpatch", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_union_transfn", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "struct Set *" + }, + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "tpcbox_in", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "TPCBox *", + "canonical": "struct TPCBox *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tpcbox_out", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpcbox_make", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "TPCBox *", + "canonical": "struct 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 struct Span *" + } + ] + }, + { + "name": "tpcbox_copy", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "TPCBox *", + "canonical": "struct TPCBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "pcpatch_to_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "TPCBox *", + "canonical": "struct 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", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_hasz", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_hast", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_geodetic", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_xmin", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_xmax", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_ymin", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_ymax", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_zmin", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_zmax", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tpcbox_tmin", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "tpcbox_tmin_inc", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "bool *", + "canonical": "bool *" + } + ] + }, + { + "name": "tpcbox_tmax", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "tpcbox_tmax_inc", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "bool *", + "canonical": "bool *" + } + ] + }, + { + "name": "tpcbox_srid", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_pcid", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "uint32_t", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_to_stbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_expand", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "TPCBox *", + "canonical": "struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_round", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "TPCBox *", + "canonical": "struct TPCBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpcbox_set_srid", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "TPCBox *", + "canonical": "struct TPCBox *" + }, + "params": [ + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "union_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "TPCBox *", + "canonical": "struct TPCBox *" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "inter_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "result", + "cType": "TPCBox *", + "canonical": "struct TPCBox *" + } + ] + }, + { + "name": "intersection_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "TPCBox *", + "canonical": "struct TPCBox *" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "contains_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "contained_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "overlaps_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "same_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "adjacent_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_cmp", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_eq", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_ne", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_lt", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_le", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_gt", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_ge", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "left_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "overleft_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "right_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "overright_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "below_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "overbelow_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "above_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "overabove_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "front_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "overfront_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "back_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "overback_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "before_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "overbefore_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "after_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "overafter_tpcbox_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "ensure_same_pcid_tpcbox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "tpointcloudinst_make", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "eintersects_tpcpoint_geo", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nad_tpcpoint_geo", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "pose_as_ewkt", + "file": "meos_pose.h", + "family": "POSE", + "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", + "family": "POSE", + "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": "int (*)(int *)" + } + ] + }, + { + "name": "pose_as_text", + "file": "meos_pose.h", + "family": "POSE", + "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", + "family": "POSE", + "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": "int (*)(int *)" + } + ] + }, + { + "name": "pose_from_wkb", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "int (int *)" + } + ] + }, + { + "name": "pose_from_hexwkb", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pose_in", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pose_out", + "file": "meos_pose.h", + "family": "POSE", + "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", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "json", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "pose_as_geopose", + "file": "meos_pose.h", + "family": "POSE", + "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", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "json", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tpose_as_geopose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "conformance", + "cType": "int", + "canonical": "int" + }, + { + "name": "precision", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pose_apply_geo", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "body", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tpose_apply_geo", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "body", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "pose_copy", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_make_2d", + "file": "meos_pose.h", + "family": "POSE", + "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": "geodetic", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "pose_make_3d", + "file": "meos_pose.h", + "family": "POSE", + "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": "geodetic", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "srid", + "cType": "int32_t", + "canonical": "int" + } + ] + }, + { + "name": "pose_make_point2d", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "theta", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "pose_make_point3d", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "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", + "family": "POSE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_to_stbox", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_hash", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_hash_extended", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "seed", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pose_orientation", + "file": "meos_pose.h", + "family": "POSE", + "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", + "family": "POSE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_yaw", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_pitch", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_roll", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_angular_distance", + "file": "meos_pose.h", + "family": "POSE", + "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_normalize", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_round", + "file": "meos_pose.h", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_transform", + "file": "meos_pose.h", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "pose_timestamptz_to_stbox", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "distance_pose_geo", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "distance_pose_pose", + "file": "meos_pose.h", + "family": "POSE", + "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", + "family": "POSE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "pose_cmp", + "file": "meos_pose.h", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "poseset_out", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "poseset_make", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct 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", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "poseset_end_value", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "poseset_start_value", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "poseset_value_n", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Pose **", + "canonical": "struct Pose **" + } + ] + }, + { + "name": "poseset_values", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose **", + "canonical": "struct Pose **" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "contained_pose_set", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "contains_set_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pose", + "cType": "Pose *", + "canonical": "struct Pose *" + } + ] + }, + { + "name": "intersection_pose_set", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "intersection_set_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "minus_pose_set", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "minus_set_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_union_transfn", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "state", + "cType": "Set *", + "canonical": "struct Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "union_pose_set", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "union_set_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tpose_from_mfjson", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tpose_in", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tposeinst_make", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tpose_from_base_temp", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tposeseq_from_base_tstzset", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tposeseq_from_base_tstzspan", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tposeseqset_from_base_tstzspanset", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tpose_make", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "tpoint", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "tradius", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_to_tpoint", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_end_value", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_points", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_rotation", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_yaw", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_pitch", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_roll", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_speed", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_angular_speed", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_start_value", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose *", + "canonical": "struct Pose *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_trajectory", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpose_value_at_timestamptz", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Pose **", + "canonical": "struct Pose **" + } + ] + }, + { + "name": "tpose_value_n", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Pose **", + "canonical": "struct Pose **" + } + ] + }, + { + "name": "tpose_values", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Pose **", + "canonical": "struct Pose **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tpose_at_geom", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tpose_at_stbox", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tpose_at_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tpose_minus_geom", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tpose_minus_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tpose_minus_stbox", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdistance_tpose_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tdistance_tpose_geo", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tdistance_tpose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nad_tpose_geo", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nad_tpose_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "nad_tpose_stbox", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_tpose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nai_tpose_geo", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nai_tpose_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "nai_tpose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "shortestline_tpose_geo", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "shortestline_tpose_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "shortestline_tpose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_pose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_tpose_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "always_eq_tpose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_pose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_tpose_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "always_ne_tpose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_pose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_tpose_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "ever_eq_tpose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_pose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_tpose_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "ever_ne_tpose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_pose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_tpose_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "tne_pose_tpose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tne_tpose_pose", + "file": "meos_pose.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "quadbin_is_valid_index", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "index", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_is_valid_cell", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_tile_to_cell", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin", + "canonical": "int" + }, + "params": [ + { + "name": "x", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "y", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "z", + "cType": "uint32_t", + "canonical": "unsigned int" + } + ] + }, + { + "name": "quadbin_cell_to_tile", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "x", + "cType": "uint32_t *", + "canonical": "unsigned int *" + }, + { + "name": "y", + "cType": "uint32_t *", + "canonical": "unsigned int *" + }, + { + "name": "z", + "cType": "uint32_t *", + "canonical": "unsigned int *" + } + ] + }, + { + "name": "quadbin_get_resolution", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "uint32_t", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_cell_to_parent", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "parent_resolution", + "cType": "uint32_t", + "canonical": "unsigned int" + } + ] + }, + { + "name": "quadbin_cell_to_children", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin *", + "canonical": "int *" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "children_resolution", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "quadbin_cell_sibling", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "direction", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "quadbin_k_ring", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin *", + "canonical": "int *" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "k", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "quadbin_point_to_cell", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin", + "canonical": "int" + }, + "params": [ + { + "name": "longitude", + "cType": "double", + "canonical": "double" + }, + { + "name": "latitude", + "cType": "double", + "canonical": "double" + }, + { + "name": "resolution", + "cType": "uint32_t", + "canonical": "unsigned int" + } + ] + }, + { + "name": "quadbin_cell_to_point", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "longitude", + "cType": "double *", + "canonical": "double *" + }, + { + "name": "latitude", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "quadbin_cell_to_bounding_box", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "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": "quadbin_cell_area", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_index_to_string", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "index", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_string_to_index", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin", + "canonical": "int" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "quadbin_cell_to_quadkey", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_parse", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin", + "canonical": "int" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "quadbin_eq", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "b", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_ne", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "b", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_lt", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "b", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_le", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "b", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_gt", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "b", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_ge", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "a", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "b", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_cmp", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "a", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "b", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_hash", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "uint32_t", + "canonical": "unsigned int" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_grid_disk", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "origin", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "k", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "quadbin_cell_to_children_set", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "origin", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "children_resolution", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tquadbin_in", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tquadbininst_in", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tquadbinseq_in", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tquadbinseqset_in", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "tquadbin_make", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "value", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tquadbininst_make", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "value", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "tquadbinseq_make", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "values", + "cType": "const Quadbin *", + "canonical": "const int *" + }, + { + "name": "times", + "cType": "const TimestampTz *", + "canonical": "const TimestampTz *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tquadbinseqset_make", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "const TSequence **", + "canonical": "const struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tquadbin_start_value", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tquadbin_end_value", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tquadbin_value_n", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "Quadbin *", + "canonical": "int *" + } + ] + }, + { + "name": "tquadbin_values", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Quadbin *", + "canonical": "int *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tquadbin_value_at_timestamptz", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Quadbin *", + "canonical": "int *" + } + ] + }, + { + "name": "tbigint_to_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tquadbin_to_tbigint", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_quadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_tquadbin_quadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "ever_ne_quadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_tquadbin_quadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "always_eq_quadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_tquadbin_quadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "always_ne_quadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_tquadbin_quadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "ever_eq_tquadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_tquadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_tquadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_tquadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_quadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_tquadbin_quadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "teq_tquadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tne_quadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tne_tquadbin_quadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "tne_tquadbin_tquadbin", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tquadbin_cell_to_quadkey", + "file": "meos_quadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "raster_tile_value_quadbin", + "file": "meos_raster.h", + "family": "RASTER", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "pixels", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "width", + "cType": "uint16_t", + "canonical": "unsigned short" + }, + { + "name": "height", + "cType": "uint16_t", + "canonical": "unsigned short" + }, + { + "name": "quadbin", + "cType": "int", + "canonical": "int" + }, + { + "name": "pixtype", + "cType": "MeosPixType", + "canonical": "MeosPixType" + }, + { + "name": "nodata", + "cType": "double", + "canonical": "double" + }, + { + "name": "has_nodata", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "traj", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trajectory_quadbins", + "file": "meos_raster.h", + "family": "RASTER", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "traj", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "zoom", + "cType": "uint32_t", + "canonical": "unsigned int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_out", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometryinst_make", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + } + ] + }, + { + "name": "geo_tpose_to_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_to_tpose", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_to_tpoint", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_to_tgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_end_instant", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_end_sequence", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_end_value", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_geom", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_instant_n", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "trgeometry_instants", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TInstant **", + "canonical": "struct TInstant **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_points", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_rotation", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_segments", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_sequence_n", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "i", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "trgeometry_sequences", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_start_instant", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_start_sequence", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_start_value", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_value_n", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "n", + "cType": "int", + "canonical": "int" + }, + { + "name": "result", + "cType": "GSERIALIZED **", + "canonical": "GSERIALIZED **" + } + ] + }, + { + "name": "trgeometry_traversed_area", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "unary_union", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_centroid", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_convex_hull", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_body_point_trajectory", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "trgeometry_space_boxes", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "xsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "ysize", + "cType": "double", + "canonical": "double" + }, + { + "name": "zsize", + "cType": "double", + "canonical": "double" + }, + { + "name": "sorigin", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "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", + "family": "RGEO", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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 GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "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", + "family": "RGEO", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_split_n_stboxes", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_split_each_n_stboxes", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "STBox *", + "canonical": "struct STBox *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "elem_count", + "cType": "int", + "canonical": "int" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_hausdorff_distance", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_frechet_distance", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_dyntimewarp_distance", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_frechet_path", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Match *", + "canonical": "Match *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_dyntimewarp_path", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Match *", + "canonical": "Match *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "trgeometry_length", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_cumulative_length", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_speed", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_twcentroid", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_append_tinstant", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "Temporal *", + "canonical": "struct Temporal *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "maxdist", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxt", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_append_tsequence", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "Temporal *", + "canonical": "struct Temporal *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "expand", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_delete_timestamptz", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_delete_tstzset", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_delete_tstzspan", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_delete_tstzspanset", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "connect", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_round", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "trgeometry_set_interp", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "trgeometry_to_tinstant", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeometry_after_timestamptz", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_before_timestamptz", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_values", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_timestamptz", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_tstzset", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_tstzspan", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_restrict_tstzspanset", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_at_geom", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "trgeometry_minus_geom", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "trgeometry_at_stbox", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeometry_minus_stbox", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdistance_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tdistance_trgeometry_tpoint", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tdistance_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nad_stbox_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nad_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nad_trgeometry_stbox", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "nad_trgeometry_tpoint", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nad_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nai_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "nai_trgeometry_tpoint", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "nai_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "shortestline_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "shortestline_trgeometry_tpoint", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "shortestline_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_geo_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_eq_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "always_eq_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_geo_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "always_ne_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "always_ne_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_geo_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_eq_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ever_eq_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_geo_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ever_ne_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ever_ne_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_geo_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "teq_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "tne_geo_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tne_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "econtains_geo_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "acontains_geo_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ecovers_geo_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "acovers_geo_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ecovers_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "acovers_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "edisjoint_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "adisjoint_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "eintersects_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "aintersects_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "etouches_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "atouches_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "edwithin_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "adwithin_trgeometry_geo", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "edisjoint_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "adisjoint_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "eintersects_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "aintersects_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "edwithin_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "adwithin_trgeometry_trgeometry", + "file": "meos_rgeo.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "ensure_valid_tnpoint_npoint", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "ensure_valid_tnpoint_npointset", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "ensure_valid_tnpoint_geo", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_tnpoint_stbox", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "ensure_valid_tnpoint_tnpoint", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tnpointsegm_intersection", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "common_rid_tnpoint_npoint", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "common_rid_tnpoint_npointset", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "common_rid_tnpoint_tnpoint", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "npoint_collinear", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np1", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "np2", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "np3", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "ratio", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "npointsegm_interpolate", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "start", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "end", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "ratio", + "cType": "long double", + "canonical": "long double" + } + ] + }, + { + "name": "npointsegm_locate", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "long double", + "canonical": "long double" + }, + "params": [ + { + "name": "start", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "end", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "value", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + } + ] + }, + { + "name": "npointarr_geom", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "points", + "cType": "Npoint **", + "canonical": "struct Npoint **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "nsegmentarr_geom", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "GSERIALIZED *", + "canonical": "GSERIALIZED *" + }, + "params": [ + { + "name": "segments", + "cType": "Nsegment **", + "canonical": "struct Nsegment **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "nsegmentarr_normalize", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment **", + "canonical": "struct Nsegment **" + }, + "params": [ + { + "name": "segments", + "cType": "Nsegment **", + "canonical": "struct Nsegment **" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "npoint_wkt_out", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "npoint_set", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "rid", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "pos", + "cType": "double", + "canonical": "double" + }, + { + "name": "np", + "cType": "Npoint *", + "canonical": "struct Npoint *" + } + ] + }, + { + "name": "nsegment_set", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "rid", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "pos1", + "cType": "double", + "canonical": "double" + }, + { + "name": "pos2", + "cType": "double", + "canonical": "double" + }, + { + "name": "ns", + "cType": "Nsegment *", + "canonical": "struct Nsegment *" + } + ] + }, + { + "name": "datum_npoint_round", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "npoint", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "tnpointinst_tgeompointinst", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnpointseq_tgeompointseq_disc", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "is", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnpointseq_tgeompointseq_cont", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnpointseqset_tgeompointseqset", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tgeompointinst_tnpointinst", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tgeompointseq_tnpointseq", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tgeompointseqset_tnpointseqset", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tnpointinst_positions", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment **", + "canonical": "struct Nsegment **" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnpointseq_positions", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment **", + "canonical": "struct Nsegment **" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnpointseqset_positions", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment **", + "canonical": "struct Nsegment **" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnpointinst_route", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "int64_t", + "canonical": "int64_t" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnpointinst_routes", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnpointseq_disc_routes", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "is", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnpointseq_cont_routes", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnpointseqset_routes", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "tnpointseq_linear_positions", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment *", + "canonical": "struct Nsegment *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tnpoint_restrict_stbox", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnpoint_restrict_npoint", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnpoint_restrict_npointset", + "file": "tnpoint.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "npoint_set_stbox", + "file": "tnpoint_boxops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "npointarr_set_stbox", + "file": "tnpoint_boxops.h", + "family": "NPOINT", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "nsegment_set_stbox", + "file": "tnpoint_boxops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ns", + "cType": "const Nsegment *", + "canonical": "const struct Nsegment *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "npoint_timestamptz_set_stbox", + "file": "tnpoint_boxops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "npoint_tstzspan_set_stbox", + "file": "tnpoint_boxops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tnpointinst_set_stbox", + "file": "tnpoint_boxops.h", + "family": "NPOINT", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tnpointinstarr_set_stbox", + "file": "tnpoint_boxops.h", + "family": "NPOINT", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tnpointseq_expand_stbox", + "file": "tnpoint_boxops.h", + "family": "NPOINT", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "datum_npoint_distance", + "file": "tnpoint_distance.h", + "family": "NPOINT", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "np1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "np2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "npoint_parse", + "file": "tnpoint_parser.h", + "family": "NPOINT", + "returnType": { + "c": "Npoint *", + "canonical": "struct Npoint *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "end", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "nsegment_parse", + "file": "tnpoint_parser.h", + "family": "NPOINT", + "returnType": { + "c": "Nsegment *", + "canonical": "struct Nsegment *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "contains_rid_tnpoint_bigint", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "rid", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "invert", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "contained_rid_tnpoint_bigint", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "rid", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "same_rid_tnpoint_bigint", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "rid", + "cType": "int64_t", + "canonical": "int64_t" + }, + { + "name": "invert", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "overlaps_rid_tnpoint_bigintset", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "invert", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "contains_rid_tnpoint_bigintset", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "contained_rid_tnpoint_bigintset", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "same_rid_tnpoint_bigintset", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "invert", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "contains_rid_tnpoint_npoint", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "invert", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "contained_rid_npoint_tnpoint", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "same_rid_tnpoint_npoint", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "np", + "cType": "const Npoint *", + "canonical": "const struct Npoint *" + }, + { + "name": "invert", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "overlaps_rid_tnpoint_tnpoint", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "contains_rid_tnpoint_tnpoint", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "contained_rid_tnpoint_tnpoint", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "same_rid_tnpoint_tnpoint", + "file": "tnpoint_routeops.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_same_rid_tnpointinst", + "file": "tnpoint_spatialfuncs.h", + "family": "NPOINT", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tnpoint_restrict_geom", + "file": "tnpoint_spatialfuncs.h", + "family": "NPOINT", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "meos_pc_schema_get_srid", + "file": "meos_schema_hook.h", + "family": "POINTCLOUD", + "returnType": { + "c": "int32_t", + "canonical": "int" + }, + "params": [ + { + "name": "pcid", + "cType": "uint32_t", + "canonical": "unsigned int" + } + ] + }, + { + "name": "ensure_same_pcid_pcpatch", + "file": "pcpatch.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + } + ] + }, + { + "name": "pcpatch_parse", + "file": "pcpatch.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "Pcpatch *", + "canonical": "struct Pcpatch *" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pred", + "cType": "int", + "canonical": "int" + }, + { + "name": "extra", + "cType": "void *", + "canonical": "void *" + }, + { + "name": "keep_when_true", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "pcpatch_any_point_matches", + "file": "pcpatch_decompose.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pa", + "cType": "const Pcpatch *", + "canonical": "const struct Pcpatch *" + }, + { + "name": "pred", + "cType": "int", + "canonical": "int" + }, + { + "name": "extra", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "pcpoint_in_tpcbox", + "file": "pcpatch_decompose.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pt", + "cType": "const Pcpoint *", + "canonical": "const struct Pcpoint *" + } + ] + }, + { + "name": "pcpoint_parse", + "file": "pcpoint.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "size_t", + "canonical": "size_t" + }, + "params": [ + { + "name": "patch", + "cType": "const int *", + "canonical": "const int *" + } + ] + }, + { + "name": "meos_pc_patch_serialize", + "file": "pgsql_compat.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "TPCBox *", + "canonical": "struct TPCBox *" + } + ] + }, + { + "name": "tpointcloudinstarr_set_tpcbox", + "file": "tpc_boxops.h", + "family": "POINTCLOUD", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "box", + "cType": "TPCBox *", + "canonical": "struct TPCBox *" + } + ] + }, + { + "name": "tpointcloudseq_expand_tpcbox", + "file": "tpc_boxops.h", + "family": "POINTCLOUD", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tpointcloudseqarr_set_tpcbox", + "file": "tpc_boxops.h", + "family": "POINTCLOUD", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "TPCBox *", + "canonical": "struct TPCBox *" + } + ] + }, + { + "name": "tpcbox_extent_transfn", + "file": "tpc_boxops.h", + "family": "POINTCLOUD", + "returnType": { + "c": "TPCBox *", + "canonical": "struct TPCBox *" + }, + "params": [ + { + "name": "state", + "cType": "TPCBox *", + "canonical": "struct TPCBox *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "boxop_tpointcloud_tpcbox", + "file": "tpc_boxops.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "func", + "cType": "int (*)(const TPCBox *, const TPCBox *)", + "canonical": "int (*)(const struct int ()( TPCBox , TPCBox ) *, const struct int ()( TPCBox , TPCBox ) *)" + }, + { + "name": "inverted", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boxop_tpointcloud_tpointcloud", + "file": "tpc_boxops.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "int (*)(const TPCBox *, const TPCBox *)", + "canonical": "int (*)(const struct int ()( TPCBox , TPCBox ) *, const struct int ()( TPCBox , TPCBox ) *)" + } + ] + }, + { + "name": "tpcbox_set_stbox", + "file": "tpc_boxops.h", + "family": "POINTCLOUD", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "src", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "dst", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "nad_tpcbox_tpcbox", + "file": "tpc_boxops.h", + "family": "POINTCLOUD", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "box1", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "box2", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "nad_tpointcloud_tpcbox", + "file": "tpc_boxops.h", + "family": "POINTCLOUD", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + } + ] + }, + { + "name": "nad_tpointcloud_tpointcloud", + "file": "tpc_boxops.h", + "family": "POINTCLOUD", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tpcbox_index_leaf_consistent", + "file": "tpcbox_index.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "query", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpcbox_gist_inner_consistent", + "file": "tpcbox_index.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "query", + "cType": "const TPCBox *", + "canonical": "const struct TPCBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tpcbox_index_recheck", + "file": "tpcbox_index.h", + "family": "POINTCLOUD", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "ensure_valid_pose_geo", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_pose_stbox", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "ensure_valid_pose_pose", + "file": "pose.h", + "family": "POSE", + "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", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "pose_collinear", + "file": "pose.h", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "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", + "family": "POSE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_pose_geopoint", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_pose_rotation", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_pose_yaw", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_pose_pitch", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_pose_roll", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_pose_apply_geo", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "body", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_pose_round", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "pose", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "pose_distance", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "pose1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "pose2", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "pose_set_stbox", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "posearr_set_stbox", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "pose_timestamptz_set_stbox", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "pose_tstzspan_set_stbox", + "file": "pose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + }, + { + "name": "p", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "ensure_valid_tpose_geo", + "file": "tpose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_tpose_pose", + "file": "tpose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "pose", + "cType": "const Pose *", + "canonical": "const struct Pose *" + } + ] + }, + { + "name": "ensure_valid_tpose_stbox", + "file": "tpose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "ensure_valid_tpose_tpose", + "file": "tpose.h", + "family": "POSE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tposesegm_intersection_value", + "file": "tpose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "tposesegm_intersection", + "file": "tpose.h", + "family": "POSE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lower", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "upper", + "cType": "TimestampTz", + "canonical": "TimestampTz" + }, + { + "name": "t1", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + }, + { + "name": "t2", + "cType": "TimestampTz *", + "canonical": "TimestampTz *" + } + ] + }, + { + "name": "tposeinst_set_stbox", + "file": "tpose_boxops.h", + "family": "POSE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tposeinstarr_set_stbox", + "file": "tpose_boxops.h", + "family": "POSE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tposeseq_expand_stbox", + "file": "tpose_boxops.h", + "family": "POSE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tpose_restrict_geom", + "file": "tpose_spatialfuncs.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tpose_restrict_stbox", + "file": "tpose_spatialfuncs.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tpose_restrict_elevation", + "file": "tpose_spatialfuncs.h", + "family": "POSE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "bool_in", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "bool_out", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "b", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "float8_out", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "num", + "cType": "double", + "canonical": "double" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "date_in", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "DateADT", + "canonical": "int" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "date_out", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "date", + "cType": "DateADT", + "canonical": "int" + } + ] + }, + { + "name": "interval_cmp", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "interv1", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "interv2", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "interval_in", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "Interval *", + "canonical": "Interval *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "interval_out", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "interv", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "time_in", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "TimeADT", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "time_out", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "time", + "cType": "TimeADT", + "canonical": "long" + } + ] + }, + { + "name": "timestamp_in", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "Timestamp", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "timestamp_out", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "ts", + "cType": "Timestamp", + "canonical": "long" + } + ] + }, + { + "name": "timestamptz_in", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "typmod", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "timestamptz_out", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "tstz", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "cstring_to_text", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "text *", + "canonical": "struct varlena *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "text_to_cstring", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "txt", + "cType": "const text *", + "canonical": "const struct varlena *" + } + ] + }, + { + "name": "text_in", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "text *", + "canonical": "struct varlena *" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "text_out", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "txt", + "cType": "const text *", + "canonical": "const struct varlena *" + } + ] + }, + { + "name": "text_cmp", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "txt1", + "cType": "const text *", + "canonical": "const struct varlena *" + }, + { + "name": "txt2", + "cType": "const text *", + "canonical": "const struct varlena *" + }, + { + "name": "collid", + "cType": "Oid", + "canonical": "unsigned int" + } + ] + }, + { + "name": "text_copy", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "text *", + "canonical": "struct varlena *" + }, + "params": [ + { + "name": "txt", + "cType": "const text *", + "canonical": "const struct varlena *" + } + ] + }, + { + "name": "text_initcap", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "text *", + "canonical": "struct varlena *" + }, + "params": [ + { + "name": "txt", + "cType": "const text *", + "canonical": "const struct varlena *" + } + ] + }, + { + "name": "text_lower", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "text *", + "canonical": "struct varlena *" + }, + "params": [ + { + "name": "txt", + "cType": "const text *", + "canonical": "const struct varlena *" + } + ] + }, + { + "name": "text_upper", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "text *", + "canonical": "struct varlena *" + }, + "params": [ + { + "name": "txt", + "cType": "const text *", + "canonical": "const struct varlena *" + } + ] + }, + { + "name": "textcat_text_text", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "returnType": { + "c": "text *", + "canonical": "struct varlena *" + }, + "params": [ + { + "name": "txt1", + "cType": "const text *", + "canonical": "const struct varlena *" + }, + { + "name": "txt2", + "cType": "const text *", + "canonical": "const struct varlena *" + } + ] + }, + { + "name": "ensure_valid_tquadbin_tquadbin", + "file": "tquadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_valid_tquadbin_quadbin", + "file": "tquadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + } + ] + }, + { + "name": "ensure_valid_tquadbin_tgeompoint", + "file": "tquadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "datum2_quadbin_eq", + "file": "tquadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "d2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_quadbin_ne", + "file": "tquadbin.h", + "family": "QUADBIN", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "d2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "quadbin_set_stbox", + "file": "tquadbin_boxops.h", + "family": "QUADBIN", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "cell", + "cType": "Quadbin", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "quadbinarr_set_stbox", + "file": "tquadbin_boxops.h", + "family": "QUADBIN", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tquadbininst_set_stbox", + "file": "tquadbin_boxops.h", + "family": "QUADBIN", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tquadbininstarr_set_stbox", + "file": "tquadbin_boxops.h", + "family": "QUADBIN", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "tquadbinseq_expand_stbox", + "file": "tquadbin_boxops.h", + "family": "QUADBIN", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "ensure_has_geom", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_valid_trgeo_geo", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "ensure_valid_trgeo_stbox", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + } + ] + }, + { + "name": "ensure_valid_trgeo_trgeo", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "ensure_valid_trgeo_tpoint", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeo_geom_p", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "trgeo_wkt_out", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "extended", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "geo_tposeinst_to_trgeo", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "geo_tposeseq_to_trgeo", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "geo_tposeseqset_to_trgeo", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "trgeo_value_at_timestamptz", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "trgeometry_restrict_value", + "file": "trgeo.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoinst_geom_p", + "file": "trgeo_inst.h", + "family": "RGEO", + "returnType": { + "c": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "trgeoinst_pose_varsize", + "file": "trgeo_inst.h", + "family": "RGEO", + "returnType": { + "c": "size_t", + "canonical": "size_t" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "trgeoinst_set_pose", + "file": "trgeo_inst.h", + "family": "RGEO", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant *", + "canonical": "struct TInstant *" + } + ] + }, + { + "name": "trgeoinst_tposeinst", + "file": "trgeo_inst.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "trgeoinst_make1", + "file": "trgeo_inst.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct 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", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "trgeoseqset_to_tinstant", + "file": "trgeo_inst.h", + "family": "RGEO", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "ts", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "trgeo_restrict_geom", + "file": "trgeo_spatialfuncs.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeo_restrict_stbox", + "file": "trgeo_spatialfuncs.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const STBox *", + "canonical": "const struct STBox *" + }, + { + "name": "border_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "spatialrel_trgeo_trav_geo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "varfunc", + "canonical": "int (*)(int ((*)(int *))(), ...)" + }, + { + "name": "numparam", + "cType": "int", + "canonical": "int" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_geo_trgeo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_trgeo_geo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_contains_trgeo_trgeo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_geo_trgeo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_trgeo_geo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_covers_trgeo_trgeo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_geo_trgeo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_trgeo_geo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_disjoint_trgeo_trgeo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_geo_trgeo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_trgeo_geo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_intersects_trgeo_trgeo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_geo_trgeo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_trgeo_geo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_touches_trgeo_trgeo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "ea_dwithin_trgeo_geo", + "file": "trgeo_spatialrels.h", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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", + "family": "RGEO", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "dist", + "cType": "double", + "canonical": "double" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseq_geom_p", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "trgeoseq_pose_varsize", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "size_t", + "canonical": "size_t" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "trgeoseq_set_pose", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + } + ] + }, + { + "name": "trgeoseq_tposeseq", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "trgeoseq_make_valid", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "linear", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseq_make1_exp", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseq_make1", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseq_make_exp", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseq_make", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseq_make_free_exp", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseq_make_free", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoinst_to_tsequence", + "file": "trgeo_seq.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "trgeoseqset_geom_p", + "file": "trgeo_seqset.h", + "family": "RGEO", + "returnType": { + "c": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + "params": [ + { + "name": "ts", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "trgeoseqset_tposeseqset", + "file": "trgeo_seqset.h", + "family": "RGEO", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "trgeoseqset_make1_exp", + "file": "trgeo_seqset.h", + "family": "RGEO", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseqset_make_exp", + "file": "trgeo_seqset.h", + "family": "RGEO", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseqset_make", + "file": "trgeo_seqset.h", + "family": "RGEO", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseqset_make_free", + "file": "trgeo_seqset.h", + "family": "RGEO", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "trgeoseqset_make_gaps", + "file": "trgeo_seqset.h", + "family": "RGEO", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct 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", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + } + ] + }, + { + "name": "trgeo_to_tsequence", + "file": "trgeo_seqset.h", + "family": "RGEO", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interp_str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "trgeo_to_tsequenceset", + "file": "trgeo_seqset.h", + "family": "RGEO", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interp_str", + "cType": "const char *", + "canonical": "const char *" + } + ] + }, + { + "name": "trgeoinst_set_stbox", + "file": "trgeo_boxops.h", + "family": "RGEO", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "trgeoinstarr_static_stbox", + "file": "trgeo_boxops.h", + "family": "RGEO", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "trgeoinstarr_rotating_stbox", + "file": "trgeo_boxops.h", + "family": "RGEO", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "box", + "cType": "STBox *", + "canonical": "struct STBox *" + } + ] + }, + { + "name": "trgeoinstarr_compute_bbox", + "file": "trgeo_boxops.h", + "family": "RGEO", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "geom", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + }, + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_span_isof_basetype", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_same_span_type", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "ensure_valid_span_span", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "span_deserialize", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "lower", + "cType": "SpanBound *", + "canonical": "struct SpanBound *" + }, + { + "name": "upper", + "cType": "SpanBound *", + "canonical": "struct SpanBound *" + } + ] + }, + { + "name": "span_bound_cmp", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "b1", + "cType": "const SpanBound *", + "canonical": "const struct SpanBound *" + }, + { + "name": "b2", + "cType": "const SpanBound *", + "canonical": "const struct SpanBound *" + } + ] + }, + { + "name": "span_bound_qsort_cmp", + "file": "span.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "span_upper_cmp", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s1", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "s2", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "span_decr_bound", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "upper", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_incr_bound", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "upper", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spanarr_normalize", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "spans", + "cType": "Span *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "lower", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "upper", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "span_bounds_shift_scale_time", + "file": "span.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + }, + { + "name": "func", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "numspan_delta_scale_iter", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "delta", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasdelta", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "scale", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tstzspan_delta_scale_iter", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "Span *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "Span *", + "canonical": "struct Span *" + }, + { + "name": "shift", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "width", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasshift", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "haswidth", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "delta", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "scale", + "cType": "double *", + "canonical": "double *" + } + ] + }, + { + "name": "tstzspan_shift_scale1", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "s", + "cType": "Span *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "dist_double_value_value", + "file": "span.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "trgeo_geom_clip_polygon", + "file": "trgeo_geom_clip.h", + "family": "RGEO", + "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": "struct Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_lwpoly", + "file": "trgeo_geom_clip.h", + "family": "RGEO", + "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": "struct Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_box", + "file": "trgeo_geom_clip.h", + "family": "RGEO", + "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": "struct Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_polygon_posed", + "file": "trgeo_geom_clip.h", + "family": "RGEO", + "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": "struct Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_lwpoly_posed", + "file": "trgeo_geom_clip.h", + "family": "RGEO", + "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": "struct Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_box_posed", + "file": "trgeo_geom_clip.h", + "family": "RGEO", + "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": "struct Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_lwgeom", + "file": "trgeo_geom_clip.h", + "family": "RGEO", + "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": "struct Span **" + } + ] + }, + { + "name": "trgeo_geom_clip_lwgeom_posed", + "file": "trgeo_geom_clip.h", + "family": "RGEO", + "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": "struct Span **" + } + ] + }, + { + "name": "trgeo_parse", + "file": "trgeo_parser.h", + "family": "RGEO", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_same_geom", + "file": "trgeo_utils.h", + "family": "RGEO", + "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", + "family": "RGEO", + "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", + "family": "RGEO", + "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", + "family": "RGEO", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "gs", + "cType": "const GSERIALIZED *", + "canonical": "const GSERIALIZED *" + } + ] + }, + { + "name": "v_clip_tpoly_point", + "file": "trgeo_vclip.h", + "family": "RGEO", + "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", + "family": "RGEO", + "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", + "family": "RGEO", + "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", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tsequence", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tsequenceset", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_temporal", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tinstant_base", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tsequence_base", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tsequenceset_base", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_temporal_base", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tinstant_tinstant", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tdiscseq_tdiscseq", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tcontseq_tcontseq", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_tsequenceset_tsequenceset", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "tfunc_temporal_temporal", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "eafunc_temporal_base", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "eafunc_temporal_temporal", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "lfunc_set", + "file": "lifting.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "lfinfo", + "cType": "LiftedFunctionInfo *", + "canonical": "struct LiftedFunctionInfo *" + } + ] + }, + { + "name": "set_out_fn", + "file": "set.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "value_out", + "cType": "outfunc", + "canonical": "char *(*)(int ((*)(int *))(), MeosType, int)" + } + ] + }, + { + "name": "ensure_set_isof_type", + "file": "set.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "settype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_valid_set_set", + "file": "set.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s1", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "s2", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "set_find_value", + "file": "set.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "arg1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "loc", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "set_unnest_state_make", + "file": "set.h", + "family": "CORE", + "returnType": { + "c": "SetUnnestState *", + "canonical": "struct SetUnnestState *" + }, + "params": [ + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "set_unnest_state_next", + "file": "set.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "state", + "cType": "SetUnnestState *", + "canonical": "struct SetUnnestState *" + } + ] + }, + { + "name": "ensure_same_skiplist_subtype", + "file": "skiplist.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "data", + "cType": "void *", + "canonical": "void *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "int (int *)" + } + ] + }, + { + "name": "skiplist_headval", + "file": "skiplist.h", + "family": "CORE", + "returnType": { + "c": "void *", + "canonical": "void *" + }, + "params": [ + { + "name": "list", + "cType": "SkipList *", + "canonical": "struct SkipList *" + } + ] + }, + { + "name": "common_entry_cmp", + "file": "span_index.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "span_gist_inner_consistent", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "span_index_recheck", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "span_lower_qsort_cmp", + "file": "span_index.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "uint8", + "canonical": "unsigned char" + }, + "params": [ + { + "name": "centroid", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "overlap2D", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "contain2D", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "left2D", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "overLeft2D", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "right2D", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "overRight2D", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "adjacent2D", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + }, + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "distance_span_nodespan", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "query", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + } + ] + }, + { + "name": "span_spgist_get_span", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "Span *", + "canonical": "struct Span *" + } + ] + }, + { + "name": "spannode_init", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "SpanNode *", + "canonical": "struct SpanNode *" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "spannode_copy", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "SpanNode *", + "canonical": "struct SpanNode *" + }, + "params": [ + { + "name": "orig", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + } + ] + }, + { + "name": "spannode_quadtree_next", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + }, + { + "name": "centroid", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "quadrant", + "cType": "uint8", + "canonical": "unsigned char" + }, + { + "name": "next_nodespan", + "cType": "SpanNode *", + "canonical": "struct SpanNode *" + } + ] + }, + { + "name": "spannode_kdtree_next", + "file": "span_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const SpanNode *", + "canonical": "const struct SpanNode *" + }, + { + "name": "centroid", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "node", + "cType": "uint8", + "canonical": "unsigned char" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + }, + { + "name": "next_nodespan", + "cType": "SpanNode *", + "canonical": "struct SpanNode *" + } + ] + }, + { + "name": "ensure_spanset_isof_type", + "file": "spanset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "spansettype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_same_spanset_type", + "file": "spanset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss1", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "ss2", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "ensure_same_spanset_span_type", + "file": "spanset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "ensure_valid_spanset_span", + "file": "spanset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "ensure_valid_spanset_spanset", + "file": "spanset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss1", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "ss2", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "spanset_find_value", + "file": "spanset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "v", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "loc", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "datum_and", + "file": "tbool_ops.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_or", + "file": "tbool_ops.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "boolop_tbool_bool", + "file": "tbool_ops.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "b", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boolop_tbool_tbool", + "file": "tbool_ops.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + } + ] + }, + { + "name": "ensure_same_dimensionality_tbox", + "file": "tbox.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "set_tbox", + "file": "tbox.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "span_tbox", + "file": "tbox.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "tbox_tstzspan", + "file": "tbox.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "tbox_intspan", + "file": "tbox.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "tbox_floatspan", + "file": "tbox.h", + "family": "CORE", + "returnType": { + "c": "Span *", + "canonical": "struct Span *" + }, + "params": [ + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "tbox_index_leaf_consistent", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tbox_gist_inner_consistent", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "key", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tbox_index_recheck", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "strategy", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tboxnode_init", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "centroid", + "cType": "TBox *", + "canonical": "struct TBox *" + }, + { + "name": "nodebox", + "cType": "TboxNode *", + "canonical": "struct TboxNode *" + } + ] + }, + { + "name": "tboxnode_copy", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "TboxNode *", + "canonical": "struct TboxNode *" + }, + "params": [ + { + "name": "box", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + } + ] + }, + { + "name": "getQuadrant4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "uint8", + "canonical": "unsigned char" + }, + "params": [ + { + "name": "centroid", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "inBox", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "tboxnode_quadtree_next", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "centroid", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "quadrant", + "cType": "uint8", + "canonical": "unsigned char" + }, + { + "name": "next_nodebox", + "cType": "TboxNode *", + "canonical": "struct TboxNode *" + } + ] + }, + { + "name": "tboxnode_kdtree_next", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "centroid", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "node", + "cType": "uint8", + "canonical": "unsigned char" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + }, + { + "name": "next_nodebox", + "cType": "TboxNode *", + "canonical": "struct TboxNode *" + } + ] + }, + { + "name": "overlap4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "contain4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "left4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "overLeft4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "right4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "overRight4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "before4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "overBefore4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "after4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "overAfter4D", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "distance_tbox_nodebox", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "nodebox", + "cType": "const TboxNode *", + "canonical": "const struct TboxNode *" + } + ] + }, + { + "name": "tnumber_spgist_get_tbox", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "result", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "tbox_xmin_cmp", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "tbox_xmax_cmp", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "tbox_tmin_cmp", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "tbox_tmax_cmp", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "box1", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "box2", + "cType": "const TBox *", + "canonical": "const struct TBox *" + } + ] + }, + { + "name": "tbox_level_cmp", + "file": "tbox_index.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "centroid", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "query", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "level", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tcellindex_type", + "file": "tcellindex.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "dggs_cellops", + "file": "tcellindex.h", + "family": "CORE", + "returnType": { + "c": "const DggsCellOps *", + "canonical": "const struct DggsCellOps *" + }, + "params": [ + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tcellindex_get_resolution", + "file": "tcellindex.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcellindex_is_valid_cell", + "file": "tcellindex.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcellindex_cell_to_parent", + "file": "tcellindex.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "resolution", + "cType": "int32", + "canonical": "int" + } + ] + }, + { + "name": "tcellindex_cell_to_point", + "file": "tcellindex.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcellindex_cell_to_boundary", + "file": "tcellindex.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "tcellindex_cell_area", + "file": "tcellindex.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + } + ] + }, + { + "name": "datum_min_int32", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_max_int32", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_min_int64", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_max_int64", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_min_float8", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_max_float8", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_sum_int32", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_sum_int64", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_sum_float8", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_min_text", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_max_text", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_sum_double2", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_sum_double3", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_sum_double4", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "temporal_skiplist_common", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "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", + "family": "CORE", + "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": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "TInstant **", + "canonical": "struct TInstant **" + }, + "params": [ + { + "name": "instants1", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count1", + "cType": "int", + "canonical": "int" + }, + { + "name": "instants2", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count2", + "cType": "int", + "canonical": "int" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "sequences1", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count1", + "cType": "int", + "canonical": "int" + }, + { + "name": "sequences2", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count2", + "cType": "int", + "canonical": "int" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "newcount", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tcontseq_tagg_transfn", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "interpoint", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_tagg_combinefn", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "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": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_tagg_transfn", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + } + ] + }, + { + "name": "tinstant_tavg_finalfn", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tsequence_tavg_finalfn", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tnumberinst_transform_tavg", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "temporal_transform_tcount", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Temporal **", + "canonical": "struct Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_transform_tagg", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "Temporal **", + "canonical": "struct Temporal **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "func", + "cType": "TInstant *(*)(const TInstant *)", + "canonical": "struct TInstant ()( TInstant ) *(*)(const struct TInstant ()( TInstant ) *)" + } + ] + }, + { + "name": "tsequenceset_tagg_transfn", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_tagg_transfn", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + } + ] + }, + { + "name": "temporal_tagg_transfn", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "arg2", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_tagg_transform_transfn", + "file": "temporal_aggfuncs.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "transform", + "cType": "TInstant *(*)(const TInstant *)", + "canonical": "struct TInstant ()( TInstant ) *(*)(const struct TInstant ()( TInstant ) *)" + } + ] + }, + { + "name": "temporal_similarity", + "file": "temporal_analytics.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "simfunc", + "cType": "SimFunc", + "canonical": "SimFunc" + } + ] + }, + { + "name": "temporal_similarity_path", + "file": "temporal_analytics.h", + "family": "CORE", + "returnType": { + "c": "Match *", + "canonical": "Match *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + }, + { + "name": "simfunc", + "cType": "SimFunc", + "canonical": "SimFunc" + } + ] + }, + { + "name": "temporal_bbox_size", + "file": "temporal_boxops.h", + "family": "CORE", + "returnType": { + "c": "size_t", + "canonical": "size_t" + }, + "params": [ + { + "name": "tempype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tinstarr_set_bbox", + "file": "temporal_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "bbox", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tsequence_compute_bbox", + "file": "temporal_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + } + ] + }, + { + "name": "tseqarr_compute_bbox", + "file": "temporal_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "bbox", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "tsequenceset_compute_bbox", + "file": "temporal_boxops.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "ss", + "cType": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + } + ] + }, + { + "name": "boxop_temporal_tstzspan", + "file": "temporal_boxops.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "func", + "cType": "int (*)(const Span *, const Span *)", + "canonical": "int (*)(const struct int ()( Span , Span ) *, const struct int ()( Span , Span ) *)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boxop_temporal_temporal", + "file": "temporal_boxops.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "int (*)(const Span *, const Span *)", + "canonical": "int (*)(const struct int ()( Span , Span ) *, const struct int ()( Span , Span ) *)" + } + ] + }, + { + "name": "boxop_tnumber_numspan", + "file": "temporal_boxops.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "func", + "cType": "int (*)(const Span *, const Span *)", + "canonical": "int (*)(const struct int ()( Span , Span ) *, const struct int ()( Span , Span ) *)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boxop_tnumber_tbox", + "file": "temporal_boxops.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "func", + "cType": "int (*)(const TBox *, const TBox *)", + "canonical": "int (*)(const struct int ()( TBox , TBox ) *, const struct int ()( TBox , TBox ) *)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "boxop_tnumber_tnumber", + "file": "temporal_boxops.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "int (*)(const TBox *, const TBox *)", + "canonical": "int (*)(const struct int ()( TBox , TBox ) *, const struct int ()( TBox , TBox ) *)" + } + ] + }, + { + "name": "eacomp_base_temporal", + "file": "temporal_compops.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "eacomp_temporal_base", + "file": "temporal_compops.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "eacomp_temporal_temporal", + "file": "temporal_compops.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + }, + { + "name": "ever", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcomp_base_temporal", + "file": "temporal_compops.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + } + ] + }, + { + "name": "tcomp_temporal_base", + "file": "temporal_compops.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + } + ] + }, + { + "name": "tcomp_temporal_temporal", + "file": "temporal_compops.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + } + ] + }, + { + "name": "tdiscseq_at_timestamptz", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tdiscseq_restrict_value", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_restrict_values", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_minus_timestamptz", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tdiscseq_restrict_tstzset", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_restrict_tstzspanset", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcontseq_restrict_value_iter", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tcontseq_delete_timestamptz", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tcontseq_delete_tstzset", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tcontseq_delete_tstzspanset", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + } + ] + }, + { + "name": "tcontseq_at_tstzset", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tcontseq_minus_timestamptz", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tcontseq_minus_tstzset", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + } + ] + }, + { + "name": "tcontseq_minus_tstzspan", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "tcontseq_restrict_value", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tcontseq_restrict_values", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tsequence_at_values_iter", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "set", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tnumberseq_cont_restrict_span_iter", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tnumberseq_cont_restrict_spanset_iter", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tsegment_at_timestamptz", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tcontseq_minus_timestamp_iter", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tcontseq_minus_tstzset_iter", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tcontseq_at_tstzspanset1", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tcontseq_minus_tstzspanset_iter", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tcontseq_at_tstzspan", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + } + ] + }, + { + "name": "tcontseq_at_timestamptz", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct TInstant *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tcontseq_restrict_tstzspanset", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tdiscseq_value_at_timestamptz", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "result", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "tnumberseq_disc_restrict_span", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseq_disc_restrict_spanset", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseq_cont_restrict_span", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "span", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseq_cont_restrict_spanset", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberseq_cont_twavg", + "file": "temporal_restrict.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "span_num_bins", + "file": "temporal_tile.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start_bin", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "end_bin", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + } + ] + }, + { + "name": "temporal_time_bin_init", + "file": "temporal_tile.h", + "family": "CORE", + "returnType": { + "c": "SpanBinState *", + "canonical": "struct SpanBinState *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct 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", + "family": "CORE", + "returnType": { + "c": "TboxGridState *", + "canonical": "struct TboxGridState *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "box", + "cType": "const TBox *", + "canonical": "const struct TBox *" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "xorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tbox_tile_state_next", + "file": "temporal_tile.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "state", + "cType": "TboxGridState *", + "canonical": "struct TboxGridState *" + } + ] + }, + { + "name": "tbox_tile_state_set", + "file": "temporal_tile.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "tunits", + "cType": "int64", + "canonical": "long" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "interval_units", + "file": "temporal_tile.h", + "family": "CORE", + "returnType": { + "c": "int64", + "canonical": "long" + }, + "params": [ + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + } + ] + }, + { + "name": "timestamptz_bin_start", + "file": "temporal_tile.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "size", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "offset", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tnumber_value_time_tile_init", + "file": "temporal_tile.h", + "family": "CORE", + "returnType": { + "c": "TboxGridState *", + "canonical": "struct TboxGridState *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "vsize", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "duration", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "vorigin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "torigin", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "ntiles", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tbox_tile_state_get", + "file": "temporal_tile.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "state", + "cType": "TboxGridState *", + "canonical": "struct TboxGridState *" + }, + { + "name": "box", + "cType": "TBox *", + "canonical": "struct TBox *" + } + ] + }, + { + "name": "temporal_transform_wcount", + "file": "temporal_waggfuncs.h", + "family": "CORE", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tnumber_transform_wavg", + "file": "temporal_waggfuncs.h", + "family": "CORE", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "count", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "temporal_wagg_transfn", + "file": "temporal_waggfuncs.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "min", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "crossings", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "temporal_wagg_transform_transfn", + "file": "temporal_waggfuncs.h", + "family": "CORE", + "returnType": { + "c": "SkipList *", + "canonical": "struct SkipList *" + }, + "params": [ + { + "name": "state", + "cType": "SkipList *", + "canonical": "struct SkipList *" + }, + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "interval", + "cType": "const Interval *", + "canonical": "const Interval *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "transform", + "cType": "TSequence **(*)(const Temporal *, const Interval *, int *)", + "canonical": "struct TSequence ()( Temporal , Interval , int ) **(*)(const struct TSequence ()( Temporal , Interval , int ) *, const Interval *, int *)" + } + ] + }, + { + "name": "tinstant_set", + "file": "tinstant.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "inst", + "cType": "TInstant *", + "canonical": "struct TInstant *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tnumberinst_double", + "file": "tinstant.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + } + ] + }, + { + "name": "tinstant_to_string", + "file": "tinstant.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "value_out", + "cType": "outfunc", + "canonical": "char *(*)(int ((*)(int *))(), MeosType, int)" + } + ] + }, + { + "name": "tinstant_restrict_values_test", + "file": "tinstant.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_restrict_span_test", + "file": "tinstant.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "s", + "cType": "const Span *", + "canonical": "const struct Span *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tnumberinst_restrict_spanset_test", + "file": "tinstant.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzset_test", + "file": "tinstant.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "s", + "cType": "const Set *", + "canonical": "const struct Set *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstant_restrict_tstzspanset_test", + "file": "tinstant.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "ss", + "cType": "const SpanSet *", + "canonical": "const struct SpanSet *" + }, + { + "name": "atfunc", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "intersection_tinstant_tinstant", + "file": "tinstant.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inter1", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "inter2", + "cType": "TInstant **", + "canonical": "struct TInstant **" + } + ] + }, + { + "name": "_mulmat", + "file": "tinyekf_meos.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "a", + "cType": "const float *", + "canonical": "const float *" + }, + { + "name": "ainv", + "cType": "float *", + "canonical": "float *" + } + ] + }, + { + "name": "ekf_initialize", + "file": "tinyekf_meos.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "param", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "arithop_tnumber_number", + "file": "tnumber_mathfuncs.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "oper", + "cType": "TArithmetic", + "canonical": "TArithmetic" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "arithop_tnumber_tnumber", + "file": "tnumber_mathfuncs.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "oper", + "cType": "TArithmetic", + "canonical": "TArithmetic" + }, + { + "name": "func", + "cType": "int (*)(Datum *, Datum *, MeosType)", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), MeosType)" + }, + { + "name": "tpfunc", + "cType": "tpfunc_temp", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))(), int ((*)(int *))(), int, int, int *, int *)" + } + ] + }, + { + "name": "float_collinear", + "file": "tsequence.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "value1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value3", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "removelast", + "cType": "bool *", + "canonical": "int (*)(int *)" + }, + { + "name": "removefirst", + "cType": "bool *", + "canonical": "int (*)(int *)" + } + ] + }, + { + "name": "tsequence_join", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "removelast", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "removefirst", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tinstarr_normalize", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "TInstant **", + "canonical": "struct TInstant **" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tdiscseq_find_timestamptz", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + } + ] + }, + { + "name": "tseqarr2_to_tseqarr", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence ***", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tsequence_make_exp1", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "maxcount", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + }, + { + "name": "normalize", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "bbox", + "cType": "void *", + "canonical": "void *" + } + ] + }, + { + "name": "synchronize_tsequence_tsequence", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "sync1", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "sync2", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "interpoint", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "tfloatsegm_intersection_value", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "start1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "start2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "start", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "end", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "inter1", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "inter2", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "intersection_tcontseq_tdiscseq", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq1", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "inter1", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "inter2", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "intersection_tdiscseq_tcontseq", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "is", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "seq2", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "inter1", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "inter2", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "intersection_tsequence_tinstant", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inter1", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "inter2", + "cType": "TInstant **", + "canonical": "struct TInstant **" + } + ] + }, + { + "name": "intersection_tinstant_tsequence", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "inter1", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "inter2", + "cType": "TInstant **", + "canonical": "struct TInstant **" + } + ] + }, + { + "name": "tsequence_to_string", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "component", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "value_out", + "cType": "outfunc", + "canonical": "char *(*)(int ((*)(int *))(), MeosType, int)" + } + ] + }, + { + "name": "ensure_increasing_timestamps", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst1", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inst2", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "strict", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "bbox_expand", + "file": "tsequence.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "lower_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "upper_inc", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "interp", + "cType": "interpType", + "canonical": "interpType" + } + ] + }, + { + "name": "tnumberseq_shift_scale_value_iter", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "origin", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "delta", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "hasdelta", + "cType": "bool", + "canonical": "bool" + }, + { + "name": "scale", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tsequence_shift_scale_time_iter", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "seq", + "cType": "TSequence *", + "canonical": "struct TSequence *" + }, + { + "name": "delta", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "scale", + "cType": "double", + "canonical": "double" + } + ] + }, + { + "name": "tstepseq_to_linear_iter", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tstepseq_to_linear", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct TSequenceSet *" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + } + ] + }, + { + "name": "tsequence_segments_iter", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "result", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "tsequence_timestamps_iter", + "file": "tsequence.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "result", + "cType": "TimestampTz *", + "canonical": "long *" + } + ] + }, + { + "name": "tsequenceset_find_timestamptz", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "t", + "cType": "TimestampTz", + "canonical": "long" + }, + { + "name": "loc", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "tseqarr_normalize", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "TSequence **", + "canonical": "struct TSequence **" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "newcount", + "cType": "int *", + "canonical": "int *" + } + ] + }, + { + "name": "datum_distance", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "value1", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "value2", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "flags", + "cType": "int16", + "canonical": "short" + } + ] + }, + { + "name": "ensure_valid_tinstarr_gaps", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "int *", + "canonical": "int *" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "synchronize_tsequenceset_tsequence", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "mode", + "cType": "SyncMode", + "canonical": "SyncMode" + }, + { + "name": "inter1", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" + }, + { + "name": "inter2", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" + } + ] + }, + { + "name": "synchronize_tsequenceset_tsequenceset", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss1", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "ss2", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "mode", + "cType": "SyncMode", + "canonical": "SyncMode" + }, + { + "name": "inter1", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" + }, + { + "name": "inter2", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" + } + ] + }, + { + "name": "intersection_tsequenceset_tinstant", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "inter1", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "inter2", + "cType": "TInstant **", + "canonical": "struct TInstant **" + } + ] + }, + { + "name": "intersection_tinstant_tsequenceset", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "inst", + "cType": "const TInstant *", + "canonical": "const struct TInstant *" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "inter1", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "inter2", + "cType": "TInstant **", + "canonical": "struct TInstant **" + } + ] + }, + { + "name": "intersection_tsequenceset_tdiscseq", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "is", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "inter1", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "inter2", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "intersection_tdiscseq_tsequenceset", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "is", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "inter1", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "inter2", + "cType": "TSequence **", + "canonical": "struct TSequence **" + } + ] + }, + { + "name": "intersection_tsequence_tsequenceset", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "seq", + "cType": "const TSequence *", + "canonical": "const struct TSequence *" + }, + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "mode", + "cType": "SyncMode", + "canonical": "SyncMode" + }, + { + "name": "inter1", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" + }, + { + "name": "inter2", + "cType": "TSequenceSet **", + "canonical": "struct TSequenceSet **" + } + ] + }, + { + "name": "tsequenceset_to_string", + "file": "tsequenceset.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "ss", + "cType": "const TSequenceSet *", + "canonical": "const struct TSequenceSet *" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + }, + { + "name": "value_out", + "cType": "outfunc", + "canonical": "char *(*)(int ((*)(int *))(), MeosType, int)" + } + ] + }, + { + "name": "datum_textcat", + "file": "ttext_funcs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_lower", + "file": "ttext_funcs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_upper", + "file": "ttext_funcs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "datum_initcap", + "file": "ttext_funcs.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + } + ] + }, + { + "name": "textfunc_ttext", + "file": "ttext_funcs.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "textfunc_ttext_text", + "file": "ttext_funcs.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + }, + { + "name": "invert", + "cType": "bool", + "canonical": "bool" + } + ] + }, + { + "name": "textfunc_ttext_ttext", + "file": "ttext_funcs.h", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "temp1", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "temp2", + "cType": "const Temporal *", + "canonical": "const struct Temporal *" + }, + { + "name": "func", + "cType": "datum_func2", + "canonical": "int (*)(int ((*)(int *))(), int ((*)(int *))())" + } + ] + }, + { + "name": "datum_as_wkb", + "file": "type_inout.h", + "family": "CORE", + "returnType": { + "c": "uint8_t *", + "canonical": "unsigned char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size_out", + "cType": "size_t *", + "canonical": "int (*)(int *)" + } + ] + }, + { + "name": "datum_as_hexwkb", + "file": "type_inout.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "variant", + "cType": "uint8_t", + "canonical": "unsigned char" + }, + { + "name": "size", + "cType": "size_t *", + "canonical": "int (*)(int *)" + } + ] + }, + { + "name": "type_from_wkb", + "file": "type_inout.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "int (int *)" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "type_from_hexwkb", + "file": "type_inout.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "hexwkb", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "int (int *)" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "ensure_end_input", + "file": "type_parser.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "p_delimchar", + "file": "type_parser.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "ensure_obrace", + "file": "type_parser.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "ensure_cbrace", + "file": "type_parser.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "p_cbracket", + "file": "type_parser.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "p_oparen", + "file": "type_parser.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "ensure_oparen", + "file": "type_parser.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "ensure_cparen", + "file": "type_parser.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "basetype_parse", + "file": "type_parser.h", + "family": "CORE", + "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": "int ((*)(int *))()" + } + ] + }, + { + "name": "double_parse", + "file": "type_parser.h", + "family": "CORE", + "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", + "family": "CORE", + "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": "int ((*)(int *))()" + } + ] + }, + { + "name": "set_parse", + "file": "type_parser.h", + "family": "CORE", + "returnType": { + "c": "Set *", + "canonical": "struct Set *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "span_parse", + "file": "type_parser.h", + "family": "CORE", + "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": "struct Span *" + } + ] + }, + { + "name": "spanset_parse", + "file": "type_parser.h", + "family": "CORE", + "returnType": { + "c": "SpanSet *", + "canonical": "struct SpanSet *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "spantype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tbox_parse", + "file": "type_parser.h", + "family": "CORE", + "returnType": { + "c": "TBox *", + "canonical": "struct TBox *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "timestamp_parse", + "file": "type_parser.h", + "family": "CORE", + "returnType": { + "c": "TimestampTz", + "canonical": "long" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + } + ] + }, + { + "name": "tinstant_parse", + "file": "type_parser.h", + "family": "CORE", + "returnType": { + "c": "TInstant *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct TSequence *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tcontseq_parse", + "file": "type_parser.h", + "family": "CORE", + "returnType": { + "c": "TSequence *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "TSequenceSet *", + "canonical": "struct 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", + "family": "CORE", + "returnType": { + "c": "Temporal *", + "canonical": "struct Temporal *" + }, + "params": [ + { + "name": "str", + "cType": "const char **", + "canonical": "const char **" + }, + { + "name": "temptype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_copy", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "typid", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_double", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "double", + "canonical": "double" + }, + "params": [ + { + "name": "d", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "double_datum", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "d", + "cType": "double", + "canonical": "double" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "bstring2bytea", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "bytea *", + "canonical": "struct varlena *" + }, + "params": [ + { + "name": "wkb", + "cType": "const uint8_t *", + "canonical": "const unsigned char *" + }, + { + "name": "size", + "cType": "size_t", + "canonical": "int (int *)" + } + ] + }, + { + "name": "basetype_in", + "file": "type_util.h", + "family": "CORE", + "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": "int ((*)(int *))()" + } + ] + }, + { + "name": "basetype_out", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "value", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + }, + { + "name": "maxdd", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "pfree_array", + "file": "type_util.h", + "family": "CORE", + "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", + "family": "CORE", + "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": "string_unescape", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "size_t", + "canonical": "size_t" + }, + "params": [ + { + "name": "str", + "cType": "const char *", + "canonical": "const char *" + }, + { + "name": "result", + "cType": "char **", + "canonical": "char **" + } + ] + }, + { + "name": "stringarr_to_string", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "char *", + "canonical": "char *" + }, + "params": [ + { + "name": "strings", + "cType": "char **", + "canonical": "char **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "prefix", + "cType": "char *", + "canonical": "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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tstzarr_sort", + "file": "type_util.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "spans", + "cType": "Span *", + "canonical": "struct Span *" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tinstarr_sort", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "tseqarr_sort", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "void", + "canonical": "void" + }, + "params": [ + { + "name": "sequences", + "cType": "TSequence **", + "canonical": "struct TSequence **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "datumarr_remove_duplicates", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "values", + "cType": "Datum *", + "canonical": "int ((*)(int *))()" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + }, + { + "name": "basetype", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "tstzarr_remove_duplicates", + "file": "type_util.h", + "family": "CORE", + "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", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "instants", + "cType": "TInstant **", + "canonical": "struct TInstant **" + }, + { + "name": "count", + "cType": "int", + "canonical": "int" + } + ] + }, + { + "name": "datum_add", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_sub", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_mul", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_div", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_cmp", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "int", + "canonical": "int" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_eq", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_ne", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_lt", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_le", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_gt", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum_ge", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "bool", + "canonical": "bool" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_eq", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_ne", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_lt", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_le", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_gt", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "datum2_ge", + "file": "type_util.h", + "family": "CORE", + "returnType": { + "c": "Datum", + "canonical": "Datum" + }, + "params": [ + { + "name": "l", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "r", + "cType": "Datum", + "canonical": "int ((int *))()" + }, + { + "name": "type", + "cType": "MeosType", + "canonical": "MeosType" + } + ] + }, + { + "name": "hypot3d", + "file": "type_util.h", + "family": "CORE", + "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", + "family": "CORE", + "fields": [ + { + "name": "vl_len_", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "settype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "basetype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "maxcount", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "bboxsize", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "Span", + "file": "meos.h", + "family": "CORE", + "fields": [ + { + "name": "spantype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "basetype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "lower_inc", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "upper_inc", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char[4]", + "offset_bits": -1 + }, + { + "name": "lower", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "upper", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "SpanSet", + "file": "meos.h", + "family": "CORE", + "fields": [ + { + "name": "vl_len_", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "spansettype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "spantype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "basetype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "maxcount", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "span", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "elems", + "cType": "Span[1]", + "offset_bits": -1 + } + ] + }, + { + "name": "TBox", + "file": "meos.h", + "family": "CORE", + "fields": [ + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "span", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "STBox", + "file": "meos.h", + "family": "CORE", + "fields": [ + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "xmin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ymin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "xmax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ymax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "Temporal", + "file": "meos.h", + "family": "CORE", + "fields": [ + { + "name": "vl_len_", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "subtype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "TInstant", + "file": "meos.h", + "family": "CORE", + "fields": [ + { + "name": "vl_len_", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "subtype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "t", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "value", + "cType": "int", + "offset_bits": -1 + } + ], + "meosType": "TPointInst" + }, + { + "name": "TSequence", + "file": "meos.h", + "family": "CORE", + "fields": [ + { + "name": "vl_len_", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "subtype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "maxcount", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "bboxsize", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char[6]", + "offset_bits": -1 + }, + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + } + ], + "meosType": "TPointSeq" + }, + { + "name": "TSequenceSet", + "file": "meos.h", + "family": "CORE", + "fields": [ + { + "name": "vl_len_", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "subtype", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "totalcount", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "maxcount", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "bboxsize", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + } + ] + }, + { + "name": "Match", + "file": "meos.h", + "family": "CORE", + "fields": [ + { + "name": "i", + "cType": "int", + "offset_bits": 0 + }, + { + "name": "j", + "cType": "int", + "offset_bits": 32 + } + ] + }, + { + "name": "SkipList", + "file": "meos.h", + "family": "CORE", + "fields": [] + }, + { + "name": "MeosArray", + "file": "meos.h", + "family": "CORE", + "fields": [] + }, + { + "name": "RTree", + "file": "meos.h", + "family": "CORE", + "fields": [] + }, + { + "name": "MvtGeom", + "file": "meos_geo.h", + "family": "CORE", + "fields": [ + { + "name": "geom", + "cType": "int *", + "offset_bits": -1 + }, + { + "name": "times", + "cType": "int *", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "SpaceSplit", + "file": "meos_geo.h", + "family": "CORE", + "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", + "family": "CORE", + "fields": [ + { + "name": "fragments", + "cType": "Temporal **", + "offset_bits": -1 + }, + { + "name": "space_bins", + "cType": "int **", + "offset_bits": -1 + }, + { + "name": "time_bins", + "cType": "int *", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "Cbuffer", + "file": "meos_cbuffer.h", + "family": "CBUFFER", + "fields": [] + }, + { + "name": "temptype_catalog_struct", + "file": "meos_catalog.h", + "family": "CORE", + "fields": [ + { + "name": "temptype", + "cType": "MeosType", + "offset_bits": 0 + }, + { + "name": "basetype", + "cType": "MeosType", + "offset_bits": 32 + } + ] + }, + { + "name": "settype_catalog_struct", + "file": "meos_catalog.h", + "family": "CORE", + "fields": [ + { + "name": "settype", + "cType": "MeosType", + "offset_bits": 0 + }, + { + "name": "basetype", + "cType": "MeosType", + "offset_bits": 32 + } + ] + }, + { + "name": "spantype_catalog_struct", + "file": "meos_catalog.h", + "family": "CORE", + "fields": [ + { + "name": "spantype", + "cType": "MeosType", + "offset_bits": 0 + }, + { + "name": "basetype", + "cType": "MeosType", + "offset_bits": 32 + } + ] + }, + { + "name": "spansettype_catalog_struct", + "file": "meos_catalog.h", + "family": "CORE", + "fields": [ + { + "name": "spansettype", + "cType": "MeosType", + "offset_bits": 0 + }, + { + "name": "spantype", + "cType": "MeosType", + "offset_bits": 32 + } + ] + }, + { + "name": "SkipListElem", + "file": "meos_internal.h", + "family": "CORE", + "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": "double2", + "file": "doublen.h", + "family": "CORE", + "fields": [ + { + "name": "a", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "b", + "cType": "double", + "offset_bits": 64 + } + ] + }, + { + "name": "double3", + "file": "doublen.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "fields": [ + { + "name": "left", + "cType": "STBox", + "offset_bits": -1 + }, + { + "name": "right", + "cType": "STBox", + "offset_bits": -1 + } + ] + }, + { + "name": "SortedSTbox", + "file": "stbox_index.h", + "family": "CORE", + "fields": [ + { + "name": "box", + "cType": "STBox", + "offset_bits": -1 + }, + { + "name": "i", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "GeoAggregateState", + "file": "tgeo_aggfuncs.h", + "family": "CORE", + "fields": [ + { + "name": "srid", + "cType": "int32_t", + "offset_bits": -1 + }, + { + "name": "hasz", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "BitMatrix", + "file": "tgeo_tile.h", + "family": "CORE", + "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", + "family": "CORE", + "fields": [ + { + "name": "done", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "hasx", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "hasz", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "hast", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "i", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "xsize", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ysize", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zsize", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "tunits", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "box", + "cType": "STBox", + "offset_bits": -1 + }, + { + "name": "temp", + "cType": "const Temporal *", + "offset_bits": -1 + }, + { + "name": "bm", + "cType": "BitMatrix *", + "offset_bits": -1 + }, + { + "name": "x", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "y", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "z", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "t", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "ntiles", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "max_coords", + "cType": "int[4]", + "offset_bits": -1 + }, + { + "name": "coords", + "cType": "int[4]", + "offset_bits": -1 + } + ] + }, + { + "name": "ArrowSchema", + "file": "meos_arrow.h", + "family": "ARROW", + "fields": [] + }, + { + "name": "ArrowArray", + "file": "meos_arrow.h", + "family": "ARROW", + "fields": [] + }, + { + "name": "Npoint", + "file": "meos_npoint.h", + "family": "NPOINT", + "fields": [ + { + "name": "rid", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "pos", + "cType": "double", + "offset_bits": -1 + } + ] + }, + { + "name": "Nsegment", + "file": "meos_npoint.h", + "family": "NPOINT", + "fields": [ + { + "name": "rid", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "pos1", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "pos2", + "cType": "double", + "offset_bits": -1 + } + ] + }, + { + "name": "Pcpoint", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "fields": [] + }, + { + "name": "Pcpatch", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "fields": [] + }, + { + "name": "PCSCHEMA", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "fields": [] + }, + { + "name": "TPCBox", + "file": "meos_pointcloud.h", + "family": "POINTCLOUD", + "fields": [ + { + "name": "period", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "xmin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ymin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zmin", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "xmax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "ymax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "zmax", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": -1 + }, + { + "name": "pcid", + "cType": "uint32_t", + "offset_bits": -1 + }, + { + "name": "flags", + "cType": "int16", + "offset_bits": -1 + }, + { + "name": "padding", + "cType": "char[6]", + "offset_bits": -1 + } + ] + }, + { + "name": "Pose", + "file": "meos_pose.h", + "family": "POSE", + "fields": [] + }, + { + "name": "PcpointInTpcboxArgs", + "file": "pcpatch_decompose.h", + "family": "POINTCLOUD", + "fields": [ + { + "name": "box", + "cType": "const TPCBox *", + "offset_bits": -1 + }, + { + "name": "border_inc", + "cType": "bool", + "offset_bits": -1 + } + ] + }, + { + "name": "SERIALIZED_POINT", + "file": "pgsql_compat.h", + "family": "POINTCLOUD", + "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", + "family": "POINTCLOUD", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "fields": [ + { + "name": "x", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "y", + "cType": "double", + "offset_bits": 64 + } + ] + }, + { + "name": "POINT3DZ", + "file": "postgis_ext_defs.in.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "geoms", + "cType": "LWGEOM **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "ngeoms", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxgeoms", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWCURVEPOLY", + "file": "postgis_ext_defs.in.h", + "family": "CORE", + "fields": [ + { + "name": "bbox", + "cType": "GBOX *", + "offset_bits": 0 + }, + { + "name": "rings", + "cType": "LWGEOM **", + "offset_bits": 64 + }, + { + "name": "srid", + "cType": "int32_t", + "offset_bits": 128 + }, + { + "name": "flags", + "cType": "lwflags_t", + "offset_bits": 160 + }, + { + "name": "type", + "cType": "uint8_t", + "offset_bits": 176 + }, + { + "name": "pad", + "cType": "char[1]", + "offset_bits": 184 + }, + { + "name": "nrings", + "cType": "uint32_t", + "offset_bits": 192 + }, + { + "name": "maxrings", + "cType": "uint32_t", + "offset_bits": 224 + } + ] + }, + { + "name": "LWMCURVE", + "file": "postgis_ext_defs.in.h", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "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", + "family": "CORE", + "fields": [] + }, + { + "name": "LWPROJ", + "file": "postgis_ext_defs.in.h", + "family": "CORE", + "fields": [ + { + "name": "pj", + "cType": "PJ *", + "offset_bits": -1 + }, + { + "name": "pipeline_is_forward", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "source_is_latlong", + "cType": "uint8_t", + "offset_bits": -1 + }, + { + "name": "source_semi_major_metre", + "cType": "double", + "offset_bits": -1 + }, + { + "name": "source_semi_minor_metre", + "cType": "double", + "offset_bits": -1 + } + ] + }, + { + "name": "Interval", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "fields": [ + { + "name": "time", + "cType": "TimeOffset", + "offset_bits": 0 + }, + { + "name": "day", + "cType": "int32", + "offset_bits": 64 + }, + { + "name": "month", + "cType": "int32", + "offset_bits": 96 + } + ] + }, + { + "name": "varlena", + "file": "postgres_ext_defs.in.h", + "family": "CORE", + "fields": [ + { + "name": "vl_len_", + "cType": "char[4]", + "offset_bits": 0 + }, + { + "name": "vl_dat", + "cType": "char[]", + "offset_bits": 32 + } + ] + }, + { + "name": "cfp_elem", + "file": "trgeo_distance.h", + "family": "RGEO", + "fields": [ + { + "name": "geom_1", + "cType": "LWGEOM *", + "offset_bits": -1 + }, + { + "name": "geom_2", + "cType": "LWGEOM *", + "offset_bits": -1 + }, + { + "name": "pose_1", + "cType": "Pose *", + "offset_bits": -1 + }, + { + "name": "pose_2", + "cType": "Pose *", + "offset_bits": -1 + }, + { + "name": "free_pose_1", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "free_pose_2", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "cf_1", + "cType": "uint32_t", + "offset_bits": -1 + }, + { + "name": "cf_2", + "cType": "uint32_t", + "offset_bits": -1 + }, + { + "name": "t", + "cType": "TimestampTz", + "offset_bits": -1 + }, + { + "name": "store", + "cType": "bool", + "offset_bits": -1 + } + ] + }, + { + "name": "cfp_array", + "file": "trgeo_distance.h", + "family": "RGEO", + "fields": [ + { + "name": "count", + "cType": "size_t", + "offset_bits": -1 + }, + { + "name": "size", + "cType": "size_t", + "offset_bits": -1 + }, + { + "name": "arr", + "cType": "cfp_elem *", + "offset_bits": -1 + } + ] + }, + { + "name": "tdist_elem", + "file": "trgeo_distance.h", + "family": "RGEO", + "fields": [ + { + "name": "dist", + "cType": "double", + "offset_bits": 0 + }, + { + "name": "t", + "cType": "TimestampTz", + "offset_bits": 64 + } + ] + }, + { + "name": "tdist_array", + "file": "trgeo_distance.h", + "family": "RGEO", + "fields": [ + { + "name": "count", + "cType": "size_t", + "offset_bits": -1 + }, + { + "name": "size", + "cType": "size_t", + "offset_bits": -1 + }, + { + "name": "arr", + "cType": "tdist_elem *", + "offset_bits": -1 + } + ] + }, + { + "name": "SpanBound", + "file": "span.h", + "family": "CORE", + "fields": [ + { + "name": "val", + "cType": "Datum", + "offset_bits": -1 + }, + { + "name": "inclusive", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "lower", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "spantype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": -1 + } + ] + }, + { + "name": "LiftedFunctionInfo", + "file": "lifting.h", + "family": "CORE", + "fields": [ + { + "name": "func", + "cType": "varfunc", + "offset_bits": -1 + }, + { + "name": "numparam", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "param", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "argtype", + "cType": "MeosType[2]", + "offset_bits": -1 + }, + { + "name": "restype", + "cType": "MeosType", + "offset_bits": -1 + }, + { + "name": "reserror", + "cType": "Datum", + "offset_bits": -1 + }, + { + "name": "resnull", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "reslinear", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "invert", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "discont", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "ever", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "tpfn_unary", + "cType": "tpfunc_unary", + "offset_bits": -1 + }, + { + "name": "tpfn_adaptive", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "tpfn_set", + "cType": "tpfunc_set", + "offset_bits": -1 + }, + { + "name": "cross_type", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "tpfn_base", + "cType": "tpfunc_base", + "offset_bits": -1 + }, + { + "name": "tpfn_temp", + "cType": "tpfunc_temp", + "offset_bits": -1 + } + ] + }, + { + "name": "SetUnnestState", + "file": "set.h", + "family": "CORE", + "fields": [ + { + "name": "done", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "i", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "set", + "cType": "Set *", + "offset_bits": -1 + }, + { + "name": "values", + "cType": "Datum *", + "offset_bits": -1 + } + ] + }, + { + "name": "SpanNode", + "file": "span_index.h", + "family": "CORE", + "fields": [ + { + "name": "left", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "right", + "cType": "Span", + "offset_bits": -1 + } + ] + }, + { + "name": "SortedSpan", + "file": "span_index.h", + "family": "CORE", + "fields": [ + { + "name": "s", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "i", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "TboxNode", + "file": "tbox_index.h", + "family": "CORE", + "fields": [ + { + "name": "left", + "cType": "TBox", + "offset_bits": -1 + }, + { + "name": "right", + "cType": "TBox", + "offset_bits": -1 + } + ] + }, + { + "name": "SortedTbox", + "file": "tbox_index.h", + "family": "CORE", + "fields": [ + { + "name": "box", + "cType": "TBox", + "offset_bits": -1 + }, + { + "name": "i", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "DggsCellOps", + "file": "tcellindex.h", + "family": "CORE", + "fields": [ + { + "name": "celltype", + "cType": "MeosType", + "offset_bits": -1 + }, + { + "name": "settype", + "cType": "MeosType", + "offset_bits": -1 + }, + { + "name": "temptype", + "cType": "MeosType", + "offset_bits": -1 + }, + { + "name": "min_resolution", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "max_resolution", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "point_temptype", + "cType": "MeosType", + "offset_bits": -1 + }, + { + "name": "point_srid", + "cType": "int32", + "offset_bits": -1 + }, + { + "name": "get_resolution", + "cType": "int (*)(Datum *)", + "offset_bits": -1 + }, + { + "name": "is_valid_cell", + "cType": "int (*)(Datum *)", + "offset_bits": -1 + }, + { + "name": "cell_to_parent", + "cType": "int (*)(Datum *, Datum *)", + "offset_bits": -1 + }, + { + "name": "cell_to_point", + "cType": "int (*)(Datum *)", + "offset_bits": -1 + }, + { + "name": "cell_to_boundary", + "cType": "int (*)(Datum *)", + "offset_bits": -1 + }, + { + "name": "cell_area", + "cType": "int (*)(Datum *)", + "offset_bits": -1 + } + ] + }, + { + "name": "SimilarityPathState", + "file": "temporal_analytics.h", + "family": "CORE", + "fields": [ + { + "name": "done", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "i", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "size", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "path", + "cType": "Match *", + "offset_bits": -1 + } + ] + }, + { + "name": "RTreeNode", + "file": "temporal_rtree.h", + "family": "CORE", + "fields": [ + { + "name": "bboxsize", + "cType": "size_t", + "offset_bits": -1 + }, + { + "name": "count", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "node_type", + "cType": "RTreeNodeType", + "offset_bits": -1 + }, + { + "name": "boxes", + "cType": "char[]", + "offset_bits": -1 + } + ] + }, + { + "name": "SpanBinState", + "file": "temporal_tile.h", + "family": "CORE", + "fields": [ + { + "name": "done", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "basetype", + "cType": "uint8", + "offset_bits": -1 + }, + { + "name": "i", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "size", + "cType": "Datum", + "offset_bits": -1 + }, + { + "name": "origin", + "cType": "Datum", + "offset_bits": -1 + }, + { + "name": "span", + "cType": "Span", + "offset_bits": -1 + }, + { + "name": "to_split", + "cType": "const void *", + "offset_bits": -1 + }, + { + "name": "value", + "cType": "Datum", + "offset_bits": -1 + }, + { + "name": "nbins", + "cType": "int", + "offset_bits": -1 + } + ] + }, + { + "name": "TboxGridState", + "file": "temporal_tile.h", + "family": "CORE", + "fields": [ + { + "name": "done", + "cType": "bool", + "offset_bits": -1 + }, + { + "name": "i", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "vsize", + "cType": "Datum", + "offset_bits": -1 + }, + { + "name": "tunits", + "cType": "int64", + "offset_bits": -1 + }, + { + "name": "box", + "cType": "TBox", + "offset_bits": -1 + }, + { + "name": "temp", + "cType": "const Temporal *", + "offset_bits": -1 + }, + { + "name": "value", + "cType": "Datum", + "offset_bits": -1 + }, + { + "name": "t", + "cType": "TimestampTz", + "offset_bits": -1 + }, + { + "name": "ntiles", + "cType": "int", + "offset_bits": -1 + }, + { + "name": "max_coords", + "cType": "int[2]", + "offset_bits": -1 + }, + { + "name": "coords", + "cType": "int[2]", + "offset_bits": -1 + } + ] + }, + { + "name": "ekf_t", + "file": "tinyekf_meos.h", + "family": "CORE", + "fields": [ + { + "name": "x", + "cType": "float", + "offset_bits": -1 + }, + { + "name": "P", + "cType": "float", + "offset_bits": -1 + } + ] + } + ], + "enums": [ + { + "name": "errorCode", + "file": "meos_error.h", + "family": "CORE", + "values": [ + { + "name": "MEOS_SUCCESS", + "value": 0 + }, + { + "name": "MEOS_ERR_INTERNAL_ERROR", + "value": 1 + }, + { + "name": "MEOS_ERR_INTERNAL_TYPE_ERROR", + "value": 2 + }, + { + "name": "MEOS_ERR_VALUE_OUT_OF_RANGE", + "value": 3 + }, + { + "name": "MEOS_ERR_DIVISION_BY_ZERO", + "value": 4 + }, + { + "name": "MEOS_ERR_MEMORY_ALLOC_ERROR", + "value": 5 + }, + { + "name": "MEOS_ERR_AGGREGATION_ERROR", + "value": 6 + }, + { + "name": "MEOS_ERR_DIRECTORY_ERROR", + "value": 7 + }, + { + "name": "MEOS_ERR_FILE_ERROR", + "value": 8 + }, + { + "name": "MEOS_ERR_OUT_OF_MEMORY", + "value": 9 + }, + { + "name": "MEOS_ERR_INVALID_ARG", + "value": 10 + }, + { + "name": "MEOS_ERR_INVALID_ARG_TYPE", + "value": 11 + }, + { + "name": "MEOS_ERR_INVALID_ARG_VALUE", + "value": 12 + }, + { + "name": "MEOS_ERR_FEATURE_NOT_SUPPORTED", + "value": 13 + }, + { + "name": "MEOS_ERR_INDETERMINATE_COLLATION", + "value": 14 + }, + { + "name": "MEOS_ERR_SYNTAX_ERROR", + "value": 15 + }, + { + "name": "MEOS_ERR_NULL_RESULT", + "value": 16 + }, + { + "name": "MEOS_ERR_MFJSON_INPUT", + "value": 20 + }, + { + "name": "MEOS_ERR_MFJSON_OUTPUT", + "value": 21 + }, + { + "name": "MEOS_ERR_TEXT_INPUT", + "value": 22 + }, + { + "name": "MEOS_ERR_TEXT_OUTPUT", + "value": 23 + }, + { + "name": "MEOS_ERR_WKB_INPUT", + "value": 24 + }, + { + "name": "MEOS_ERR_WKB_OUTPUT", + "value": 25 + }, + { + "name": "MEOS_ERR_GEOJSON_INPUT", + "value": 26 + }, + { + "name": "MEOS_ERR_GEOJSON_OUTPUT", + "value": 27 + }, + { + "name": "MEOS_ERR_SQL_JSON_ERROR", + "value": 28 + }, + { + "name": "MEOS_ERR_INVALID_REGULAR_EXPRESSION", + "value": 29 + } + ] + }, + { + "name": "tempSubtype", + "file": "meos.h", + "family": "CORE", + "values": [ + { + "name": "ANYTEMPSUBTYPE", + "value": 0 + }, + { + "name": "TINSTANT", + "value": 1 + }, + { + "name": "TSEQUENCE", + "value": 2 + }, + { + "name": "TSEQUENCESET", + "value": 3 + } + ] + }, + { + "name": "interpType", + "file": "meos.h", + "family": "CORE", + "values": [ + { + "name": "INTERP_NONE", + "value": 0 + }, + { + "name": "DISCRETE", + "value": 1 + }, + { + "name": "STEP", + "value": 2 + }, + { + "name": "LINEAR", + "value": 3 + } + ] + }, + { + "name": "RTreeSearchOp", + "file": "meos.h", + "family": "CORE", + "values": [ + { + "name": "RTREE_OVERLAPS", + "value": 0 + }, + { + "name": "RTREE_CONTAINS", + "value": 1 + }, + { + "name": "RTREE_CONTAINED_BY", + "value": 2 + } + ] + }, + { + "name": "spatialRel", + "file": "meos_geo.h", + "family": "CORE", + "values": [ + { + "name": "INTERSECTS", + "value": 0 + }, + { + "name": "CONTAINS", + "value": 1 + }, + { + "name": "TOUCHES", + "value": 2 + }, + { + "name": "COVERS", + "value": 3 + } + ] + }, + { + "name": "MeosType", + "file": "meos_catalog.h", + "family": "CORE", + "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": 67 + }, + { + "name": "T_H3INDEX", + "value": 68 + }, + { + "name": "T_H3INDEXSET", + "value": 69 + }, + { + "name": "T_TH3INDEX", + "value": 70 + }, + { + "name": "T_QUADBIN", + "value": 71 + }, + { + "name": "T_QUADBINSET", + "value": 72 + }, + { + "name": "T_TQUADBIN", + "value": 73 + }, + { + "name": "T_PCPOINT", + "value": 74 + }, + { + "name": "T_PCPOINTSET", + "value": 75 + }, + { + "name": "T_TPCPOINT", + "value": 76 + }, + { + "name": "T_PCPATCH", + "value": 77 + }, + { + "name": "T_PCPATCHSET", + "value": 78 + }, + { + "name": "T_TPCPATCH", + "value": 79 + }, + { + "name": "T_TPCBOX", + "value": 80 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" + "name": "NUM_MEOS_TYPES", + "value": 81 } ] }, { - "name": "geo_cluster_intersecting", - "file": "meos_geo.h", - "returnType": { - "c": "int **", - "canonical": "int **" - }, - "params": [ + "name": "MeosOper", + "file": "meos_catalog.h", + "family": "CORE", + "values": [ { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" + "name": "UNKNOWN_OP", + "value": 0 }, { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" + "name": "EQ_OP", + "value": 1 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - }, - { - "name": "geo_cluster_within", - "file": "meos_geo.h", - "returnType": { - "c": "int **", - "canonical": "int **" - }, - "params": [ + "name": "NE_OP", + "value": 2 + }, { - "name": "geoms", - "cType": "const int **", - "canonical": "const int **" + "name": "LT_OP", + "value": 3 }, { - "name": "ngeoms", - "cType": "uint32_t", - "canonical": "unsigned int" + "name": "LE_OP", + "value": 4 }, { - "name": "tolerance", - "cType": "double", - "canonical": "double" + "name": "GT_OP", + "value": 5 }, { - "name": "count", - "cType": "int *", - "canonical": "int *" - } - ] - } - ], - "structs": [ - { - "name": "Set", - "file": "meos.h", - "fields": [ + "name": "GE_OP", + "value": 6 + }, { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 + "name": "ADJACENT_OP", + "value": 7 }, { - "name": "settype", - "cType": "uint8", - "offset_bits": 32 + "name": "UNION_OP", + "value": 8 }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": 40 + "name": "MINUS_OP", + "value": 9 }, { - "name": "flags", - "cType": "int16", - "offset_bits": 48 + "name": "INTERSECT_OP", + "value": 10 }, { - "name": "count", - "cType": "int32", - "offset_bits": 64 + "name": "OVERLAPS_OP", + "value": 11 }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 + "name": "CONTAINS_OP", + "value": 12 }, { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 128 - } - ] - }, - { - "name": "Span", - "file": "meos.h", - "fields": [ + "name": "CONTAINED_OP", + "value": 13 + }, { - "name": "spantype", - "cType": "uint8", - "offset_bits": 0 + "name": "SAME_OP", + "value": 14 }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": 8 + "name": "LEFT_OP", + "value": 15 }, { - "name": "lower_inc", - "cType": "bool", - "offset_bits": 16 + "name": "OVERLEFT_OP", + "value": 16 }, { - "name": "upper_inc", - "cType": "bool", - "offset_bits": 24 + "name": "RIGHT_OP", + "value": 17 }, { - "name": "padding", - "cType": "char[4]", - "offset_bits": 32 + "name": "OVERRIGHT_OP", + "value": 18 }, { - "name": "lower", - "cType": "Datum", - "offset_bits": 64 + "name": "BELOW_OP", + "value": 19 }, { - "name": "upper", - "cType": "Datum", - "offset_bits": 128 - } - ] - }, - { - "name": "SpanSet", - "file": "meos.h", - "fields": [ + "name": "OVERBELOW_OP", + "value": 20 + }, { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 + "name": "ABOVE_OP", + "value": 21 }, { - "name": "spansettype", - "cType": "uint8", - "offset_bits": 32 + "name": "OVERABOVE_OP", + "value": 22 }, { - "name": "spantype", - "cType": "uint8", - "offset_bits": 40 + "name": "FRONT_OP", + "value": 23 }, { - "name": "basetype", - "cType": "uint8", - "offset_bits": 48 + "name": "OVERFRONT_OP", + "value": 24 }, { - "name": "padding", - "cType": "char", - "offset_bits": 56 + "name": "BACK_OP", + "value": 25 }, { - "name": "count", - "cType": "int32", - "offset_bits": 64 + "name": "OVERBACK_OP", + "value": 26 }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 + "name": "BEFORE_OP", + "value": 27 }, { - "name": "span", - "cType": "Span", - "offset_bits": 128 + "name": "OVERBEFORE_OP", + "value": 28 }, { - "name": "elems", - "cType": "Span[1]", - "offset_bits": 320 - } - ] - }, - { - "name": "TBox", - "file": "meos.h", - "fields": [ + "name": "AFTER_OP", + "value": 29 + }, { - "name": "period", - "cType": "Span", - "offset_bits": 0 + "name": "OVERAFTER_OP", + "value": 30 }, { - "name": "span", - "cType": "Span", - "offset_bits": 192 + "name": "EVEREQ_OP", + "value": 31 }, { - "name": "flags", - "cType": "int16", - "offset_bits": 384 - } - ] - }, - { - "name": "STBox", - "file": "meos.h", - "fields": [ + "name": "EVERNE_OP", + "value": 32 + }, { - "name": "period", - "cType": "Span", - "offset_bits": 0 + "name": "EVERLT_OP", + "value": 33 }, { - "name": "xmin", - "cType": "double", - "offset_bits": 192 + "name": "EVERLE_OP", + "value": 34 }, { - "name": "ymin", - "cType": "double", - "offset_bits": 256 + "name": "EVERGT_OP", + "value": 35 }, { - "name": "zmin", - "cType": "double", - "offset_bits": 320 + "name": "EVERGE_OP", + "value": 36 }, { - "name": "xmax", - "cType": "double", - "offset_bits": 384 + "name": "ALWAYSEQ_OP", + "value": 37 }, { - "name": "ymax", - "cType": "double", - "offset_bits": 448 + "name": "ALWAYSNE_OP", + "value": 38 }, { - "name": "zmax", - "cType": "double", - "offset_bits": 512 + "name": "ALWAYSLT_OP", + "value": 39 }, { - "name": "srid", - "cType": "int32_t", - "offset_bits": 576 + "name": "ALWAYSLE_OP", + "value": 40 }, { - "name": "flags", - "cType": "int16", - "offset_bits": 608 + "name": "ALWAYSGT_OP", + "value": 41 + }, + { + "name": "ALWAYSGE_OP", + "value": 42 } ] }, { - "name": "Temporal", - "file": "meos.h", - "fields": [ + "name": "SkipListType", + "file": "meos_internal.h", + "family": "CORE", + "values": [ { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 + "name": "SKIPLIST_TEMPORAL", + "value": 0 }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 - }, + "name": "SKIPLIST_KEYVALUE", + "value": 1 + } + ] + }, + { + "name": "SyncMode", + "file": "temporal.h", + "family": "CORE", + "values": [ { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 + "name": "SYNCHRONIZE_NOCROSS", + "value": 0 }, { - "name": "flags", - "cType": "int16", - "offset_bits": 48 + "name": "SYNCHRONIZE_CROSS", + "value": 1 } ] }, { - "name": "TInstant", - "file": "meos.h", - "fields": [ + "name": "TemporalFamily", + "file": "temporal.h", + "family": "CORE", + "values": [ { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 + "name": "TEMPORALTYPE", + "value": 0 }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 + "name": "TNUMBERTYPE", + "value": 1 }, { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 - }, + "name": "TSPATIALTYPE", + "value": 2 + } + ] + }, + { + "name": "SetOper", + "file": "temporal.h", + "family": "CORE", + "values": [ { - "name": "flags", - "cType": "int16", - "offset_bits": 48 + "name": "UNION", + "value": 0 }, { - "name": "t", - "cType": "TimestampTz", - "offset_bits": 64 + "name": "INTER", + "value": 1 }, { - "name": "value", - "cType": "Datum", - "offset_bits": 128 + "name": "MINUS", + "value": 2 } - ], - "meosType": "TPointInst" + ] }, { - "name": "TSequence", - "file": "meos.h", - "fields": [ + "name": "CompOper", + "file": "temporal.h", + "family": "CORE", + "values": [ { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 + "name": "EQ", + "value": 0 }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 + "name": "NE", + "value": 1 }, { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 + "name": "LT", + "value": 2 }, { - "name": "flags", - "cType": "int16", - "offset_bits": 48 + "name": "LE", + "value": 3 }, { - "name": "count", - "cType": "int32", - "offset_bits": 64 + "name": "GT", + "value": 4 }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 96 - }, + "name": "GE", + "value": 5 + } + ] + }, + { + "name": "MEOS_WKB_TSUBTYPE", + "file": "temporal.h", + "family": "CORE", + "values": [ { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 128 + "name": "MEOS_WKB_TINSTANT", + "value": 1 }, { - "name": "padding", - "cType": "char[6]", - "offset_bits": 144 + "name": "MEOS_WKB_TSEQUENCE", + "value": 2 }, { - "name": "period", - "cType": "Span", - "offset_bits": 192 + "name": "MEOS_WKB_TSEQUENCESET", + "value": 3 } - ], - "meosType": "TPointSeq" + ] }, { - "name": "TSequenceSet", - "file": "meos.h", - "fields": [ + "name": "ClipOper", + "file": "geo_poly_clip.h", + "family": "CORE", + "values": [ { - "name": "vl_len_", - "cType": "int32", - "offset_bits": 0 + "name": "CL_INTERSECTION", + "value": 0 }, { - "name": "temptype", - "cType": "uint8", - "offset_bits": 32 + "name": "CL_UNION", + "value": 1 }, { - "name": "subtype", - "cType": "uint8", - "offset_bits": 40 + "name": "CL_DIFFERENCE", + "value": 2 }, { - "name": "flags", - "cType": "int16", - "offset_bits": 48 - }, + "name": "CL_XOR", + "value": 3 + } + ] + }, + { + "name": "H3Unit", + "file": "th3index_internal.h", + "family": "H3", + "values": [ { - "name": "count", - "cType": "int32", - "offset_bits": 64 + "name": "H3_UNIT_KM", + "value": 0 }, { - "name": "totalcount", - "cType": "int32", - "offset_bits": 96 + "name": "H3_UNIT_M", + "value": 1 }, { - "name": "maxcount", - "cType": "int32", - "offset_bits": 128 + "name": "H3_UNIT_RADS", + "value": 2 }, { - "name": "bboxsize", - "cType": "int16", - "offset_bits": 160 + "name": "H3_UNIT_KM2", + "value": 3 }, { - "name": "padding", - "cType": "int16", - "offset_bits": 176 + "name": "H3_UNIT_M2", + "value": 4 }, { - "name": "period", - "cType": "Span", - "offset_bits": 192 + "name": "H3_UNIT_RADS2", + "value": 5 } ] }, { - "name": "Match", - "file": "meos.h", - "fields": [ + "name": "nullHandleType", + "file": "meos_json.h", + "family": "JSON", + "values": [ { - "name": "i", - "cType": "int", - "offset_bits": 0 + "name": "NULL_INVALID", + "value": 0 }, { - "name": "j", - "cType": "int", - "offset_bits": 32 + "name": "NULL_ERROR", + "value": 1 + }, + { + "name": "NULL_JSON_NULL", + "value": 2 + }, + { + "name": "NULL_DELETE", + "value": 3 + }, + { + "name": "NULL_RETURN", + "value": 4 } ] }, { - "name": "SkipList", - "file": "meos.h", - "fields": [] - }, - { - "name": "RTree", - "file": "meos.h", - "fields": [] - } - ], - "enums": [ - { - "name": "tempSubtype", - "file": "meos.h", + "name": "MeosPixType", + "file": "meos_raster.h", + "family": "RASTER", "values": [ { - "name": "ANYTEMPSUBTYPE", + "name": "MEOS_PT_UINT8", "value": 0 }, { - "name": "TINSTANT", + "name": "MEOS_PT_INT16", "value": 1 }, { - "name": "TSEQUENCE", + "name": "MEOS_PT_INT32", "value": 2 }, { - "name": "TSEQUENCESET", + "name": "MEOS_PT_FLOAT32", "value": 3 + }, + { + "name": "MEOS_PT_FLOAT64", + "value": 4 } ] }, { - "name": "interpType", - "file": "meos.h", + "name": "GeoPoseClass", + "file": "pose_geopose.h", + "family": "POSE", "values": [ { - "name": "INTERP_NONE", + "name": "GEOPOSE_BASIC_QUATERNION", "value": 0 }, { - "name": "DISCRETE", + "name": "GEOPOSE_BASIC_YPR", "value": 1 + } + ] + }, + { + "name": "SimFunc", + "file": "temporal_analytics.h", + "family": "CORE", + "values": [ + { + "name": "FRECHET", + "value": 0 }, { - "name": "STEP", - "value": 2 + "name": "DYNTIMEWARP", + "value": 1 }, { - "name": "LINEAR", - "value": 3 + "name": "HAUSDORFF", + "value": 2 } ] }, { - "name": "RTreeSearchOp", - "file": "meos.h", + "name": "RTreeNodeType", + "file": "temporal_rtree.h", + "family": "CORE", "values": [ { - "name": "RTREE_OVERLAPS", + "name": "RTREE_LEAF", "value": 0 }, { - "name": "RTREE_CONTAINS", + "name": "RTREE_INNER", "value": 1 - }, - { - "name": "RTREE_CONTAINED_BY", - "value": 2 } ] }, { - "name": "errorCode", - "file": "meos.h", + "name": "TArithmetic", + "file": "tnumber_mathfuncs.h", + "family": "CORE", "values": [ { - "name": "MEOS_SUCCESS", + "name": "ADD", "value": 0 }, { - "name": "MEOS_ERR_INTERNAL_ERROR", + "name": "SUB", "value": 1 }, { - "name": "MEOS_ERR_INTERNAL_TYPE_ERROR", + "name": "MUL", "value": 2 }, { - "name": "MEOS_ERR_VALUE_OUT_OF_RANGE", + "name": "DIV", "value": 3 }, { - "name": "MEOS_ERR_DIVISION_BY_ZERO", + "name": "DIST", "value": 4 - }, + } + ] + } + ], + "portableAliases": { + "provenance": { + "discussion": "MobilityDB#861", + "rfc": "MobilityDB RFC #920 (doc/rfc/sql-portability/README.md, branch rfc/sql-portability)", + "nativePR": "MobilityDB#1075 (1303 operator-overload aliases, each reusing the operator's own C symbol \u2014 identical by construction; CI-gated by tools/portable_aliases/generate.py --check)", + "manualChapter": "MobilityDB#1078" + }, + "families": { + "topology": [ { - "name": "MEOS_ERR_MEMORY_ALLOC_ERROR", - "value": 5 + "operator": "&&", + "bareName": "overlaps" }, { - "name": "MEOS_ERR_AGGREGATION_ERROR", - "value": 6 + "operator": "@>", + "bareName": "contains" }, { - "name": "MEOS_ERR_DIRECTORY_ERROR", - "value": 7 + "operator": "<@", + "bareName": "contained" }, { - "name": "MEOS_ERR_FILE_ERROR", - "value": 8 + "operator": "-|-", + "bareName": "adjacent" + } + ], + "timePosition": [ + { + "operator": "<<#", + "bareName": "before" }, { - "name": "MEOS_ERR_INVALID_ARG", - "value": 10 + "operator": "#>>", + "bareName": "after" }, { - "name": "MEOS_ERR_INVALID_ARG_TYPE", - "value": 11 + "operator": "&<#", + "bareName": "overbefore" }, { - "name": "MEOS_ERR_INVALID_ARG_VALUE", - "value": 12 + "operator": "#&>", + "bareName": "overafter" + } + ], + "spaceX": [ + { + "operator": "<<", + "bareName": "left" }, { - "name": "MEOS_ERR_FEATURE_NOT_SUPPORTED", - "value": 13 + "operator": ">>", + "bareName": "right" }, { - "name": "MEOS_ERR_MFJSON_INPUT", - "value": 20 + "operator": "&<", + "bareName": "overleft" }, { - "name": "MEOS_ERR_MFJSON_OUTPUT", - "value": 21 + "operator": "&>", + "bareName": "overright" + } + ], + "spaceY": [ + { + "operator": "<<|", + "bareName": "below" }, { - "name": "MEOS_ERR_TEXT_INPUT", - "value": 22 + "operator": "|>>", + "bareName": "above" }, { - "name": "MEOS_ERR_TEXT_OUTPUT", - "value": 23 + "operator": "&<|", + "bareName": "overbelow" }, { - "name": "MEOS_ERR_WKB_INPUT", - "value": 24 + "operator": "|&>", + "bareName": "overabove" + } + ], + "spaceZ": [ + { + "operator": "<>", + "bareName": "back" }, { - "name": "MEOS_ERR_GEOJSON_INPUT", - "value": 26 + "operator": "&", + "bareName": "overback" } - ] - }, - { - "name": "spatialRel", - "file": "meos_geo.h", - "values": [ + ], + "temporalComparison": [ { - "name": "INTERSECTS", - "value": 0 + "operator": "#=", + "bareName": "teq" }, { - "name": "CONTAINS", - "value": 1 + "operator": "#<>", + "bareName": "tne" }, { - "name": "TOUCHES", - "value": 2 + "operator": "#<", + "bareName": "tlt" }, { - "name": "COVERS", - "value": 3 + "operator": "#<=", + "bareName": "tle" + }, + { + "operator": "#>", + "bareName": "tgt" + }, + { + "operator": "#>=", + "bareName": "tge" } - ] - } - ] + ], + "distance": [ + { + "operator": "<->", + "bareName": "tdistance" + }, + { + "operator": "|=|", + "bareName": "nearestApproachDistance" + } + ], + "same": [ + { + "operator": "~=", + "bareName": "same" + } + ] + }, + "alreadyCanonical": [ + { + "kind": "family", + "family": "ever", + "operators": [ + "?=" + ], + "pattern": "ever_*" + }, + { + "kind": "family", + "family": "always", + "operators": [ + "%=" + ], + "pattern": "always_*" + }, + { + "kind": "functions", + "functions": [ + "eIntersects", + "atTime", + "restriction functions", + "spatial-relationship functions" + ] + } + ], + "explicitBacking": { + "nearestApproachDistance": [ + "nad" + ] + }, + "scope": { + "inScopeTypeFamilies": [ + "temporal", + "geo", + "cbuffer", + "npoint", + "pose", + "rgeo" + ], + "note": "cbuffer / npoint / pose / rgeo are FULL user-facing temporal types and ARE in scope \u2014 covered like every other type. PR #1075 already aliases all six families (1303 aliases). They must NOT be excluded from any parity headline; an upstream/audit note that 'defers' or 'jointly excludes' them is a known error being corrected \u2014 where another engine defers them, that is incomplete work to close (a gap with a plan), never an accepted exclusion.", + "deferralIsError": true + }, + "notes": [ + "Generate aliases by reusing each operator's own backing C function (equivalence by construction), never by reimplementing; mirror MobilityDB tools/portable_aliases/generate.py + its 100%-coverage audit.", + "User-facing API uses the full name `trgeometry`; internal functions keep the `trgeo_` prefix \u2014 do NOT normalize the internal prefix.", + "Goal: 100% parity ecosystem-wide \u2014 every operator has its bare name on every engine, no gaps, no headline exclusions." + ], + "byOperator": { + "&&": "overlaps", + "@>": "contains", + "<@": "contained", + "-|-": "adjacent", + "<<#": "before", + "#>>": "after", + "&<#": "overbefore", + "#&>": "overafter", + "<<": "left", + ">>": "right", + "&<": "overleft", + "&>": "overright", + "<<|": "below", + "|>>": "above", + "&<|": "overbelow", + "|&>": "overabove", + "<>": "back", + "&": "overback", + "#=": "teq", + "#<>": "tne", + "#<": "tlt", + "#<=": "tle", + "#>": "tgt", + "#>=": "tge", + "<->": "tdistance", + "|=|": "nearestApproachDistance", + "~=": "same" + }, + "byBareName": { + "overlaps": "&&", + "contains": "@>", + "contained": "<@", + "adjacent": "-|-", + "before": "<<#", + "after": "#>>", + "overbefore": "&<#", + "overafter": "#&>", + "left": "<<", + "right": ">>", + "overleft": "&<", + "overright": "&>", + "below": "<<|", + "above": "|>>", + "overbelow": "&<|", + "overabove": "|&>", + "front": "<>", + "overfront": "&", + "teq": "#=", + "tne": "#<>", + "tlt": "#<", + "tle": "#<=", + "tgt": "#>", + "tge": "#>=", + "tdistance": "<->", + "nearestApproachDistance": "|=|", + "same": "~=" + }, + "bareNames": [ + "above", + "adjacent", + "after", + "back", + "before", + "below", + "contained", + "contains", + "front", + "left", + "nearestApproachDistance", + "overabove", + "overafter", + "overback", + "overbefore", + "overbelow", + "overfront", + "overlaps", + "overleft", + "overright", + "right", + "same", + "tdistance", + "teq", + "tge", + "tgt", + "tle", + "tlt", + "tne" + ], + "count": 29 + } } \ 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 000000000..1bcc6c1d2 --- /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 000000000..804b500e9 --- /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 000000000..02116d79f --- /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 cf8cab500..cd9f3a5e2 100644 --- a/codegen/src/main/java/FunctionsGenerator.java +++ b/codegen/src/main/java/FunctionsGenerator.java @@ -24,6 +24,16 @@ public class FunctionsGenerator { // These are mapped to int in Java (JNR-FFI represents C enums as int). private final Set enumNames = new HashSet<>(); + // Struct names → SysV-AMD64 size in bytes, from the JSON "structs" section. + // Used to detect functions that return a struct BY VALUE. On the SysV / + // AArch64 ABIs a by-value struct larger than 16 bytes is returned via memory + // (the "sret" convention): the caller allocates the struct and passes a hidden + // pointer as an implicit FIRST argument; the callee fills it and returns it in + // the return register. jnr-ffi cannot bind a by-value struct return mapped to + // a bare Pointer (it mis-reads the return register), so for these we model the + // sret pointer explicitly — see generateAllInterfaces / generateStaticMethod. + private final Map structSizes = new HashMap<>(); + // DateADT → typedef int32_t → Java int // Timestamp → typedef int64_t → Java long (no timezone) // TimestampTz → typedef int64_t → Java long (with timezone) @@ -35,6 +45,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. // @@ -79,7 +134,7 @@ public class FunctionsGenerator { // 1. The interface method returns boolean // 2. There is a parameter whose name is in OUTPUT_RESULT_PARAMS // 3. That parameter's Java type is Pointer - private static final Set OUTPUT_RESULT_PARAMS = Set.of("result"); + private static final Set OUTPUT_RESULT_PARAMS = Set.of("result", "value"); // ------------------------------------------------------------------------- // Entry point @@ -112,6 +167,10 @@ private void run(String inputPath, String outputPath) throws IOException { collectEnumNames(root); System.out.println("Enums collected: " + enumNames); + // 1b. Collect struct layouts so by-value struct returns can be bound + // via the sret calling convention (see structSizes). + collectStructs(root); + // 2. Parse all functions JsonNode functionsNode = root.get("functions"); if (functionsNode == null || !functionsNode.isArray()) { @@ -121,7 +180,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)) { @@ -157,6 +224,69 @@ private void collectEnumNames(JsonNode root) { } } + /** + * Collects struct layouts from the JSON "structs" section and records each + * struct's SysV-AMD64 size. Structs larger than 16 bytes are returned via + * memory (sret) when used as a by-value return type; that is the only fact + * the generator needs (see structSizes / parseFunctionDef). + */ + private void collectStructs(JsonNode root) { + JsonNode structs = root.get("structs"); + if (structs == null || !structs.isArray()) { + return; + } + List registerReturned = new ArrayList<>(); + for (JsonNode s : structs) { + JsonNode nameNode = s.get("name"); + JsonNode fields = s.get("fields"); + if (nameNode == null || fields == null || !fields.isArray()) { + continue; + } + int off = 0, maxAlign = 1; + for (JsonNode f : fields) { + JsonNode ct = f.get("cType"); + int sz = (ct == null) ? 8 : cFieldSize(ct.asText()); + off = ((off + sz - 1) / sz) * sz; // align field to its own size + off += sz; + maxAlign = Math.max(maxAlign, sz); + } + int size = ((off + maxAlign - 1) / maxAlign) * maxAlign; + String nm = nameNode.asText(); + structSizes.put(nm, size); + if (size <= 16) { + registerReturned.add(nm + "(" + size + "B)"); + } + } + System.out.println("Structs collected: " + structSizes.size()); + // No silent caps: a by-value return of a <=16B struct is register-returned + // (not sret) and is NOT handled by the sret path below. Log it so the gap + // is visible rather than silently mis-bound. + if (!registerReturned.isEmpty()) { + System.out.println("NOTE: register-returned structs (<=16B, NOT sret-bound): " + + registerReturned); + } + } + + /** SysV-AMD64 size of a single C field type (pointers and 8-byte scalars = 8). */ + private int cFieldSize(String cType) { + String t = cType.replace("const ", "").trim(); + if (t.endsWith("*")) { + return 8; + } + return switch (t) { + case "double", "float8", "long", "int64", "int64_t", "uint64", + "uint64_t", "size_t", "uintptr_t", "Datum", + "Timestamp", "TimestampTz" -> 8; + case "int", "int32", "int32_t", "uint32", + "uint32_t", "float", "DateADT" -> 4; + case "short", "int16", "int16_t", + "uint16", "uint16_t" -> 2; + case "bool", "char", "int8", "int8_t", + "uint8", "uint8_t" -> 1; + default -> 8; // nested struct/pointer: conservative + }; + } + private FunctionDef parseFunctionDef(JsonNode fn) { String name = fn.get("name").asText(); @@ -198,7 +328,16 @@ private FunctionDef parseFunctionDef(JsonNode fn) { } } - return new FunctionDef(name, retJava, retCType, params); + // By-value struct return: if the return C type names a struct larger than + // 16 bytes, it is returned via memory (sret) and must be bound with an + // explicit hidden first pointer argument (see generateStaticMethod). + int sretStructSize = 0; + Integer sz = structSizes.get(retCType.replace("struct ", "").trim()); + if (sz != null && sz > 16) { + sretStructSize = sz; + } + + return new FunctionDef(name, retJava, retCType, params, sretStructSize); } // ------------------------------------------------------------------------- @@ -266,6 +405,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", @@ -476,10 +619,17 @@ private String generateAllInterfaces(List functions, int partSize) sb.append("\tpublic interface MeosLibraryPart").append(letters[p]).append(" {\n\n"); for (int i = start; i < end; i++) { FunctionDef fn = functions.get(i); + String ifaceParams = buildInterfaceParamList(fn.params); + // sret return: the struct pointer is a hidden FIRST argument. + if (fn.sretStructSize > 0) { + ifaceParams = ifaceParams.isEmpty() + ? "Pointer _sret" + : "Pointer _sret, " + ifaceParams; + } sb.append("\t\t") .append(fn.returnType).append(" ") .append(fn.name).append("(") - .append(buildInterfaceParamList(fn.params)) + .append(ifaceParams) .append(");\n\n"); } sb.append("\t}\n\n"); @@ -554,6 +704,12 @@ private String generateStaticMethod(FunctionDef fn, int partIndex) { OUTPUT_RESULT_PARAMS.contains(p.name) && p.javaType().equals("Pointer")); + // sret pattern: the function returns a >16B struct by value. The wrapper + // allocates the struct buffer internally, passes it as the hidden first + // argument, and returns the filled buffer. Callers read the struct fields + // off the returned Pointer (.getPointer(0), .getInt(offset), …). + boolean isSretStruct = fn.sretStructSize > 0; + // Resolve the ResultStrategy from the C type of the result param. // Determines allocation size, read expression, and wrapper return type. // Previously hardcoded to Pointer/Long.BYTES/getPointer(0), which caused @@ -610,7 +766,7 @@ private String generateStaticMethod(FunctionDef fn, int partIndex) { // --- Internal allocations --- // Determine if we need a Runtime (needed for any Memory.allocateDirect call). - boolean needsRuntime = !internalSizeParams.isEmpty() || hasInternalResult; + boolean needsRuntime = !internalSizeParams.isEmpty() || hasInternalResult || isSretStruct; if (isBoolResultPattern) { // Emit the "boolean out" sentinel variable first, @@ -630,6 +786,12 @@ private String generateStaticMethod(FunctionDef fn, int partIndex) { .append(resultStrategy.allocExpr()).append(");\n"); } + // Allocate the hidden sret struct buffer. + if (isSretStruct) { + sb.append("\t\tPointer _sret = Memory.allocateDirect(runtime, ") + .append(fn.sretStructSize).append(");\n"); + } + // Allocate hidden size_out pointer(s). for (String paramName : internalSizeParams) { sb.append("\t\tPointer ").append(paramName) @@ -653,11 +815,15 @@ private String generateStaticMethod(FunctionDef fn, int partIndex) { // --- Build argument list for the interface call --- // Hidden params (size_out, result) are still forwarded by their local name. StringJoiner args = new StringJoiner(", "); + if (isSretStruct) { + args.add("_sret"); // hidden sret buffer is the first native argument + } for (ParamDef p : fn.params) { - if (OUTPUT_SIZE_PARAMS.contains(p.name) - || (isBoolResultPattern && OUTPUT_RESULT_PARAMS.contains(p.name) - && p.javaType().equals("Pointer"))) { - args.add(p.name); // pass locally-allocated pointer + if (OUTPUT_SIZE_PARAMS.contains(p.name)) { + args.add(p.name); // pass locally-allocated size pointer + } else if (isBoolResultPattern && OUTPUT_RESULT_PARAMS.contains(p.name) + && p.javaType().equals("Pointer")) { + args.add("result"); // pass locally-allocated result buffer (always named "result") } else { boolean converted = isTemporalCType(p.cType()); args.add(converted ? p.name + "_new" : p.name); @@ -687,6 +853,12 @@ private String generateStaticMethod(FunctionDef fn, int partIndex) { sb.append("\t\tMeosErrorHandler.checkError();\n"); sb.append("\t\treturn out ? result : null;\n"); } + } else if (isSretStruct) { + // The native function fills _sret and also returns it in the return + // register; we keep our own buffer (known size) and return that. + sb.append("\t\t").append(call).append("\n"); + sb.append("\t\tMeosErrorHandler.checkError();\n"); + sb.append("\t\treturn _sret;\n"); } else if (fn.returnType.equals("void")) { sb.append("\t\t").append(call).append("\n"); sb.append("\t\tMeosErrorHandler.checkError();\n"); @@ -743,7 +915,10 @@ private String buildWrapperParamList(List params) { // retCType field so generateStaticMethod can decide the // wrapper return type independently of the interface return type. - private record FunctionDef(String name, String returnType, String retCType, List params) {} + // sretStructSize > 0 marks a by-value struct return bound via the sret + // convention (hidden first pointer arg of that many bytes); 0 otherwise. + private record FunctionDef(String name, String returnType, String retCType, + List params, int sretStructSize) {} // Added cType field so each param's original C type is // available when generating conversion code in the static wrapper. diff --git a/codegen/src/test/java/FunctionsGeneratorTest.java b/codegen/src/test/java/FunctionsGeneratorTest.java index e8d911669..63e997c9d 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 000000000..3e89f981c --- /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 000000000..dcf84d3a8 --- /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 000000000..1fff439fa --- /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 000000000..6f546f002 --- /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 dd37ac3ac..50255343f 100644 --- a/jmeos-core/pom.xml +++ b/jmeos-core/pom.xml @@ -240,6 +240,57 @@ + + + org.codehaus.mojo + exec-maven-plugin + 3.1.0 + + + generate-meos-facade + generate-sources + + java + + + FunctionsGenerator + + ${project.basedir}/../codegen/target/classes + + + ${project.basedir}/../codegen/input/meos-idl.json + ${project.build.directory}/generated-sources/jmeos/functions/GeneratedFunctions.java + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.5.0 + + + add-generated-facade + generate-sources + + add-source + + + + ${project.build.directory}/generated-sources/jmeos + + + + + + org.apache.maven.plugins maven-compiler-plugin diff --git a/jmeos-core/src/libmeos.so b/jmeos-core/src/libmeos.so index 9cc9bdbd4..9a57f4f40 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 98385204f..000000000 --- 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/functions/functions.java b/jmeos-core/src/main/java/functions/functions.java deleted file mode 100644 index caff99ddf..000000000 --- a/jmeos-core/src/main/java/functions/functions.java +++ /dev/null @@ -1,15448 +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 functions { - public interface MeosLibrary { - - String libraryPath = "libmeos.so"; - - MeosLibrary INSTANCE = JarLibraryLoader.create(MeosLibrary.class, libraryPath).getLibraryInstance(); - - MeosLibrary meos = MeosLibrary.INSTANCE; - - 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); - - 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); - - 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); - - 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); - - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_intspan() { - var _result = MeosLibrary.meos.rtree_create_intspan(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_bigintspan() { - var _result = MeosLibrary.meos.rtree_create_bigintspan(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_floatspan() { - var _result = MeosLibrary.meos.rtree_create_floatspan(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_datespan() { - var _result = MeosLibrary.meos.rtree_create_datespan(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_tstzspan() { - var _result = MeosLibrary.meos.rtree_create_tstzspan(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_tbox() { - var _result = MeosLibrary.meos.rtree_create_tbox(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer rtree_create_stbox() { - var _result = MeosLibrary.meos.rtree_create_stbox(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void rtree_free(Pointer rtree) { - MeosLibrary.meos.rtree_free(rtree); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void rtree_insert(Pointer rtree, Pointer box, int id) { - MeosLibrary.meos.rtree_insert(rtree, box, id); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void rtree_insert_temporal(Pointer rtree, Pointer temp, int id) { - MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.rtree_search_temporal(rtree, op, temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void meos_error(int errlevel, int errcode, String format) { - MeosLibrary.meos.meos_error(errlevel, errcode, format); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static int meos_errno() { - var _result = MeosLibrary.meos.meos_errno(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int meos_errno_set(int err) { - var _result = MeosLibrary.meos.meos_errno_set(err); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int meos_errno_restore(int err) { - var _result = MeosLibrary.meos.meos_errno_restore(err); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int meos_errno_reset() { - var _result = MeosLibrary.meos.meos_errno_reset(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void meos_initialize_timezone(String name) { - MeosLibrary.meos.meos_initialize_timezone(name); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_initialize_error_handler(error_handler_fn err_handler) { - MeosLibrary.meos.meos_initialize_error_handler(err_handler); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_finalize_timezone() { - MeosLibrary.meos.meos_finalize_timezone(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_finalize_projsrs() { - MeosLibrary.meos.meos_finalize_projsrs(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_finalize_ways() { - MeosLibrary.meos.meos_finalize_ways(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static boolean meos_set_datestyle(String newval, Pointer extra) { - var _result = MeosLibrary.meos.meos_set_datestyle(newval, extra); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean meos_set_intervalstyle(String newval, int extra) { - var _result = MeosLibrary.meos.meos_set_intervalstyle(newval, extra); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String meos_get_datestyle() { - var _result = MeosLibrary.meos.meos_get_datestyle(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String meos_get_intervalstyle() { - var _result = MeosLibrary.meos.meos_get_intervalstyle(); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static void meos_set_spatial_ref_sys_csv(String path) { - MeosLibrary.meos.meos_set_spatial_ref_sys_csv(path); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_initialize() { - MeosLibrary.meos.meos_initialize(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static void meos_finalize() { - MeosLibrary.meos.meos_finalize(); - MeosErrorHandler.checkError(); - } - - @SuppressWarnings("unused") - public static int add_date_int(int d, int days) { - var _result = MeosLibrary.meos.add_date_int(d, days); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_interval_interval(Pointer interv1, Pointer interv2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.bool_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String bool_out(boolean b) { - var _result = MeosLibrary.meos.bool_out(b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer cstring2text(String str) { - var _result = MeosLibrary.meos.cstring2text(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static LocalDateTime date_to_timestamp(int dateVal) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.float_exp(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_ln(double d) { - var _result = MeosLibrary.meos.float_ln(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_log10(double d) { - var _result = MeosLibrary.meos.float_log10(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String float8_out(double d, int maxdd) { - var _result = MeosLibrary.meos.float8_out(d, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_round(double d, int maxdd) { - var _result = MeosLibrary.meos.float_round(d, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int int32_cmp(int l, int r) { - var _result = MeosLibrary.meos.int32_cmp(l, r); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int int64_cmp(long l, long r) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.minus_date_date(d1, d2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int minus_date_int(int d, int days) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.mul_interval_double(interv, factor); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int pg_date_in(String str) { - var _result = MeosLibrary.meos.pg_date_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String pg_date_out(int d) { - var _result = MeosLibrary.meos.pg_date_out(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int pg_interval_cmp(Pointer interv1, Pointer interv2) { - var _result = MeosLibrary.meos.pg_interval_cmp(interv1, interv2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer pg_interval_in(String str, int typmod) { - var _result = MeosLibrary.meos.pg_interval_in(str, typmod); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String pg_interval_out(Pointer interv) { - var _result = MeosLibrary.meos.pg_interval_out(interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static LocalDateTime pg_timestamp_in(String str, int typmod) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.pg_timestamp_out(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime pg_timestamptz_in(String str, int typmod) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.pg_timestamptz_out(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String text2cstring(Pointer txt) { - var _result = MeosLibrary.meos.text2cstring(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int text_cmp(Pointer txt1, Pointer txt2) { - var _result = MeosLibrary.meos.text_cmp(txt1, txt2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_copy(Pointer txt) { - var _result = MeosLibrary.meos.text_copy(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_in(String str) { - var _result = MeosLibrary.meos.text_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_initcap(Pointer txt) { - var _result = MeosLibrary.meos.text_initcap(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_lower(Pointer txt) { - var _result = MeosLibrary.meos.text_lower(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String text_out(Pointer txt) { - var _result = MeosLibrary.meos.text_out(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_upper(Pointer txt) { - var _result = MeosLibrary.meos.text_upper(txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_text_text(Pointer txt1, Pointer txt2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.timestamptz_to_date(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintset_in(String str) { - var _result = MeosLibrary.meos.bigintset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String bigintset_out(Pointer set) { - var _result = MeosLibrary.meos.bigintset_out(set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspan_expand(Pointer s, long value) { - var _result = MeosLibrary.meos.bigintspan_expand(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspan_in(String str) { - var _result = MeosLibrary.meos.bigintspan_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String bigintspan_out(Pointer s) { - var _result = MeosLibrary.meos.bigintspan_out(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintspanset_in(String str) { - var _result = MeosLibrary.meos.bigintspanset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String bigintspanset_out(Pointer ss) { - var _result = MeosLibrary.meos.bigintspanset_out(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer dateset_in(String str) { - var _result = MeosLibrary.meos.dateset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String dateset_out(Pointer s) { - var _result = MeosLibrary.meos.dateset_out(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespan_in(String str) { - var _result = MeosLibrary.meos.datespan_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String datespan_out(Pointer s) { - var _result = MeosLibrary.meos.datespan_out(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_in(String str) { - var _result = MeosLibrary.meos.datespanset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String datespanset_out(Pointer ss) { - var _result = MeosLibrary.meos.datespanset_out(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_in(String str) { - var _result = MeosLibrary.meos.floatset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String floatset_out(Pointer set, int maxdd) { - var _result = MeosLibrary.meos.floatset_out(set, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_expand(Pointer s, double value) { - var _result = MeosLibrary.meos.floatspan_expand(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_in(String str) { - var _result = MeosLibrary.meos.floatspan_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String floatspan_out(Pointer s, int maxdd) { - var _result = MeosLibrary.meos.floatspan_out(s, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_in(String str) { - var _result = MeosLibrary.meos.floatspanset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String floatspanset_out(Pointer ss, int maxdd) { - var _result = MeosLibrary.meos.floatspanset_out(ss, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intset_in(String str) { - var _result = MeosLibrary.meos.intset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String intset_out(Pointer set) { - var _result = MeosLibrary.meos.intset_out(set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspan_expand(Pointer s, int value) { - var _result = MeosLibrary.meos.intspan_expand(s, value); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspan_in(String str) { - var _result = MeosLibrary.meos.intspan_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String intspan_out(Pointer s) { - var _result = MeosLibrary.meos.intspan_out(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspanset_in(String str) { - var _result = MeosLibrary.meos.intspanset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String intspanset_out(Pointer ss) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.set_as_wkb(s, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_from_hexwkb(String hexwkb) { - var _result = MeosLibrary.meos.set_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_from_wkb(Pointer wkb, long size) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.span_as_wkb(s, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_from_hexwkb(String hexwkb) { - var _result = MeosLibrary.meos.span_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_from_wkb(Pointer wkb, long size) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.spanset_as_wkb(ss, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_from_hexwkb(String hexwkb) { - var _result = MeosLibrary.meos.spanset_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_from_wkb(Pointer wkb, long size) { - var _result = MeosLibrary.meos.spanset_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_in(String str) { - var _result = MeosLibrary.meos.textset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String textset_out(Pointer set) { - var _result = MeosLibrary.meos.textset_out(set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_in(String str) { - var _result = MeosLibrary.meos.tstzset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tstzset_out(Pointer set) { - var _result = MeosLibrary.meos.tstzset_out(set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_in(String str) { - var _result = MeosLibrary.meos.tstzspan_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tstzspan_out(Pointer s) { - var _result = MeosLibrary.meos.tstzspan_out(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_in(String str) { - var _result = MeosLibrary.meos.tstzspanset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tstzspanset_out(Pointer ss) { - var _result = MeosLibrary.meos.tstzspanset_out(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigintset_make(Pointer values, int count) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.intspan_make(lower, upper, lower_inc, upper_inc); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_copy(Pointer s) { - var _result = MeosLibrary.meos.set_copy(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_copy(Pointer s) { - var _result = MeosLibrary.meos.span_copy(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_copy(Pointer ss) { - var _result = MeosLibrary.meos.spanset_copy(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_make(Pointer spans, int count) { - var _result = MeosLibrary.meos.spanset_make(spans, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_make(Pointer values, int count) { - var _result = MeosLibrary.meos.textset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_make(Pointer values, int count) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.bigint_to_set(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigint_to_span(int i) { - var _result = MeosLibrary.meos.bigint_to_span(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigint_to_spanset(int i) { - var _result = MeosLibrary.meos.bigint_to_spanset(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer date_to_set(int d) { - var _result = MeosLibrary.meos.date_to_set(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer date_to_span(int d) { - var _result = MeosLibrary.meos.date_to_span(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer date_to_spanset(int d) { - var _result = MeosLibrary.meos.date_to_spanset(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer dateset_to_tstzset(Pointer s) { - var _result = MeosLibrary.meos.dateset_to_tstzset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespan_to_tstzspan(Pointer s) { - var _result = MeosLibrary.meos.datespan_to_tstzspan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_to_tstzspanset(Pointer ss) { - var _result = MeosLibrary.meos.datespanset_to_tstzspanset(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_to_set(double d) { - var _result = MeosLibrary.meos.float_to_set(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_to_span(double d) { - var _result = MeosLibrary.meos.float_to_span(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_to_spanset(double d) { - var _result = MeosLibrary.meos.float_to_spanset(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_to_intset(Pointer s) { - var _result = MeosLibrary.meos.floatset_to_intset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_to_intspan(Pointer s) { - var _result = MeosLibrary.meos.floatspan_to_intspan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_to_intspanset(Pointer ss) { - var _result = MeosLibrary.meos.floatspanset_to_intspanset(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_to_set(int i) { - var _result = MeosLibrary.meos.int_to_set(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_to_span(int i) { - var _result = MeosLibrary.meos.int_to_span(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_to_spanset(int i) { - var _result = MeosLibrary.meos.int_to_spanset(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intset_to_floatset(Pointer s) { - var _result = MeosLibrary.meos.intset_to_floatset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspan_to_floatspan(Pointer s) { - var _result = MeosLibrary.meos.intspan_to_floatspan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intspanset_to_floatspanset(Pointer ss) { - var _result = MeosLibrary.meos.intspanset_to_floatspanset(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_to_span(Pointer s) { - var _result = MeosLibrary.meos.set_to_span(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_to_spanset(Pointer s) { - var _result = MeosLibrary.meos.set_to_spanset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_to_spanset(Pointer s) { - var _result = MeosLibrary.meos.span_to_spanset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_to_set(Pointer txt) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.timestamptz_to_spanset(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_to_dateset(Pointer s) { - var _result = MeosLibrary.meos.tstzset_to_dateset(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_to_datespan(Pointer s) { - var _result = MeosLibrary.meos.tstzspan_to_datespan(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_to_datespanset(Pointer ss) { - var _result = MeosLibrary.meos.tstzspanset_to_datespanset(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintset_end_value(Pointer s) { - var _result = MeosLibrary.meos.bigintset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintset_start_value(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.bigintset_value_n(s, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer bigintset_values(Pointer s) { - var _result = MeosLibrary.meos.bigintset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspan_lower(Pointer s) { - var _result = MeosLibrary.meos.bigintspan_lower(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspan_upper(Pointer s) { - var _result = MeosLibrary.meos.bigintspan_upper(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspan_width(Pointer s) { - var _result = MeosLibrary.meos.bigintspan_width(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspanset_lower(Pointer ss) { - var _result = MeosLibrary.meos.bigintspanset_lower(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspanset_upper(Pointer ss) { - var _result = MeosLibrary.meos.bigintspanset_upper(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long bigintspanset_width(Pointer ss, boolean boundspan) { - var _result = MeosLibrary.meos.bigintspanset_width(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int dateset_end_value(Pointer s) { - var _result = MeosLibrary.meos.dateset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int dateset_start_value(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.dateset_value_n(s, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer dateset_values(Pointer s) { - var _result = MeosLibrary.meos.dateset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespan_duration(Pointer s) { - var _result = MeosLibrary.meos.datespan_duration(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datespan_lower(Pointer s) { - var _result = MeosLibrary.meos.datespan_lower(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datespan_upper(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.datespanset_date_n(ss, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_dates(Pointer ss) { - var _result = MeosLibrary.meos.datespanset_dates(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer datespanset_duration(Pointer ss, boolean boundspan) { - var _result = MeosLibrary.meos.datespanset_duration(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datespanset_end_date(Pointer ss) { - var _result = MeosLibrary.meos.datespanset_end_date(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datespanset_num_dates(Pointer ss) { - var _result = MeosLibrary.meos.datespanset_num_dates(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int datespanset_start_date(Pointer ss) { - var _result = MeosLibrary.meos.datespanset_start_date(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatset_end_value(Pointer s) { - var _result = MeosLibrary.meos.floatset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatset_start_value(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.floatset_value_n(s, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer floatset_values(Pointer s) { - var _result = MeosLibrary.meos.floatset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspan_lower(Pointer s) { - var _result = MeosLibrary.meos.floatspan_lower(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspan_upper(Pointer s) { - var _result = MeosLibrary.meos.floatspan_upper(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspan_width(Pointer s) { - var _result = MeosLibrary.meos.floatspan_width(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspanset_lower(Pointer ss) { - var _result = MeosLibrary.meos.floatspanset_lower(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspanset_upper(Pointer ss) { - var _result = MeosLibrary.meos.floatspanset_upper(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double floatspanset_width(Pointer ss, boolean boundspan) { - var _result = MeosLibrary.meos.floatspanset_width(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intset_end_value(Pointer s) { - var _result = MeosLibrary.meos.intset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intset_start_value(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.intset_value_n(s, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer intset_values(Pointer s) { - var _result = MeosLibrary.meos.intset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspan_lower(Pointer s) { - var _result = MeosLibrary.meos.intspan_lower(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspan_upper(Pointer s) { - var _result = MeosLibrary.meos.intspan_upper(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspan_width(Pointer s) { - var _result = MeosLibrary.meos.intspan_width(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspanset_lower(Pointer ss) { - var _result = MeosLibrary.meos.intspanset_lower(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspanset_upper(Pointer ss) { - var _result = MeosLibrary.meos.intspanset_upper(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int intspanset_width(Pointer ss, boolean boundspan) { - var _result = MeosLibrary.meos.intspanset_width(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int set_hash(Pointer s) { - var _result = MeosLibrary.meos.set_hash(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long set_hash_extended(Pointer s, long seed) { - var _result = MeosLibrary.meos.set_hash_extended(s, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int set_num_values(Pointer s) { - var _result = MeosLibrary.meos.set_num_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int span_hash(Pointer s) { - var _result = MeosLibrary.meos.span_hash(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long span_hash_extended(Pointer s, long seed) { - var _result = MeosLibrary.meos.span_hash_extended(s, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_lower_inc(Pointer s) { - var _result = MeosLibrary.meos.span_lower_inc(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_upper_inc(Pointer s) { - var _result = MeosLibrary.meos.span_upper_inc(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_end_span(Pointer ss) { - var _result = MeosLibrary.meos.spanset_end_span(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spanset_hash(Pointer ss) { - var _result = MeosLibrary.meos.spanset_hash(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long spanset_hash_extended(Pointer ss, long seed) { - var _result = MeosLibrary.meos.spanset_hash_extended(ss, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_lower_inc(Pointer ss) { - var _result = MeosLibrary.meos.spanset_lower_inc(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spanset_num_spans(Pointer ss) { - var _result = MeosLibrary.meos.spanset_num_spans(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_span(Pointer ss) { - var _result = MeosLibrary.meos.spanset_span(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_span_n(Pointer ss, int i) { - var _result = MeosLibrary.meos.spanset_span_n(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_spanarr(Pointer ss) { - var _result = MeosLibrary.meos.spanset_spanarr(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_start_span(Pointer ss) { - var _result = MeosLibrary.meos.spanset_start_span(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_upper_inc(Pointer ss) { - var _result = MeosLibrary.meos.spanset_upper_inc(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_end_value(Pointer s) { - var _result = MeosLibrary.meos.textset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_start_value(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.textset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzset_end_value(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tstzset_value_n(s, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_values(Pointer s) { - var _result = MeosLibrary.meos.tstzset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_duration(Pointer s) { - var _result = MeosLibrary.meos.tstzspan_duration(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzspan_lower(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tstzspanset_duration(ss, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_end_timestamptz(Pointer ss) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tstzspanset_num_timestamps(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_start_timestamptz(Pointer ss) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tstzspanset_timestamptz_n(ss, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static OffsetDateTime tstzspanset_upper(Pointer ss) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.datespanset_shift_scale(ss, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_ceil(Pointer s) { - var _result = MeosLibrary.meos.floatset_ceil(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_degrees(Pointer s, boolean normalize) { - var _result = MeosLibrary.meos.floatset_degrees(s, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_floor(Pointer s) { - var _result = MeosLibrary.meos.floatset_floor(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatset_radians(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.floatset_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_ceil(Pointer s) { - var _result = MeosLibrary.meos.floatspan_ceil(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_degrees(Pointer s, boolean normalize) { - var _result = MeosLibrary.meos.floatspan_degrees(s, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_floor(Pointer s) { - var _result = MeosLibrary.meos.floatspan_floor(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_radians(Pointer s) { - var _result = MeosLibrary.meos.floatspan_radians(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspan_round(Pointer s, int maxdd) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.floatspan_shift_scale(s, shift, width, hasshift, haswidth); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_ceil(Pointer ss) { - var _result = MeosLibrary.meos.floatspanset_ceil(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_floor(Pointer ss) { - var _result = MeosLibrary.meos.floatspanset_floor(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_degrees(Pointer ss, boolean normalize) { - var _result = MeosLibrary.meos.floatspanset_degrees(ss, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_radians(Pointer ss) { - var _result = MeosLibrary.meos.floatspanset_radians(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer floatspanset_round(Pointer ss, int maxdd) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tstzspan_expand(s, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_round(Pointer s, int maxdd) { - var _result = MeosLibrary.meos.set_round(s, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_text_textset(Pointer txt, Pointer s) { - var _result = MeosLibrary.meos.textcat_text_textset(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_textset_text(Pointer s, Pointer txt) { - var _result = MeosLibrary.meos.textcat_textset_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_initcap(Pointer s) { - var _result = MeosLibrary.meos.textset_initcap(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_lower(Pointer s) { - var _result = MeosLibrary.meos.textset_lower(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textset_upper(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tstzspanset_tprecision(ss, duration, torigin_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int set_cmp(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.set_cmp(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_eq(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.set_eq(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_ge(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.set_ge(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_gt(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.set_gt(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_le(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.set_le(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_lt(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.set_lt(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean set_ne(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.set_ne(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int span_cmp(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.span_cmp(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_eq(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.span_eq(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_ge(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.span_ge(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_gt(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.span_gt(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_le(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.span_le(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_lt(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.span_lt(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean span_ne(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.span_ne(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spanset_cmp(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.spanset_cmp(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_eq(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.spanset_eq(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_ge(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.spanset_ge(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_gt(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.spanset_gt(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_le(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.spanset_le(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_lt(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.spanset_lt(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean spanset_ne(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.spanset_ne(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_spans(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.set_split_n_spans(s, span_count, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_spans(Pointer ss) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.adjacent_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_date(Pointer s, int d) { - var _result = MeosLibrary.meos.adjacent_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_float(Pointer s, double d) { - var _result = MeosLibrary.meos.adjacent_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_int(Pointer s, int i) { - var _result = MeosLibrary.meos.adjacent_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.adjacent_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.adjacent_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_bigint(Pointer ss, long i) { - var _result = MeosLibrary.meos.adjacent_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_date(Pointer ss, int d) { - var _result = MeosLibrary.meos.adjacent_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_float(Pointer ss, double d) { - var _result = MeosLibrary.meos.adjacent_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_int(Pointer ss, int i) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.adjacent_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.adjacent_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.adjacent_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_bigint_set(long i, Pointer s) { - var _result = MeosLibrary.meos.contained_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_bigint_span(long i, Pointer s) { - var _result = MeosLibrary.meos.contained_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_bigint_spanset(long i, Pointer ss) { - var _result = MeosLibrary.meos.contained_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_date_set(int d, Pointer s) { - var _result = MeosLibrary.meos.contained_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_date_span(int d, Pointer s) { - var _result = MeosLibrary.meos.contained_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_date_spanset(int d, Pointer ss) { - var _result = MeosLibrary.meos.contained_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_float_set(double d, Pointer s) { - var _result = MeosLibrary.meos.contained_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_float_span(double d, Pointer s) { - var _result = MeosLibrary.meos.contained_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_float_spanset(double d, Pointer ss) { - var _result = MeosLibrary.meos.contained_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_int_set(int i, Pointer s) { - var _result = MeosLibrary.meos.contained_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_int_span(int i, Pointer s) { - var _result = MeosLibrary.meos.contained_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_int_spanset(int i, Pointer ss) { - var _result = MeosLibrary.meos.contained_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_set_set(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.contained_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.contained_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.contained_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.contained_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.contained_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_text_set(Pointer txt, Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.contained_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.contains_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_date(Pointer s, int d) { - var _result = MeosLibrary.meos.contains_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_float(Pointer s, double d) { - var _result = MeosLibrary.meos.contains_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_int(Pointer s, int i) { - var _result = MeosLibrary.meos.contains_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_set(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.contains_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_text(Pointer s, Pointer t) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.contains_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.contains_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_date(Pointer s, int d) { - var _result = MeosLibrary.meos.contains_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_float(Pointer s, double d) { - var _result = MeosLibrary.meos.contains_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_int(Pointer s, int i) { - var _result = MeosLibrary.meos.contains_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.contains_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.contains_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_bigint(Pointer ss, long i) { - var _result = MeosLibrary.meos.contains_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_date(Pointer ss, int d) { - var _result = MeosLibrary.meos.contains_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_float(Pointer ss, double d) { - var _result = MeosLibrary.meos.contains_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_int(Pointer ss, int i) { - var _result = MeosLibrary.meos.contains_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.contains_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.contains_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_set_set(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.overlaps_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.overlaps_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.overlaps_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.overlaps_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.overlaps_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_date_set(int d, Pointer s) { - var _result = MeosLibrary.meos.after_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_date_span(int d, Pointer s) { - var _result = MeosLibrary.meos.after_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_date_spanset(int d, Pointer ss) { - var _result = MeosLibrary.meos.after_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_set_date(Pointer s, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.after_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_span_date(Pointer s, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.after_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_spanset_date(Pointer ss, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.after_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_date_set(int d, Pointer s) { - var _result = MeosLibrary.meos.before_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_date_span(int d, Pointer s) { - var _result = MeosLibrary.meos.before_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_date_spanset(int d, Pointer ss) { - var _result = MeosLibrary.meos.before_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_set_date(Pointer s, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.before_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_span_date(Pointer s, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.before_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_spanset_date(Pointer ss, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.before_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_bigint_set(long i, Pointer s) { - var _result = MeosLibrary.meos.left_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_bigint_span(long i, Pointer s) { - var _result = MeosLibrary.meos.left_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_bigint_spanset(long i, Pointer ss) { - var _result = MeosLibrary.meos.left_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_float_set(double d, Pointer s) { - var _result = MeosLibrary.meos.left_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_float_span(double d, Pointer s) { - var _result = MeosLibrary.meos.left_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_float_spanset(double d, Pointer ss) { - var _result = MeosLibrary.meos.left_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_int_set(int i, Pointer s) { - var _result = MeosLibrary.meos.left_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_int_span(int i, Pointer s) { - var _result = MeosLibrary.meos.left_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_int_spanset(int i, Pointer ss) { - var _result = MeosLibrary.meos.left_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.left_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_float(Pointer s, double d) { - var _result = MeosLibrary.meos.left_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_int(Pointer s, int i) { - var _result = MeosLibrary.meos.left_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_set(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.left_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_set_text(Pointer s, Pointer txt) { - var _result = MeosLibrary.meos.left_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.left_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_float(Pointer s, double d) { - var _result = MeosLibrary.meos.left_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_int(Pointer s, int i) { - var _result = MeosLibrary.meos.left_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.left_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.left_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_bigint(Pointer ss, long i) { - var _result = MeosLibrary.meos.left_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_float(Pointer ss, double d) { - var _result = MeosLibrary.meos.left_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_int(Pointer ss, int i) { - var _result = MeosLibrary.meos.left_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.left_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.left_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_text_set(Pointer txt, Pointer s) { - var _result = MeosLibrary.meos.left_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_date_set(int d, Pointer s) { - var _result = MeosLibrary.meos.overafter_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_date_span(int d, Pointer s) { - var _result = MeosLibrary.meos.overafter_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_date_spanset(int d, Pointer ss) { - var _result = MeosLibrary.meos.overafter_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_set_date(Pointer s, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.overafter_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_span_date(Pointer s, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.overafter_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_spanset_date(Pointer ss, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.overafter_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_date_set(int d, Pointer s) { - var _result = MeosLibrary.meos.overbefore_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_date_span(int d, Pointer s) { - var _result = MeosLibrary.meos.overbefore_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_date_spanset(int d, Pointer ss) { - var _result = MeosLibrary.meos.overbefore_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_set_date(Pointer s, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.overbefore_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_span_date(Pointer s, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.overbefore_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_spanset_date(Pointer ss, int d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.overbefore_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_bigint_set(long i, Pointer s) { - var _result = MeosLibrary.meos.overleft_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_bigint_span(long i, Pointer s) { - var _result = MeosLibrary.meos.overleft_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_bigint_spanset(long i, Pointer ss) { - var _result = MeosLibrary.meos.overleft_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_float_set(double d, Pointer s) { - var _result = MeosLibrary.meos.overleft_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_float_span(double d, Pointer s) { - var _result = MeosLibrary.meos.overleft_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_float_spanset(double d, Pointer ss) { - var _result = MeosLibrary.meos.overleft_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_int_set(int i, Pointer s) { - var _result = MeosLibrary.meos.overleft_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_int_span(int i, Pointer s) { - var _result = MeosLibrary.meos.overleft_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_int_spanset(int i, Pointer ss) { - var _result = MeosLibrary.meos.overleft_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.overleft_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_float(Pointer s, double d) { - var _result = MeosLibrary.meos.overleft_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_int(Pointer s, int i) { - var _result = MeosLibrary.meos.overleft_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_set(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.overleft_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_set_text(Pointer s, Pointer txt) { - var _result = MeosLibrary.meos.overleft_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.overleft_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_float(Pointer s, double d) { - var _result = MeosLibrary.meos.overleft_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_int(Pointer s, int i) { - var _result = MeosLibrary.meos.overleft_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.overleft_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.overleft_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_bigint(Pointer ss, long i) { - var _result = MeosLibrary.meos.overleft_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_float(Pointer ss, double d) { - var _result = MeosLibrary.meos.overleft_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_int(Pointer ss, int i) { - var _result = MeosLibrary.meos.overleft_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.overleft_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.overleft_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_text_set(Pointer txt, Pointer s) { - var _result = MeosLibrary.meos.overleft_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_bigint_set(long i, Pointer s) { - var _result = MeosLibrary.meos.overright_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_bigint_span(long i, Pointer s) { - var _result = MeosLibrary.meos.overright_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_bigint_spanset(long i, Pointer ss) { - var _result = MeosLibrary.meos.overright_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_float_set(double d, Pointer s) { - var _result = MeosLibrary.meos.overright_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_float_span(double d, Pointer s) { - var _result = MeosLibrary.meos.overright_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_float_spanset(double d, Pointer ss) { - var _result = MeosLibrary.meos.overright_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_int_set(int i, Pointer s) { - var _result = MeosLibrary.meos.overright_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_int_span(int i, Pointer s) { - var _result = MeosLibrary.meos.overright_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_int_spanset(int i, Pointer ss) { - var _result = MeosLibrary.meos.overright_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.overright_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_float(Pointer s, double d) { - var _result = MeosLibrary.meos.overright_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_int(Pointer s, int i) { - var _result = MeosLibrary.meos.overright_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_set(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.overright_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_set_text(Pointer s, Pointer txt) { - var _result = MeosLibrary.meos.overright_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.overright_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_float(Pointer s, double d) { - var _result = MeosLibrary.meos.overright_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_int(Pointer s, int i) { - var _result = MeosLibrary.meos.overright_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.overright_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.overright_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_bigint(Pointer ss, long i) { - var _result = MeosLibrary.meos.overright_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_float(Pointer ss, double d) { - var _result = MeosLibrary.meos.overright_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_int(Pointer ss, int i) { - var _result = MeosLibrary.meos.overright_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.overright_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.overright_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_text_set(Pointer txt, Pointer s) { - var _result = MeosLibrary.meos.overright_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_bigint_set(long i, Pointer s) { - var _result = MeosLibrary.meos.right_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_bigint_span(long i, Pointer s) { - var _result = MeosLibrary.meos.right_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_bigint_spanset(long i, Pointer ss) { - var _result = MeosLibrary.meos.right_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_float_set(double d, Pointer s) { - var _result = MeosLibrary.meos.right_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_float_span(double d, Pointer s) { - var _result = MeosLibrary.meos.right_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_float_spanset(double d, Pointer ss) { - var _result = MeosLibrary.meos.right_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_int_set(int i, Pointer s) { - var _result = MeosLibrary.meos.right_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_int_span(int i, Pointer s) { - var _result = MeosLibrary.meos.right_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_int_spanset(int i, Pointer ss) { - var _result = MeosLibrary.meos.right_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.right_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_float(Pointer s, double d) { - var _result = MeosLibrary.meos.right_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_int(Pointer s, int i) { - var _result = MeosLibrary.meos.right_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_set(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.right_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_set_text(Pointer s, Pointer txt) { - var _result = MeosLibrary.meos.right_set_text(s, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.right_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_float(Pointer s, double d) { - var _result = MeosLibrary.meos.right_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_int(Pointer s, int i) { - var _result = MeosLibrary.meos.right_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.right_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.right_span_spanset(s, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_bigint(Pointer ss, long i) { - var _result = MeosLibrary.meos.right_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_float(Pointer ss, double d) { - var _result = MeosLibrary.meos.right_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_int(Pointer ss, int i) { - var _result = MeosLibrary.meos.right_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.right_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.right_spanset_spanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_text_set(Pointer txt, Pointer s) { - var _result = MeosLibrary.meos.right_text_set(txt, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_bigint_set(long i, Pointer s) { - var _result = MeosLibrary.meos.intersection_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_date_set(int d, Pointer s) { - var _result = MeosLibrary.meos.intersection_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_float_set(double d, Pointer s) { - var _result = MeosLibrary.meos.intersection_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_int_set(int i, Pointer s) { - var _result = MeosLibrary.meos.intersection_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.intersection_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_date(Pointer s, int d) { - var _result = MeosLibrary.meos.intersection_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_float(Pointer s, double d) { - var _result = MeosLibrary.meos.intersection_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_int(Pointer s, int i) { - var _result = MeosLibrary.meos.intersection_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_set(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.intersection_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_text(Pointer s, Pointer txt) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.intersection_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.intersection_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_date(Pointer s, int d) { - var _result = MeosLibrary.meos.intersection_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_float(Pointer s, double d) { - var _result = MeosLibrary.meos.intersection_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_int(Pointer s, int i) { - var _result = MeosLibrary.meos.intersection_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.intersection_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.intersection_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_bigint(Pointer ss, long i) { - var _result = MeosLibrary.meos.intersection_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_date(Pointer ss, int d) { - var _result = MeosLibrary.meos.intersection_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_float(Pointer ss, double d) { - var _result = MeosLibrary.meos.intersection_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_int(Pointer ss, int i) { - var _result = MeosLibrary.meos.intersection_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.intersection_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.intersection_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_text_set(Pointer txt, Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.intersection_timestamptz_set(t_new, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_bigint_set(long i, Pointer s) { - var _result = MeosLibrary.meos.minus_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_bigint_span(long i, Pointer s) { - var _result = MeosLibrary.meos.minus_bigint_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_bigint_spanset(long i, Pointer ss) { - var _result = MeosLibrary.meos.minus_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_date_set(int d, Pointer s) { - var _result = MeosLibrary.meos.minus_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_date_span(int d, Pointer s) { - var _result = MeosLibrary.meos.minus_date_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_date_spanset(int d, Pointer ss) { - var _result = MeosLibrary.meos.minus_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_float_set(double d, Pointer s) { - var _result = MeosLibrary.meos.minus_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_float_span(double d, Pointer s) { - var _result = MeosLibrary.meos.minus_float_span(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_float_spanset(double d, Pointer ss) { - var _result = MeosLibrary.meos.minus_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_int_set(int i, Pointer s) { - var _result = MeosLibrary.meos.minus_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_int_span(int i, Pointer s) { - var _result = MeosLibrary.meos.minus_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_int_spanset(int i, Pointer ss) { - var _result = MeosLibrary.meos.minus_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.minus_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_date(Pointer s, int d) { - var _result = MeosLibrary.meos.minus_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_float(Pointer s, double d) { - var _result = MeosLibrary.meos.minus_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_int(Pointer s, int i) { - var _result = MeosLibrary.meos.minus_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_set(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.minus_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_text(Pointer s, Pointer txt) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.minus_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.minus_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_date(Pointer s, int d) { - var _result = MeosLibrary.meos.minus_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_float(Pointer s, double d) { - var _result = MeosLibrary.meos.minus_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_int(Pointer s, int i) { - var _result = MeosLibrary.meos.minus_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.minus_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.minus_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_bigint(Pointer ss, long i) { - var _result = MeosLibrary.meos.minus_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_date(Pointer ss, int d) { - var _result = MeosLibrary.meos.minus_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_float(Pointer ss, double d) { - var _result = MeosLibrary.meos.minus_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_int(Pointer ss, int i) { - var _result = MeosLibrary.meos.minus_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.minus_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.minus_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_text_set(Pointer txt, Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.minus_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_bigint_set(long i, Pointer s) { - var _result = MeosLibrary.meos.union_bigint_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_bigint_span(Pointer s, long i) { - var _result = MeosLibrary.meos.union_bigint_span(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_bigint_spanset(long i, Pointer ss) { - var _result = MeosLibrary.meos.union_bigint_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_date_set(int d, Pointer s) { - var _result = MeosLibrary.meos.union_date_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_date_span(Pointer s, int d) { - var _result = MeosLibrary.meos.union_date_span(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_date_spanset(int d, Pointer ss) { - var _result = MeosLibrary.meos.union_date_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_float_set(double d, Pointer s) { - var _result = MeosLibrary.meos.union_float_set(d, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_float_span(Pointer s, double d) { - var _result = MeosLibrary.meos.union_float_span(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_float_spanset(double d, Pointer ss) { - var _result = MeosLibrary.meos.union_float_spanset(d, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_int_set(int i, Pointer s) { - var _result = MeosLibrary.meos.union_int_set(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_int_span(int i, Pointer s) { - var _result = MeosLibrary.meos.union_int_span(i, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_int_spanset(int i, Pointer ss) { - var _result = MeosLibrary.meos.union_int_spanset(i, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.union_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_date(Pointer s, int d) { - var _result = MeosLibrary.meos.union_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_float(Pointer s, double d) { - var _result = MeosLibrary.meos.union_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_int(Pointer s, int i) { - var _result = MeosLibrary.meos.union_set_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_set(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.union_set_set(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_text(Pointer s, Pointer txt) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.union_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.union_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_date(Pointer s, int d) { - var _result = MeosLibrary.meos.union_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_float(Pointer s, double d) { - var _result = MeosLibrary.meos.union_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_int(Pointer s, int i) { - var _result = MeosLibrary.meos.union_span_int(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_span(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.union_span_span(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_span_spanset(Pointer s, Pointer ss) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.union_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_bigint(Pointer ss, long i) { - var _result = MeosLibrary.meos.union_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_date(Pointer ss, int d) { - var _result = MeosLibrary.meos.union_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_float(Pointer ss, double d) { - var _result = MeosLibrary.meos.union_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_int(Pointer ss, int i) { - var _result = MeosLibrary.meos.union_spanset_int(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_span(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.union_spanset_span(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_spanset_spanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.union_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_text_set(Pointer txt, Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.union_timestamptz_spanset(t_new, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_bigintset_bigintset(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.distance_bigintset_bigintset(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_bigintspan_bigintspan(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.distance_bigintspan_bigintspan(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_bigintspanset_bigintspan(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.distance_bigintspanset_bigintspan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_bigintspanset_bigintspanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.distance_bigintspanset_bigintspanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_dateset_dateset(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.distance_dateset_dateset(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_datespan_datespan(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.distance_datespan_datespan(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_datespanset_datespan(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.distance_datespanset_datespan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_datespanset_datespanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.distance_datespanset_datespanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_floatset_floatset(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.distance_floatset_floatset(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_floatspan_floatspan(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.distance_floatspan_floatspan(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_floatspanset_floatspan(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.distance_floatspanset_floatspan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_floatspanset_floatspanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.distance_floatspanset_floatspanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_intset_intset(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.distance_intset_intset(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_intspan_intspan(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.distance_intspan_intspan(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_intspanset_intspan(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.distance_intspanset_intspan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_intspanset_intspanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.distance_intspanset_intspanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_set_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.distance_set_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_set_date(Pointer s, int d) { - var _result = MeosLibrary.meos.distance_set_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_set_float(Pointer s, double d) { - var _result = MeosLibrary.meos.distance_set_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_set_int(Pointer s, int i) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.distance_set_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_span_bigint(Pointer s, long i) { - var _result = MeosLibrary.meos.distance_span_bigint(s, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_span_date(Pointer s, int d) { - var _result = MeosLibrary.meos.distance_span_date(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_span_float(Pointer s, double d) { - var _result = MeosLibrary.meos.distance_span_float(s, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_span_int(Pointer s, int i) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.distance_span_timestamptz(s, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long distance_spanset_bigint(Pointer ss, long i) { - var _result = MeosLibrary.meos.distance_spanset_bigint(ss, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_spanset_date(Pointer ss, int d) { - var _result = MeosLibrary.meos.distance_spanset_date(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_spanset_float(Pointer ss, double d) { - var _result = MeosLibrary.meos.distance_spanset_float(ss, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int distance_spanset_int(Pointer ss, int i) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.distance_spanset_timestamptz(ss, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_tstzset_tstzset(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.distance_tstzset_tstzset(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_tstzspan_tstzspan(Pointer s1, Pointer s2) { - var _result = MeosLibrary.meos.distance_tstzspan_tstzspan(s1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_tstzspanset_tstzspan(Pointer ss, Pointer s) { - var _result = MeosLibrary.meos.distance_tstzspanset_tstzspan(ss, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double distance_tstzspanset_tstzspanset(Pointer ss1, Pointer ss2) { - var _result = MeosLibrary.meos.distance_tstzspanset_tstzspanset(ss1, ss2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigint_extent_transfn(Pointer state, long i) { - var _result = MeosLibrary.meos.bigint_extent_transfn(state, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bigint_union_transfn(Pointer state, long i) { - var _result = MeosLibrary.meos.bigint_union_transfn(state, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer date_extent_transfn(Pointer state, int d) { - var _result = MeosLibrary.meos.date_extent_transfn(state, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer date_union_transfn(Pointer state, int d) { - var _result = MeosLibrary.meos.date_union_transfn(state, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_extent_transfn(Pointer state, double d) { - var _result = MeosLibrary.meos.float_extent_transfn(state, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_union_transfn(Pointer state, double d) { - var _result = MeosLibrary.meos.float_union_transfn(state, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_extent_transfn(Pointer state, int i) { - var _result = MeosLibrary.meos.int_extent_transfn(state, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_union_transfn(Pointer state, int i) { - var _result = MeosLibrary.meos.int_union_transfn(state, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_extent_transfn(Pointer state, Pointer s) { - var _result = MeosLibrary.meos.set_extent_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_union_finalfn(Pointer state) { - var _result = MeosLibrary.meos.set_union_finalfn(state); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_union_transfn(Pointer state, Pointer s) { - var _result = MeosLibrary.meos.set_union_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_extent_transfn(Pointer state, Pointer s) { - var _result = MeosLibrary.meos.span_extent_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_union_transfn(Pointer state, Pointer s) { - var _result = MeosLibrary.meos.span_union_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_extent_transfn(Pointer state, Pointer ss) { - var _result = MeosLibrary.meos.spanset_extent_transfn(state, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_union_finalfn(Pointer state) { - var _result = MeosLibrary.meos.spanset_union_finalfn(state); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_union_transfn(Pointer state, Pointer ss) { - var _result = MeosLibrary.meos.spanset_union_transfn(state, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer text_union_transfn(Pointer state, Pointer txt) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tbox_as_wkb(box, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_from_hexwkb(String hexwkb) { - var _result = MeosLibrary.meos.tbox_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_from_wkb(Pointer wkb, long size) { - var _result = MeosLibrary.meos.tbox_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_in(String str) { - var _result = MeosLibrary.meos.tbox_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tbox_out(Pointer box, int maxdd) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.numspan_timestamptz_to_tbox(span, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_copy(Pointer box) { - var _result = MeosLibrary.meos.tbox_copy(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_make(Pointer s, Pointer p) { - var _result = MeosLibrary.meos.tbox_make(s, p); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer float_to_tbox(double d) { - var _result = MeosLibrary.meos.float_to_tbox(d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer int_to_tbox(int i) { - var _result = MeosLibrary.meos.int_to_tbox(i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer set_to_tbox(Pointer s) { - var _result = MeosLibrary.meos.set_to_tbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer span_to_tbox(Pointer s) { - var _result = MeosLibrary.meos.span_to_tbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spanset_to_tbox(Pointer ss) { - var _result = MeosLibrary.meos.spanset_to_tbox(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_to_intspan(Pointer box) { - var _result = MeosLibrary.meos.tbox_to_intspan(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_to_floatspan(Pointer box) { - var _result = MeosLibrary.meos.tbox_to_floatspan(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_to_tstzspan(Pointer box) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.timestamptz_to_tbox(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tbox_hash(Pointer box) { - var _result = MeosLibrary.meos.tbox_hash(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long tbox_hash_extended(Pointer box, long seed) { - var _result = MeosLibrary.meos.tbox_hash_extended(box, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_hast(Pointer box) { - var _result = MeosLibrary.meos.tbox_hast(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_hasx(Pointer box) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tboxint_xmin(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tbox_expand_time(Pointer box, Pointer interv) { - var _result = MeosLibrary.meos.tbox_expand_time(box, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbox_round(Pointer box, int maxdd) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.tbox_shift_scale_time(box, shift, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatbox_expand(Pointer box, double d) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.union_tbox_tbox(box1, box2, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.intersection_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.adjacent_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.contained_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.contains_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overlaps_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.same_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.after_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.before_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.left_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overafter_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overbefore_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overleft_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overright_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tbox_tbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.right_tbox_tbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tbox_cmp(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.tbox_cmp(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_eq(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.tbox_eq(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_ge(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.tbox_ge(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_gt(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.tbox_gt(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_le(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.tbox_le(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_lt(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.tbox_lt(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbox_ne(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.tbox_ne(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_from_mfjson(String str) { - var _result = MeosLibrary.meos.tbool_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_in(String str) { - var _result = MeosLibrary.meos.tbool_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tbool_out(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_as_wkb(temp, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_from_hexwkb(String hexwkb) { - var _result = MeosLibrary.meos.temporal_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_from_wkb(Pointer wkb, long size) { - var _result = MeosLibrary.meos.temporal_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_from_mfjson(String str) { - var _result = MeosLibrary.meos.tfloat_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_in(String str) { - var _result = MeosLibrary.meos.tfloat_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tfloat_out(Pointer temp, int maxdd) { - var _result = MeosLibrary.meos.tfloat_out(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_from_mfjson(String str) { - var _result = MeosLibrary.meos.tint_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_in(String str) { - var _result = MeosLibrary.meos.tint_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tint_out(Pointer temp) { - var _result = MeosLibrary.meos.tint_out(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_from_mfjson(String str) { - var _result = MeosLibrary.meos.ttext_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_in(String str) { - var _result = MeosLibrary.meos.ttext_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String ttext_out(Pointer temp) { - var _result = MeosLibrary.meos.ttext_out(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_from_base_temp(boolean b, Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.tboolinst_make(b, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tboolseq_from_base_tstzset(boolean b, Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tboolseqset_from_base_tstzspanset(b, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_copy(Pointer temp) { - var _result = MeosLibrary.meos.temporal_copy(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_from_base_temp(double d, Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.tfloatinst_make(d, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloatseq_from_base_tstzset(double d, Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tintinst_make(i, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tintseq_from_base_tstzset(int i, Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.ttextinst_make(txt, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttextseq_from_base_tstzset(Pointer txt, Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.ttextseqset_from_base_tstzspanset(txt, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_to_tint(Pointer temp) { - var _result = MeosLibrary.meos.tbool_to_tint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_to_tstzspan(Pointer temp) { - var _result = MeosLibrary.meos.temporal_to_tstzspan(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_to_tint(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_to_tint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_to_tfloat(Pointer temp) { - var _result = MeosLibrary.meos.tint_to_tfloat(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_to_span(Pointer temp) { - var _result = MeosLibrary.meos.tnumber_to_span(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_to_tbox(Pointer temp) { - var _result = MeosLibrary.meos.tnumber_to_tbox(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbool_end_value(Pointer temp) { - var _result = MeosLibrary.meos.tbool_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tbool_start_value(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tbool_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_duration(Pointer temp, boolean boundspan) { - var _result = MeosLibrary.meos.temporal_duration(temp, boundspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_end_instant(Pointer temp) { - var _result = MeosLibrary.meos.temporal_end_instant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_end_sequence(Pointer temp) { - var _result = MeosLibrary.meos.temporal_end_sequence(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime temporal_end_timestamptz(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_hash(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_instant_n(Pointer temp, int n) { - var _result = MeosLibrary.meos.temporal_instant_n(temp, n); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_instants(Pointer temp, Pointer count) { - var _result = MeosLibrary.meos.temporal_instants(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String temporal_interp(Pointer temp) { - var _result = MeosLibrary.meos.temporal_interp(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_lower_inc(Pointer temp) { - var _result = MeosLibrary.meos.temporal_lower_inc(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_max_instant(Pointer temp) { - var _result = MeosLibrary.meos.temporal_max_instant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_min_instant(Pointer temp) { - var _result = MeosLibrary.meos.temporal_min_instant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_num_instants(Pointer temp) { - var _result = MeosLibrary.meos.temporal_num_instants(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_num_sequences(Pointer temp) { - var _result = MeosLibrary.meos.temporal_num_sequences(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_num_timestamps(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_segm_duration(temp, duration, atleast, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_segments(Pointer temp, Pointer count) { - var _result = MeosLibrary.meos.temporal_segments(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_sequence_n(Pointer temp, int i) { - var _result = MeosLibrary.meos.temporal_sequence_n(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_sequences(Pointer temp, Pointer count) { - var _result = MeosLibrary.meos.temporal_sequences(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_start_instant(Pointer temp) { - var _result = MeosLibrary.meos.temporal_start_instant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_start_sequence(Pointer temp) { - var _result = MeosLibrary.meos.temporal_start_sequence(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static OffsetDateTime temporal_start_timestamptz(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_stops(temp, maxdist, minduration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String temporal_subtype(Pointer temp) { - var _result = MeosLibrary.meos.temporal_subtype(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_time(Pointer temp) { - var _result = MeosLibrary.meos.temporal_time(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_timestamps(Pointer temp, Pointer count) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_timestamptz_n(temp, n, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static boolean temporal_upper_inc(Pointer temp) { - var _result = MeosLibrary.meos.temporal_upper_inc(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tfloat_avg_value(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_avg_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tfloat_end_value(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tfloat_min_value(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_min_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tfloat_max_value(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_max_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tfloat_start_value(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tfloat_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_end_value(Pointer temp) { - var _result = MeosLibrary.meos.tint_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_max_value(Pointer temp) { - var _result = MeosLibrary.meos.tint_max_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_min_value(Pointer temp) { - var _result = MeosLibrary.meos.tint_min_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tint_start_value(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tint_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumber_avg_value(Pointer temp) { - var _result = MeosLibrary.meos.tnumber_avg_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumber_integral(Pointer temp) { - var _result = MeosLibrary.meos.tnumber_integral(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tnumber_twavg(Pointer temp) { - var _result = MeosLibrary.meos.tnumber_twavg(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_valuespans(Pointer temp) { - var _result = MeosLibrary.meos.tnumber_valuespans(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_end_value(Pointer temp) { - var _result = MeosLibrary.meos.ttext_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_max_value(Pointer temp) { - var _result = MeosLibrary.meos.ttext_max_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_min_value(Pointer temp) { - var _result = MeosLibrary.meos.ttext_min_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_start_value(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.ttext_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_degrees(double value, boolean normalize) { - var _result = MeosLibrary.meos.float_degrees(value, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temparr_round(Pointer temp, int count, int maxdd) { - var _result = MeosLibrary.meos.temparr_round(temp, count, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_round(Pointer temp, int maxdd) { - var _result = MeosLibrary.meos.temporal_round(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_scale_time(Pointer temp, Pointer duration) { - var _result = MeosLibrary.meos.temporal_scale_time(temp, duration); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_set_interp(Pointer temp, int interp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_shift_time(temp, shift); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_to_tinstant(Pointer temp) { - var _result = MeosLibrary.meos.temporal_to_tinstant(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_to_tsequence(Pointer temp, int interp) { - var _result = MeosLibrary.meos.temporal_to_tsequence(temp, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_to_tsequenceset(Pointer temp, int interp) { - var _result = MeosLibrary.meos.temporal_to_tsequenceset(temp, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_ceil(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_ceil(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_degrees(Pointer temp, boolean normalize) { - var _result = MeosLibrary.meos.tfloat_degrees(temp, normalize); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_floor(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_floor(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_radians(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_radians(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_scale_value(Pointer temp, double width) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tfloat_shift_value(temp, shift); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_scale_value(Pointer temp, int width) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_insert(temp1, temp2, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_merge(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.temporal_merge(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_merge_array(Pointer temparr, int count) { - var _result = MeosLibrary.meos.temporal_merge_array(temparr, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_update(Pointer temp1, Pointer temp2, boolean connect) { - var _result = MeosLibrary.meos.temporal_update(temp1, temp2, connect); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_at_value(Pointer temp, boolean b) { - var _result = MeosLibrary.meos.tbool_at_value(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_minus_value(Pointer temp, boolean b) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_after_timestamptz(temp, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_max(Pointer temp) { - var _result = MeosLibrary.meos.temporal_at_max(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_min(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_at_timestamptz(temp, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_tstzset(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.temporal_at_tstzset(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.temporal_at_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_tstzspanset(Pointer temp, Pointer ss) { - var _result = MeosLibrary.meos.temporal_at_tstzspanset(temp, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_at_values(Pointer temp, Pointer set) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_before_timestamptz(temp, t_new, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_max(Pointer temp) { - var _result = MeosLibrary.meos.temporal_minus_max(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_min(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_minus_timestamptz(temp, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_tstzset(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.temporal_minus_tstzset(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.temporal_minus_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_tstzspanset(Pointer temp, Pointer ss) { - var _result = MeosLibrary.meos.temporal_minus_tstzspanset(temp, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_minus_values(Pointer temp, Pointer set) { - var _result = MeosLibrary.meos.temporal_minus_values(temp, set); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_at_value(Pointer temp, double d) { - var _result = MeosLibrary.meos.tfloat_at_value(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_minus_value(Pointer temp, double d) { - var _result = MeosLibrary.meos.tfloat_minus_value(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_at_value(Pointer temp, int i) { - var _result = MeosLibrary.meos.tint_at_value(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_minus_value(Pointer temp, int i) { - var _result = MeosLibrary.meos.tint_minus_value(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_at_span(Pointer temp, Pointer span) { - var _result = MeosLibrary.meos.tnumber_at_span(temp, span); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_at_spanset(Pointer temp, Pointer ss) { - var _result = MeosLibrary.meos.tnumber_at_spanset(temp, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_at_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.tnumber_at_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_minus_span(Pointer temp, Pointer span) { - var _result = MeosLibrary.meos.tnumber_minus_span(temp, span); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_minus_spanset(Pointer temp, Pointer ss) { - var _result = MeosLibrary.meos.tnumber_minus_spanset(temp, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_minus_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.tnumber_minus_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_at_value(Pointer temp, Pointer txt) { - var _result = MeosLibrary.meos.ttext_at_value(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_minus_value(Pointer temp, Pointer txt) { - var _result = MeosLibrary.meos.ttext_minus_value(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int temporal_cmp(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.temporal_cmp(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_eq(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.temporal_eq(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_ge(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.temporal_ge(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_gt(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.temporal_gt(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_le(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.temporal_le(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_lt(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.temporal_lt(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean temporal_ne(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.temporal_ne(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_bool_tbool(boolean b, Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.ever_ne_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_bool_tbool(boolean b, Pointer temp) { - var _result = MeosLibrary.meos.teq_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_float_tfloat(double d, Pointer temp) { - var _result = MeosLibrary.meos.teq_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_int_tint(int i, Pointer temp) { - var _result = MeosLibrary.meos.teq_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tbool_bool(Pointer temp, boolean b) { - var _result = MeosLibrary.meos.teq_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.teq_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_text_ttext(Pointer txt, Pointer temp) { - var _result = MeosLibrary.meos.teq_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tfloat_float(Pointer temp, double d) { - var _result = MeosLibrary.meos.teq_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tint_int(Pointer temp, int i) { - var _result = MeosLibrary.meos.teq_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_ttext_text(Pointer temp, Pointer txt) { - var _result = MeosLibrary.meos.teq_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_float_tfloat(double d, Pointer temp) { - var _result = MeosLibrary.meos.tge_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_int_tint(int i, Pointer temp) { - var _result = MeosLibrary.meos.tge_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.tge_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_text_ttext(Pointer txt, Pointer temp) { - var _result = MeosLibrary.meos.tge_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_tfloat_float(Pointer temp, double d) { - var _result = MeosLibrary.meos.tge_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_tint_int(Pointer temp, int i) { - var _result = MeosLibrary.meos.tge_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tge_ttext_text(Pointer temp, Pointer txt) { - var _result = MeosLibrary.meos.tge_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_float_tfloat(double d, Pointer temp) { - var _result = MeosLibrary.meos.tgt_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_int_tint(int i, Pointer temp) { - var _result = MeosLibrary.meos.tgt_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.tgt_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_text_ttext(Pointer txt, Pointer temp) { - var _result = MeosLibrary.meos.tgt_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_tfloat_float(Pointer temp, double d) { - var _result = MeosLibrary.meos.tgt_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_tint_int(Pointer temp, int i) { - var _result = MeosLibrary.meos.tgt_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgt_ttext_text(Pointer temp, Pointer txt) { - var _result = MeosLibrary.meos.tgt_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_float_tfloat(double d, Pointer temp) { - var _result = MeosLibrary.meos.tle_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_int_tint(int i, Pointer temp) { - var _result = MeosLibrary.meos.tle_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.tle_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_text_ttext(Pointer txt, Pointer temp) { - var _result = MeosLibrary.meos.tle_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_tfloat_float(Pointer temp, double d) { - var _result = MeosLibrary.meos.tle_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_tint_int(Pointer temp, int i) { - var _result = MeosLibrary.meos.tle_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tle_ttext_text(Pointer temp, Pointer txt) { - var _result = MeosLibrary.meos.tle_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_float_tfloat(double d, Pointer temp) { - var _result = MeosLibrary.meos.tlt_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_int_tint(int i, Pointer temp) { - var _result = MeosLibrary.meos.tlt_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.tlt_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_text_ttext(Pointer txt, Pointer temp) { - var _result = MeosLibrary.meos.tlt_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_tfloat_float(Pointer temp, double d) { - var _result = MeosLibrary.meos.tlt_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_tint_int(Pointer temp, int i) { - var _result = MeosLibrary.meos.tlt_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tlt_ttext_text(Pointer temp, Pointer txt) { - var _result = MeosLibrary.meos.tlt_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_bool_tbool(boolean b, Pointer temp) { - var _result = MeosLibrary.meos.tne_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_float_tfloat(double d, Pointer temp) { - var _result = MeosLibrary.meos.tne_float_tfloat(d, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_int_tint(int i, Pointer temp) { - var _result = MeosLibrary.meos.tne_int_tint(i, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tbool_bool(Pointer temp, boolean b) { - var _result = MeosLibrary.meos.tne_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.tne_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_text_ttext(Pointer txt, Pointer temp) { - var _result = MeosLibrary.meos.tne_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tfloat_float(Pointer temp, double d) { - var _result = MeosLibrary.meos.tne_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tint_int(Pointer temp, int i) { - var _result = MeosLibrary.meos.tne_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_ttext_text(Pointer temp, Pointer txt) { - var _result = MeosLibrary.meos.tne_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_spans(Pointer temp, Pointer count) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tnumber_tboxes(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_numspan_tnumber(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.adjacent_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.adjacent_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.adjacent_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.adjacent_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tnumber_numspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.adjacent_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.adjacent_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.adjacent_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.adjacent_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_numspan_tnumber(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.contained_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.contained_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.contained_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.contained_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tnumber_numspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.contained_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.contained_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.contained_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.contained_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_numspan_tnumber(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.contains_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.contains_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.contains_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.contains_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tnumber_numspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.contains_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.contains_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.contains_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.contains_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_numspan_tnumber(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.overlaps_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overlaps_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overlaps_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.overlaps_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tnumber_numspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.overlaps_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overlaps_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overlaps_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.overlaps_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_numspan_tnumber(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.same_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.same_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.same_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.same_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tnumber_numspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.same_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.same_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.same_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.same_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.after_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.after_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.after_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.after_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.after_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.after_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.before_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.before_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.before_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.before_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.before_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.before_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.left_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_numspan_tnumber(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.left_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tnumber_numspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.left_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.left_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.left_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overafter_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.overafter_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overafter_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overafter_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overafter_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.overafter_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overbefore_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_temporal_tstzspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.overbefore_temporal_tstzspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_temporal_temporal(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overbefore_temporal_temporal(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overbefore_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overbefore_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tstzspan_temporal(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.overbefore_tstzspan_temporal(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_numspan_tnumber(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.overleft_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overleft_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tnumber_numspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.overleft_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overleft_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overleft_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_numspan_tnumber(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.overright_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overright_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tnumber_numspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.overright_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overright_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overright_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_numspan_tnumber(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.right_numspan_tnumber(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tbox_tnumber(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.right_tbox_tnumber(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tnumber_numspan(Pointer temp, Pointer s) { - var _result = MeosLibrary.meos.right_tnumber_numspan(temp, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tnumber_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.right_tnumber_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.right_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tand_bool_tbool(boolean b, Pointer temp) { - var _result = MeosLibrary.meos.tand_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tand_tbool_bool(Pointer temp, boolean b) { - var _result = MeosLibrary.meos.tand_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tand_tbool_tbool(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.tand_tbool_tbool(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_when_true(Pointer temp) { - var _result = MeosLibrary.meos.tbool_when_true(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnot_tbool(Pointer temp) { - var _result = MeosLibrary.meos.tnot_tbool(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tor_bool_tbool(boolean b, Pointer temp) { - var _result = MeosLibrary.meos.tor_bool_tbool(b, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tor_tbool_bool(Pointer temp, boolean b) { - var _result = MeosLibrary.meos.tor_tbool_bool(temp, b); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tor_tbool_tbool(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.tor_tbool_tbool(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_float_tfloat(double d, Pointer tnumber) { - var _result = MeosLibrary.meos.add_float_tfloat(d, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_int_tint(int i, Pointer tnumber) { - var _result = MeosLibrary.meos.add_int_tint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_tfloat_float(Pointer tnumber, double d) { - var _result = MeosLibrary.meos.add_tfloat_float(tnumber, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_tint_int(Pointer tnumber, int i) { - var _result = MeosLibrary.meos.add_tint_int(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer add_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = MeosLibrary.meos.add_tnumber_tnumber(tnumber1, tnumber2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_float_tfloat(double d, Pointer tnumber) { - var _result = MeosLibrary.meos.div_float_tfloat(d, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_int_tint(int i, Pointer tnumber) { - var _result = MeosLibrary.meos.div_int_tint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_tfloat_float(Pointer tnumber, double d) { - var _result = MeosLibrary.meos.div_tfloat_float(tnumber, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_tint_int(Pointer tnumber, int i) { - var _result = MeosLibrary.meos.div_tint_int(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer div_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = MeosLibrary.meos.div_tnumber_tnumber(tnumber1, tnumber2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mult_float_tfloat(double d, Pointer tnumber) { - var _result = MeosLibrary.meos.mult_float_tfloat(d, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mult_int_tint(int i, Pointer tnumber) { - var _result = MeosLibrary.meos.mult_int_tint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mult_tfloat_float(Pointer tnumber, double d) { - var _result = MeosLibrary.meos.mult_tfloat_float(tnumber, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mult_tint_int(Pointer tnumber, int i) { - var _result = MeosLibrary.meos.mult_tint_int(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer mult_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = MeosLibrary.meos.mult_tnumber_tnumber(tnumber1, tnumber2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_float_tfloat(double d, Pointer tnumber) { - var _result = MeosLibrary.meos.sub_float_tfloat(d, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_int_tint(int i, Pointer tnumber) { - var _result = MeosLibrary.meos.sub_int_tint(i, tnumber); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_tfloat_float(Pointer tnumber, double d) { - var _result = MeosLibrary.meos.sub_tfloat_float(tnumber, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_tint_int(Pointer tnumber, int i) { - var _result = MeosLibrary.meos.sub_tint_int(tnumber, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer sub_tnumber_tnumber(Pointer tnumber1, Pointer tnumber2) { - var _result = MeosLibrary.meos.sub_tnumber_tnumber(tnumber1, tnumber2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_derivative(Pointer temp) { - var _result = MeosLibrary.meos.temporal_derivative(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_exp(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_exp(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_ln(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_ln(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_log10(Pointer temp) { - var _result = MeosLibrary.meos.tfloat_log10(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_abs(Pointer temp) { - var _result = MeosLibrary.meos.tnumber_abs(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_trend(Pointer temp) { - var _result = MeosLibrary.meos.tnumber_trend(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double float_angular_difference(double degrees1, double degrees2) { - var _result = MeosLibrary.meos.float_angular_difference(degrees1, degrees2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_angular_difference(Pointer temp) { - var _result = MeosLibrary.meos.tnumber_angular_difference(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_delta_value(Pointer temp) { - var _result = MeosLibrary.meos.tnumber_delta_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_text_ttext(Pointer txt, Pointer temp) { - var _result = MeosLibrary.meos.textcat_text_ttext(txt, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_ttext_text(Pointer temp, Pointer txt) { - var _result = MeosLibrary.meos.textcat_ttext_text(temp, txt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer textcat_ttext_ttext(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.textcat_ttext_ttext(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_initcap(Pointer temp) { - var _result = MeosLibrary.meos.ttext_initcap(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_upper(Pointer temp) { - var _result = MeosLibrary.meos.ttext_upper(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_lower(Pointer temp) { - var _result = MeosLibrary.meos.ttext_lower(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tfloat_float(Pointer temp, double d) { - var _result = MeosLibrary.meos.tdistance_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tint_int(Pointer temp, int i) { - var _result = MeosLibrary.meos.tdistance_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tnumber_tnumber(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.tdistance_tnumber_tnumber(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tboxfloat_tboxfloat(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.nad_tboxfloat_tboxfloat(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int nad_tboxint_tboxint(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.nad_tboxint_tboxint(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tfloat_float(Pointer temp, double d) { - var _result = MeosLibrary.meos.nad_tfloat_float(temp, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tfloat_tfloat(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.nad_tfloat_tfloat(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tfloat_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.nad_tfloat_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int nad_tint_int(Pointer temp, int i) { - var _result = MeosLibrary.meos.nad_tint_int(temp, i); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int nad_tint_tbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.nad_tint_tbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int nad_tint_tint(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.nad_tint_tint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_tand_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.tbool_tand_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tbool_tor_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.tbool_tor_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_extent_transfn(Pointer s, Pointer temp) { - var _result = MeosLibrary.meos.temporal_extent_transfn(s, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_tagg_finalfn(Pointer state) { - var _result = MeosLibrary.meos.temporal_tagg_finalfn(state); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer temporal_tcount_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.temporal_tcount_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_tmax_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.tfloat_tmax_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_tmin_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.tfloat_tmin_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tfloat_tsum_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.timestamptz_tcount_transfn(state, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_tmax_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.tint_tmax_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_tmin_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.tint_tmin_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tint_tsum_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tint_wsum_transfn(state, temp, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_extent_transfn(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.tnumber_extent_transfn(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_tavg_finalfn(Pointer state) { - var _result = MeosLibrary.meos.tnumber_tavg_finalfn(state); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tnumber_tavg_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.tnumber_wavg_transfn(state, temp, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_tcount_transfn(Pointer state, Pointer s) { - var _result = MeosLibrary.meos.tstzset_tcount_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_tcount_transfn(Pointer state, Pointer s) { - var _result = MeosLibrary.meos.tstzspan_tcount_transfn(state, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_tcount_transfn(Pointer state, Pointer ss) { - var _result = MeosLibrary.meos.tstzspanset_tcount_transfn(state, ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_tmax_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.ttext_tmax_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer ttext_tmin_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_dyntimewarp_path(temp1, temp2, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double temporal_frechet_distance(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.temporal_frechet_path(temp1, temp2, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double temporal_hausdorff_distance(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.geo_as_ewkb(gs, endian, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_as_ewkt(Pointer gs, int precision) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.geo_as_hexewkb(gs, endian); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_as_text(Pointer gs, int precision) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.geo_from_ewkb(wkb, wkb_size, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_from_geojson(String geojson) { - var _result = MeosLibrary.meos.geo_from_geojson(geojson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_from_text(String wkt, int srid) { - var _result = MeosLibrary.meos.geo_from_text(wkt, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_out(Pointer gs) { - var _result = MeosLibrary.meos.geo_out(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_from_binary(String wkb_bytea) { - var _result = MeosLibrary.meos.geog_from_binary(wkb_bytea); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_from_hexewkb(String wkt) { - var _result = MeosLibrary.meos.geog_from_hexewkb(wkt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_in(String str, int typmod) { - var _result = MeosLibrary.meos.geog_in(str, typmod); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_from_hexewkb(String wkt) { - var _result = MeosLibrary.meos.geom_from_hexewkb(wkt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_in(String str, int typmod) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.gbox_out(box, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_copy(Pointer g) { - var _result = MeosLibrary.meos.geo_copy(g); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geogpoint_make2d(int srid, double x, double y) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.geompoint_make3dz(srid, x, y, z); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_to_geog(Pointer geom) { - var _result = MeosLibrary.meos.geom_to_geog(geom); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_to_geom(Pointer geog) { - var _result = MeosLibrary.meos.geog_to_geom(geog); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geo_is_empty(Pointer g) { - var _result = MeosLibrary.meos.geo_is_empty(g); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geo_is_unitary(Pointer gs) { - var _result = MeosLibrary.meos.geo_is_unitary(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String geo_typename(int type) { - var _result = MeosLibrary.meos.geo_typename(type); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geog_area(Pointer g, boolean use_spheroid) { - var _result = MeosLibrary.meos.geog_area(g, use_spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geog_centroid(Pointer g, boolean use_spheroid) { - var _result = MeosLibrary.meos.geog_centroid(g, use_spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geog_length(Pointer g, boolean use_spheroid) { - var _result = MeosLibrary.meos.geog_length(g, use_spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geog_perimeter(Pointer g, boolean use_spheroid) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.geom_azimuth(gs1, gs2, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static double geom_length(Pointer gs) { - var _result = MeosLibrary.meos.geom_length(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geom_perimeter(Pointer gs) { - var _result = MeosLibrary.meos.geom_perimeter(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int line_numpoints(Pointer gs) { - var _result = MeosLibrary.meos.line_numpoints(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer line_point_n(Pointer geom, int n) { - var _result = MeosLibrary.meos.line_point_n(geom, n); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_reverse(Pointer gs) { - var _result = MeosLibrary.meos.geo_reverse(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_round(Pointer gs, int maxdd) { - var _result = MeosLibrary.meos.geo_round(gs, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_set_srid(Pointer gs, int srid) { - var _result = MeosLibrary.meos.geo_set_srid(gs, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_srid(Pointer gs) { - var _result = MeosLibrary.meos.geo_srid(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_transform(Pointer geom, int srid_to) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.geo_collect_garray(gsarr, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_makeline_garray(Pointer gsarr, int count) { - var _result = MeosLibrary.meos.geo_makeline_garray(gsarr, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_num_points(Pointer gs) { - var _result = MeosLibrary.meos.geo_num_points(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_num_geos(Pointer gs) { - var _result = MeosLibrary.meos.geo_num_geos(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_geo_n(Pointer geom, int n) { - var _result = MeosLibrary.meos.geo_geo_n(geom, n); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_pointarr(Pointer gs, Pointer count) { - var _result = MeosLibrary.meos.geo_pointarr(gs, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_points(Pointer gs) { - var _result = MeosLibrary.meos.geo_points(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_array_union(Pointer gsarr, int count) { - var _result = MeosLibrary.meos.geom_array_union(gsarr, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_boundary(Pointer gs) { - var _result = MeosLibrary.meos.geom_boundary(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_buffer(Pointer gs, double size, String params) { - var _result = MeosLibrary.meos.geom_buffer(gs, size, params); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_centroid(Pointer gs) { - var _result = MeosLibrary.meos.geom_centroid(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_convex_hull(Pointer gs) { - var _result = MeosLibrary.meos.geom_convex_hull(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_difference2d(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_difference2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_intersection2d(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_intersection2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_intersection2d_coll(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_intersection2d_coll(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_min_bounding_radius(Pointer geom, Pointer radius) { - var _result = MeosLibrary.meos.geom_min_bounding_radius(geom, radius); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_shortestline2d(Pointer gs1, Pointer s2) { - var _result = MeosLibrary.meos.geom_shortestline2d(gs1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_shortestline3d(Pointer gs1, Pointer s2) { - var _result = MeosLibrary.meos.geom_shortestline3d(gs1, s2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geom_unary_union(Pointer gs, double prec) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.line_locate_point(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer line_substring(Pointer gs, double from, double to) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.geog_intersects(gs1, gs2, use_spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_contains(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_contains(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_covers(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_covers(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_disjoint2d(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_disjoint2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_dwithin2d(Pointer gs1, Pointer gs2, double tolerance) { - var _result = MeosLibrary.meos.geom_dwithin2d(gs1, gs2, tolerance); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_dwithin3d(Pointer gs1, Pointer gs2, double tolerance) { - var _result = MeosLibrary.meos.geom_dwithin3d(gs1, gs2, tolerance); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_intersects2d(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_intersects2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_intersects3d(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_intersects3d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_relate_pattern(Pointer gs1, Pointer gs2, String patt) { - var _result = MeosLibrary.meos.geom_relate_pattern(gs1, gs2, patt); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geom_touches(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_touches(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_stboxes(Pointer gs, Pointer count) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.geog_distance(g1, g2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geom_distance2d(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_distance2d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double geom_distance3d(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geom_distance3d(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int geo_equals(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geo_equals(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean geo_same(Pointer gs1, Pointer gs2) { - var _result = MeosLibrary.meos.geo_same(gs1, gs2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geogset_in(String str) { - var _result = MeosLibrary.meos.geogset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geomset_in(String str) { - var _result = MeosLibrary.meos.geomset_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String spatialset_as_text(Pointer set, int maxdd) { - var _result = MeosLibrary.meos.spatialset_as_text(set, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String spatialset_as_ewkt(Pointer set, int maxdd) { - var _result = MeosLibrary.meos.spatialset_as_ewkt(set, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geoset_make(Pointer values, int count) { - var _result = MeosLibrary.meos.geoset_make(values, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_to_set(Pointer gs) { - var _result = MeosLibrary.meos.geo_to_set(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geoset_end_value(Pointer s) { - var _result = MeosLibrary.meos.geoset_end_value(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geoset_start_value(Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.geoset_values(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_geo_set(Pointer gs, Pointer s) { - var _result = MeosLibrary.meos.contained_geo_set(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_set_geo(Pointer s, Pointer gs) { - var _result = MeosLibrary.meos.contains_set_geo(s, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geo_union_transfn(Pointer state, Pointer gs) { - var _result = MeosLibrary.meos.geo_union_transfn(state, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_geo_set(Pointer gs, Pointer s) { - var _result = MeosLibrary.meos.intersection_geo_set(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_set_geo(Pointer s, Pointer gs) { - var _result = MeosLibrary.meos.intersection_set_geo(s, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_geo_set(Pointer gs, Pointer s) { - var _result = MeosLibrary.meos.minus_geo_set(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer minus_set_geo(Pointer s, Pointer gs) { - var _result = MeosLibrary.meos.minus_set_geo(s, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_geo_set(Pointer gs, Pointer s) { - var _result = MeosLibrary.meos.union_geo_set(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer union_set_geo(Pointer s, Pointer gs) { - var _result = MeosLibrary.meos.union_set_geo(s, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spatialset_set_srid(Pointer s, int srid) { - var _result = MeosLibrary.meos.spatialset_set_srid(s, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int spatialset_srid(Pointer s) { - var _result = MeosLibrary.meos.spatialset_srid(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spatialset_transform(Pointer s, int srid) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.stbox_as_wkb(box, variant, size_out); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_from_hexwkb(String hexwkb) { - var _result = MeosLibrary.meos.stbox_from_hexwkb(hexwkb); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_from_wkb(Pointer wkb, long size) { - var _result = MeosLibrary.meos.stbox_from_wkb(wkb, size); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_in(String str) { - var _result = MeosLibrary.meos.stbox_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String stbox_out(Pointer box, int maxdd) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.geo_tstzspan_to_stbox(gs, s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_copy(Pointer box) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.geo_to_stbox(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer spatialset_to_stbox(Pointer s) { - var _result = MeosLibrary.meos.spatialset_to_stbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_box3d(Pointer box) { - var _result = MeosLibrary.meos.stbox_to_box3d(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_gbox(Pointer box) { - var _result = MeosLibrary.meos.stbox_to_gbox(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_geo(Pointer box) { - var _result = MeosLibrary.meos.stbox_to_geo(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_to_tstzspan(Pointer box) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.timestamptz_to_stbox(t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzset_to_stbox(Pointer s) { - var _result = MeosLibrary.meos.tstzset_to_stbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspan_to_stbox(Pointer s) { - var _result = MeosLibrary.meos.tstzspan_to_stbox(s); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tstzspanset_to_stbox(Pointer ss) { - var _result = MeosLibrary.meos.tstzspanset_to_stbox(ss); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double stbox_area(Pointer box, boolean spheroid) { - var _result = MeosLibrary.meos.stbox_area(box, spheroid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int stbox_hash(Pointer box) { - var _result = MeosLibrary.meos.stbox_hash(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static long stbox_hash_extended(Pointer box, long seed) { - var _result = MeosLibrary.meos.stbox_hash_extended(box, seed); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_hast(Pointer box) { - var _result = MeosLibrary.meos.stbox_hast(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_hasx(Pointer box) { - var _result = MeosLibrary.meos.stbox_hasx(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_hasz(Pointer box) { - var _result = MeosLibrary.meos.stbox_hasz(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_isgeodetic(Pointer box) { - var _result = MeosLibrary.meos.stbox_isgeodetic(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double stbox_perimeter(Pointer box, boolean spheroid) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.stbox_tmin_inc(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static double stbox_volume(Pointer box) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.stbox_zmin(box, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer stbox_expand_space(Pointer box, double d) { - var _result = MeosLibrary.meos.stbox_expand_space(box, d); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_expand_time(Pointer box, Pointer interv) { - var _result = MeosLibrary.meos.stbox_expand_time(box, interv); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_get_space(Pointer box) { - var _result = MeosLibrary.meos.stbox_get_space(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_quad_split(Pointer box, Pointer count) { - var _result = MeosLibrary.meos.stbox_quad_split(box, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_round(Pointer box, int maxdd) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.stboxarr_round(boxarr, count, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_set_srid(Pointer box, int srid) { - var _result = MeosLibrary.meos.stbox_set_srid(box, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int stbox_srid(Pointer box) { - var _result = MeosLibrary.meos.stbox_srid(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer stbox_transform(Pointer box, int srid) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.adjacent_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.contained_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.contains_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overlaps_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.same_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean above_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.above_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.after_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean back_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.back_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.before_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean below_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.below_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean front_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.front_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.left_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overabove_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overabove_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overafter_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overback_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overback_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overbefore_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbelow_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overbelow_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overfront_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overfront_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overleft_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.overright_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.union_stbox_stbox(box1, box2, strict); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer intersection_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.intersection_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int stbox_cmp(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.stbox_cmp(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_eq(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.stbox_eq(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_ge(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.stbox_ge(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_gt(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.stbox_gt(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_le(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.stbox_le(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_lt(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.stbox_lt(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean stbox_ne(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.stbox_ne(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_from_mfjson(String str) { - var _result = MeosLibrary.meos.tgeogpoint_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_in(String str) { - var _result = MeosLibrary.meos.tgeogpoint_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_from_mfjson(String mfjson) { - var _result = MeosLibrary.meos.tgeography_from_mfjson(mfjson); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_in(String str) { - var _result = MeosLibrary.meos.tgeography_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_from_mfjson(String str) { - var _result = MeosLibrary.meos.tgeometry_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_in(String str) { - var _result = MeosLibrary.meos.tgeometry_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_from_mfjson(String str) { - var _result = MeosLibrary.meos.tgeompoint_from_mfjson(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_in(String str) { - var _result = MeosLibrary.meos.tgeompoint_in(str); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tspatial_as_ewkt(Pointer temp, int maxdd) { - var _result = MeosLibrary.meos.tspatial_as_ewkt(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tspatial_as_text(Pointer temp, int maxdd) { - var _result = MeosLibrary.meos.tspatial_as_text(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static String tspatial_out(Pointer temp, int maxdd) { - var _result = MeosLibrary.meos.tspatial_out(temp, maxdd); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_from_base_temp(Pointer gs, Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.tgeoinst_make(gs, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeoseq_from_base_tstzset(Pointer gs, Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tpointinst_make(gs, t_new); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpointseq_from_base_tstzset(Pointer gs, Pointer s) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tpointseqset_from_base_tstzspanset(gs, ss, interp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer box3d_to_stbox(Pointer box) { - var _result = MeosLibrary.meos.box3d_to_stbox(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer gbox_to_stbox(Pointer box) { - var _result = MeosLibrary.meos.gbox_to_stbox(box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer geomeas_to_tpoint(Pointer gs) { - var _result = MeosLibrary.meos.geomeas_to_tpoint(gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeogpoint_to_tgeography(Pointer temp) { - var _result = MeosLibrary.meos.tgeogpoint_to_tgeography(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_to_tgeogpoint(Pointer temp) { - var _result = MeosLibrary.meos.tgeography_to_tgeogpoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeography_to_tgeometry(Pointer temp) { - var _result = MeosLibrary.meos.tgeography_to_tgeometry(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_to_tgeography(Pointer temp) { - var _result = MeosLibrary.meos.tgeometry_to_tgeography(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeometry_to_tgeompoint(Pointer temp) { - var _result = MeosLibrary.meos.tgeometry_to_tgeompoint(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeompoint_to_tgeometry(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.bearing_tpoint_point(temp, gs, invert); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer bearing_tpoint_tpoint(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.bearing_tpoint_tpoint(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_centroid(Pointer temp) { - var _result = MeosLibrary.meos.tgeo_centroid(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_convex_hull(Pointer temp) { - var _result = MeosLibrary.meos.tgeo_convex_hull(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_end_value(Pointer temp) { - var _result = MeosLibrary.meos.tgeo_end_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_start_value(Pointer temp) { - var _result = MeosLibrary.meos.tgeo_start_value(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_traversed_area(Pointer temp, boolean unary_union) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tgeo_values(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_angular_difference(Pointer temp) { - var _result = MeosLibrary.meos.tpoint_angular_difference(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_azimuth(Pointer temp) { - var _result = MeosLibrary.meos.tpoint_azimuth(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_cumulative_length(Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.tpoint_direction(temp, result); - MeosErrorHandler.checkError(); - return out ? result : null; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_get_x(Pointer temp) { - var _result = MeosLibrary.meos.tpoint_get_x(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_get_y(Pointer temp) { - var _result = MeosLibrary.meos.tpoint_get_y(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_get_z(Pointer temp) { - var _result = MeosLibrary.meos.tpoint_get_z(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean tpoint_is_simple(Pointer temp) { - var _result = MeosLibrary.meos.tpoint_is_simple(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double tpoint_length(Pointer temp) { - var _result = MeosLibrary.meos.tpoint_length(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_speed(Pointer temp) { - var _result = MeosLibrary.meos.tpoint_speed(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_trajectory(Pointer temp, boolean unary_union) { - var _result = MeosLibrary.meos.tpoint_trajectory(temp, unary_union); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_twcentroid(Pointer temp) { - var _result = MeosLibrary.meos.tpoint_twcentroid(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_affine(Pointer temp, Pointer a) { - var _result = MeosLibrary.meos.tgeo_affine(temp, a); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_scale(Pointer temp, Pointer scale, Pointer sorigin) { - var _result = MeosLibrary.meos.tgeo_scale(temp, scale, sorigin); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_make_simple(Pointer temp, Pointer count) { - var _result = MeosLibrary.meos.tpoint_make_simple(temp, count); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int tspatial_srid(Pointer temp) { - var _result = MeosLibrary.meos.tspatial_srid(temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tspatial_set_srid(Pointer temp, int srid) { - var _result = MeosLibrary.meos.tspatial_set_srid(temp, srid); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tspatial_transform(Pointer temp, int srid) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tgeo_at_value(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_minus_geom(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tpoint_at_geom(temp, gs, zspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_at_value(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.tpoint_minus_geom(temp, gs, zspan); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_minus_value(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.tpoint_minus_value(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int always_eq_geo_tgeo(Pointer gs, Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.ever_ne_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_geo_tgeo(Pointer gs, Pointer temp) { - var _result = MeosLibrary.meos.teq_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer teq_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.teq_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_geo_tgeo(Pointer gs, Pointer temp) { - var _result = MeosLibrary.meos.tne_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tne_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.tne_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tgeo_stboxes(Pointer temp, Pointer count) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.adjacent_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.adjacent_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean adjacent_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.adjacent_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.contained_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.contained_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contained_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.contained_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.contains_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.contains_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean contains_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.contains_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overlaps_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overlaps_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overlaps_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overlaps_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.same_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.same_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean same_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.same_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean above_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.above_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean above_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.above_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean above_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.above_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.after_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.after_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean after_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.after_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean back_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.back_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean back_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.back_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean back_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.back_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.before_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.before_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean before_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.before_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean below_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.below_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean below_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.below_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean below_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.below_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean front_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.front_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean front_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.front_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean front_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.front_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.left_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.left_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean left_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.left_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overabove_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overabove_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overabove_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overabove_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overabove_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overabove_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overafter_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overafter_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overafter_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overafter_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overback_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overback_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overback_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overback_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overback_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overback_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overbefore_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overbefore_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbefore_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overbefore_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbelow_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overbelow_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbelow_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overbelow_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overbelow_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overbelow_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overfront_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overfront_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overfront_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overfront_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overfront_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overfront_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overleft_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overleft_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overleft_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overleft_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.overright_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.overright_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean overright_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.overright_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_stbox_tspatial(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.right_stbox_tspatial(box, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tspatial_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.right_tspatial_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static boolean right_tspatial_tspatial(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.right_tspatial_tspatial(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acontains_geo_tgeo(Pointer gs, Pointer temp) { - var _result = MeosLibrary.meos.acontains_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acontains_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.acontains_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int acontains_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.acontains_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adisjoint_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.adisjoint_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int adisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.adwithin_tgeo_tgeo(temp1, temp2, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int aintersects_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.aintersects_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int aintersects_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.aintersects_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int atouches_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.atouches_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int atouches_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.atouches_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int atouches_tpoint_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.atouches_tpoint_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int econtains_geo_tgeo(Pointer gs, Pointer temp) { - var _result = MeosLibrary.meos.econtains_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int econtains_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.econtains_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int econtains_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.econtains_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ecovers_geo_tgeo(Pointer gs, Pointer temp) { - var _result = MeosLibrary.meos.ecovers_geo_tgeo(gs, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ecovers_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.ecovers_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int ecovers_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.ecovers_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edisjoint_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.edisjoint_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int edisjoint_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.edwithin_tgeo_tgeo(temp1, temp2, dist); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int eintersects_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.eintersects_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int eintersects_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.eintersects_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int etouches_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.etouches_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int etouches_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.etouches_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static int etouches_tpoint_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.tdistance_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tdistance_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.tdistance_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_stbox_geo(Pointer box, Pointer gs) { - var _result = MeosLibrary.meos.nad_stbox_geo(box, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_stbox_stbox(Pointer box1, Pointer box2) { - var _result = MeosLibrary.meos.nad_stbox_stbox(box1, box2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.nad_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tgeo_stbox(Pointer temp, Pointer box) { - var _result = MeosLibrary.meos.nad_tgeo_stbox(temp, box); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static double nad_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.nad_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.nai_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer nai_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.nai_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tgeo_geo(Pointer temp, Pointer gs) { - var _result = MeosLibrary.meos.shortestline_tgeo_geo(temp, gs); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer shortestline_tgeo_tgeo(Pointer temp1, Pointer temp2) { - var _result = MeosLibrary.meos.shortestline_tgeo_tgeo(temp1, temp2); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_tcentroid_finalfn(Pointer state) { - var _result = MeosLibrary.meos.tpoint_tcentroid_finalfn(state); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tpoint_tcentroid_transfn(Pointer state, Pointer temp) { - var _result = MeosLibrary.meos.tpoint_tcentroid_transfn(state, temp); - MeosErrorHandler.checkError(); - return _result; - } - - @SuppressWarnings("unused") - public static Pointer tspatial_extent_transfn(Pointer box, Pointer temp) { - var _result = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 = MeosLibrary.meos.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 000000000..8bdb193d0 --- /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 000000000..3f60c1d03 --- /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 000000000..828632a43 --- /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 000000000..32175615a --- /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 000000000..1a6cf3aff --- /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 000000000..8cd9e4025 --- /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 000000000..d8196a9b4 --- /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 000000000..242269b01 --- /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 000000000..2e761842b --- /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 000000000..29091cf78 --- /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 000000000..aab9b1b8f --- /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 int cbuffer_hash_extended(jnr.ffi.Pointer arg0, int 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 000000000..9830e8fe7 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsFreeCore.java @@ -0,0 +1,9504 @@ +/***************************************************************************** + * + * 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_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_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_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(int 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(int 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_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_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_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 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 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 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, null); + } + + /** + * 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 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_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_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_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_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 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 cstring_to_text} — 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 cstring_to_text(java.lang.String arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "cstring_to_text requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.cstring_to_text(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 date_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

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

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

I/O / catalog / lifecycle helper.

+ *

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

+ */ + public static java.lang.String date_out(int arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "date_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.date_out(arg0); + } + + /** + * MEOS {@code 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 interval_cmp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "interval_cmp requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.interval_cmp(arg0, arg1); + } + + /** + * MEOS {@code interval_in} — tier io-meta. + *

I/O / catalog / lifecycle helper.

+ *

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

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

I/O / catalog / lifecycle helper.

+ *

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

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

I/O / catalog / lifecycle helper.

+ *

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

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

I/O / catalog / lifecycle helper.

+ *

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

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

I/O / catalog / lifecycle helper.

+ *

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

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

I/O / catalog / lifecycle helper.

+ *

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

+ */ + public static java.lang.String timestamptz_out(java.time.OffsetDateTime arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "timestamptz_out requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.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 text_to_cstring} — 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 text_to_cstring(jnr.ffi.Pointer arg0) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "text_to_cstring requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.text_to_cstring(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 000000000..bfb870290 --- /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, boolean arg1, boolean arg2, double arg3, double arg4, double arg5, double arg6, double arg7, double arg8, double arg9, double arg10) { + 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, arg7, arg8, arg9, arg10); + } + + /** + * 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, jnr.ffi.Pointer arg1) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "geom_min_bounding_radius requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.geom_min_bounding_radius(arg0, arg1); + } + + /** + * 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 000000000..02cddec3d --- /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 000000000..9bb88f644 --- /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 int npoint_hash_extended(jnr.ffi.Pointer arg0, int 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 000000000..b851e0ecf --- /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 int pose_hash_extended(jnr.ffi.Pointer arg0, int 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, boolean arg3, int arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "pose_make_2d requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.pose_make_2d(arg0, arg1, arg2, arg3, arg4); + } + + /** + * 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, boolean arg7, int arg8) { + 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, arg8); + } + + /** + * 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 000000000..6248e1ffb --- /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 000000000..b12da2bb5 --- /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 000000000..2cd26704b --- /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 000000000..1cb1e2326 --- /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 000000000..a63eacf1b --- /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 000000000..1690b1ef3 --- /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 000000000..248da15b0 --- /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 000000000..459311c1b --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsParityGaps.java @@ -0,0 +1,1456 @@ +/***************************************************************************** + * + * 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_trgeometry} — 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_trgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.acontains_geo_trgeometry(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_trgeometry} — 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_trgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.acovers_geo_trgeometry(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_trgeometry_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_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.acovers_trgeometry_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_trgeometry_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_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.adisjoint_trgeometry_geo(arg0, arg1); + } + + /** MEOS {@code adisjoint_trgeometry_trgeometry} — 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_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.adisjoint_trgeometry_trgeometry(arg0, arg1); + } + + /** MEOS {@code adwithin_trgeometry_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_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.adwithin_trgeometry_geo(arg0, arg1, arg2); + } + + /** MEOS {@code adwithin_trgeometry_trgeometry} — 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_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.adwithin_trgeometry_trgeometry(arg0, arg1, arg2); + } + + /** MEOS {@code aintersects_trgeometry_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_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.aintersects_trgeometry_geo(arg0, arg1); + } + + /** MEOS {@code aintersects_trgeometry_trgeometry} — 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_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.aintersects_trgeometry_trgeometry(arg0, arg1); + } + + /** MEOS {@code atouches_trgeometry_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_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.atouches_trgeometry_geo(arg0, arg1); + } + + /** MEOS {@code bearing_tpoint_point} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer bearing_tpoint_point(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, boolean arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bearing_tpoint_point requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bearing_tpoint_point(arg0, arg1, arg2); + } + + /** MEOS {@code bearing_tpoint_tpoint} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer bearing_tpoint_tpoint(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bearing_tpoint_tpoint requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bearing_tpoint_tpoint(arg0, arg1); + } + + /** MEOS {@code bigintspan_to_floatspan} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer bigintspan_to_floatspan(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bigintspan_to_floatspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bigintspan_to_floatspan(arg0); + } + + /** MEOS {@code bigintspan_to_intspan} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer bigintspan_to_intspan(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("bigintspan_to_intspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.bigintspan_to_intspan(arg0); + } + + /** MEOS {@code econtains_geo_trgeometry} — 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_trgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.econtains_geo_trgeometry(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_trgeometry} — 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_trgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.ecovers_geo_trgeometry(arg0, arg1); + } + + /** MEOS {@code ecovers_trgeometry_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_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.ecovers_trgeometry_geo(arg0, arg1); + } + + /** MEOS {@code edisjoint_trgeometry_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_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.edisjoint_trgeometry_geo(arg0, arg1); + } + + /** MEOS {@code edisjoint_trgeometry_trgeometry} — 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_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.edisjoint_trgeometry_trgeometry(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_trgeometry_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_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.edwithin_trgeometry_geo(arg0, arg1, arg2); + } + + /** MEOS {@code edwithin_trgeometry_trgeometry} — 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_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.edwithin_trgeometry_trgeometry(arg0, arg1, arg2); + } + + /** MEOS {@code eintersects_trgeometry_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_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.eintersects_trgeometry_geo(arg0, arg1); + } + + /** MEOS {@code eintersects_trgeometry_trgeometry} — 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_trgeometry_trgeometry requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.eintersects_trgeometry_trgeometry(arg0, arg1); + } + + /** MEOS {@code etouches_trgeometry_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_trgeometry_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.etouches_trgeometry_geo(arg0, arg1); + } + + /** MEOS {@code floatspan_to_bigintspan} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer floatspan_to_bigintspan(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("floatspan_to_bigintspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.floatspan_to_bigintspan(arg0); + } + + /** MEOS {@code geogpoint_make2d} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geogpoint_make2d(int arg0, double arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geogpoint_make2d requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geogpoint_make2d(arg0, arg1, arg2); + } + + /** MEOS {@code geogpoint_make3dz} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geogpoint_make3dz(int arg0, double arg1, double arg2, double arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geogpoint_make3dz requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geogpoint_make3dz(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code geomeas_to_tpoint} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geomeas_to_tpoint(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geomeas_to_tpoint requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geomeas_to_tpoint(arg0); + } + + /** MEOS {@code geompoint_make2d} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geompoint_make2d(int arg0, double arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geompoint_make2d requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geompoint_make2d(arg0, arg1, arg2); + } + + /** MEOS {@code geompoint_make3dz} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer geompoint_make3dz(int arg0, double arg1, double arg2, double arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geompoint_make3dz requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geompoint_make3dz(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code geompoint_to_npoint} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer geompoint_to_npoint(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("geompoint_to_npoint requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.geompoint_to_npoint(arg0); + } + + /** MEOS {@code intersection_cbuffer_set} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer intersection_cbuffer_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("intersection_cbuffer_set requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.intersection_cbuffer_set(arg0, arg1); + } + + /** MEOS {@code intersection_npoint_set} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer intersection_npoint_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("intersection_npoint_set requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.intersection_npoint_set(arg0, arg1); + } + + /** MEOS {@code intersection_pose_set} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer intersection_pose_set(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("intersection_pose_set requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.intersection_pose_set(arg0, arg1); + } + + /** MEOS {@code intspan_to_bigintspan} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer intspan_to_bigintspan(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("intspan_to_bigintspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.intspan_to_bigintspan(arg0); + } + + /** MEOS {@code line_interpolate_point} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer line_interpolate_point(jnr.ffi.Pointer arg0, double arg1, boolean arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("line_interpolate_point requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.line_interpolate_point(arg0, arg1, arg2); + } + + /** MEOS {@code line_locate_point} — meos_geo.h · scalar / stateless. */ + public static double line_locate_point(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("line_locate_point requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.line_locate_point(arg0, arg1); + } + + /** MEOS {@code line_point_n} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer line_point_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("line_point_n requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.line_point_n(arg0, arg1); + } + + /** MEOS {@code line_substring} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer line_substring(jnr.ffi.Pointer arg0, double arg1, double arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("line_substring requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.line_substring(arg0, arg1, arg2); + } + + /** MEOS {@code meos_initialize_noexit_error_handler} — meos.h · scalar / stateless. */ + public static void meos_initialize_noexit_error_handler() { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("meos_initialize_noexit_error_handler requires libmeos — set -Dmeos.enabled=true"); + functions.GeneratedFunctions.meos_initialize_noexit_error_handler(); + } + + /** MEOS {@code meos_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_normalize} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer pose_normalize(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("pose_normalize requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.pose_normalize(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) { + 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); + } + + /** MEOS {@code tand_bool_tbool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tand_bool_tbool(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tand_bool_tbool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tand_bool_tbool(arg0, arg1); + } + + /** MEOS {@code tand_tbool_bool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tand_tbool_bool(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tand_tbool_bool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tand_tbool_bool(arg0, arg1); + } + + /** MEOS {@code tand_tbool_tbool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tand_tbool_tbool(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tand_tbool_tbool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tand_tbool_tbool(arg0, arg1); + } + + /** MEOS {@code tbool_tand_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tbool_tand_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tbool_tand_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tbool_tand_combinefn(arg0, arg1); + } + + /** MEOS {@code tbool_tor_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tbool_tor_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tbool_tor_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tbool_tor_combinefn(arg0, arg1); + } + + /** MEOS {@code tboolseq_from_base_tstzset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tboolseq_from_base_tstzset(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tboolseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tboolseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tboolseq_from_base_tstzspan} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tboolseq_from_base_tstzspan(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tboolseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tboolseq_from_base_tstzspan(arg0, arg1); + } + + /** MEOS {@code tboolseqset_from_base_tstzspanset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tboolseqset_from_base_tstzspanset(boolean arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tboolseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tboolseqset_from_base_tstzspanset(arg0, arg1); + } + + /** MEOS {@code tbox_to_bigintspan} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tbox_to_bigintspan(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tbox_to_bigintspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tbox_to_bigintspan(arg0); + } + + /** MEOS {@code tcbuffer_convex_hull} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_convex_hull(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_convex_hull requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_convex_hull(arg0); + } + + /** MEOS {@code tcbuffer_end_value} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_end_value(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_end_value requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_end_value(arg0); + } + + /** MEOS {@code tcbuffer_from_base_temp} — meos_cbuffer.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tcbuffer_from_base_temp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_from_base_temp(arg0, arg1); + } + + /** MEOS {@code tcbuffer_start_value} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_start_value(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_start_value requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_start_value(arg0); + } + + /** MEOS {@code tcbuffer_traversed_area} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_traversed_area(jnr.ffi.Pointer arg0, boolean arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_traversed_area requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_traversed_area(arg0, arg1); + } + + /** MEOS {@code tcbuffer_value_at_timestamptz} — meos_cbuffer.h · scalar / stateless. */ + public static boolean tcbuffer_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + jnr.ffi.Pointer ptr = functions.GeneratedFunctions.tcbuffer_value_at_timestamptz(arg0, arg1, arg2); + if (ptr != null && arg3 != null) arg3.putPointer(0, ptr); + return ptr != null; + } + + /** MEOS {@code tcbuffer_value_n} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_value_n(jnr.ffi.Pointer arg0, int arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_value_n requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_value_n(arg0, arg1); + } + + /** MEOS {@code tcbuffer_values} — meos_cbuffer.h · scalar / stateless. */ + public static jnr.ffi.Pointer tcbuffer_values(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbuffer_values requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbuffer_values(arg0, arg1); + } + + /** MEOS {@code tcbufferinst_make} — meos_cbuffer.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tcbufferinst_make(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbufferinst_make requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbufferinst_make(arg0, arg1); + } + + /** MEOS {@code tcbufferseq_from_base_tstzset} — meos_cbuffer.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tcbufferseq_from_base_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbufferseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbufferseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tcbufferseq_from_base_tstzspan} — meos_cbuffer.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tcbufferseq_from_base_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbufferseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbufferseq_from_base_tstzspan(arg0, arg1, arg2); + } + + /** MEOS {@code tcbufferseqset_from_base_tstzspanset} — meos_cbuffer.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tcbufferseqset_from_base_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tcbufferseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tcbufferseqset_from_base_tstzspanset(arg0, arg1, arg2); + } + + /** MEOS {@code tdistance_tnpoint_geo} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer tdistance_tnpoint_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tdistance_tnpoint_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tdistance_tnpoint_geo(arg0, arg1); + } + + /** MEOS {@code tdistance_tpose_geo} — meos_pose.h · scalar / stateless. */ + public static jnr.ffi.Pointer tdistance_tpose_geo(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tdistance_tpose_geo requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tdistance_tpose_geo(arg0, arg1); + } + + /** MEOS {@code tdwithin_tgeoarr_tgeoarr} — meos_geo.h · scalar / stateless. */ + public static jnr.ffi.Pointer tdwithin_tgeoarr_tgeoarr(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, int arg3, double arg4, jnr.ffi.Pointer arg5, jnr.ffi.Pointer arg6) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tdwithin_tgeoarr_tgeoarr requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tdwithin_tgeoarr_tgeoarr(arg0, arg1, arg2, arg3, arg4, arg5, arg6); + } + + /** MEOS {@code temporal_basetype_name} — meos.h · scalar / stateless. */ + public static java.lang.String temporal_basetype_name(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("temporal_basetype_name requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.temporal_basetype_name(arg0); + } + + /** MEOS {@code temporal_tcount_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer temporal_tcount_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("temporal_tcount_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.temporal_tcount_combinefn(arg0, arg1); + } + + /** MEOS {@code tfloat_tmax_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tfloat_tmax_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloat_tmax_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloat_tmax_combinefn(arg0, arg1); + } + + /** MEOS {@code tfloat_tmin_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tfloat_tmin_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloat_tmin_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloat_tmin_combinefn(arg0, arg1); + } + + /** MEOS {@code tfloat_tsum_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tfloat_tsum_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloat_tsum_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloat_tsum_combinefn(arg0, arg1); + } + + /** MEOS {@code tfloatbox_time_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tfloatbox_time_tiles(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatbox_time_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatbox_time_tiles(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code tfloatbox_value_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tfloatbox_value_tiles(jnr.ffi.Pointer arg0, double arg1, double arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatbox_value_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatbox_value_tiles(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code tfloatbox_value_time_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tfloatbox_value_time_tiles(jnr.ffi.Pointer arg0, double arg1, jnr.ffi.Pointer arg2, double arg3, java.time.OffsetDateTime arg4, jnr.ffi.Pointer arg5) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatbox_value_time_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatbox_value_time_tiles(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** MEOS {@code tfloatseq_from_base_tstzset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tfloatseq_from_base_tstzset(double arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tfloatseq_from_base_tstzspan} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tfloatseq_from_base_tstzspan(double arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatseq_from_base_tstzspan(arg0, arg1, arg2); + } + + /** MEOS {@code tfloatseqset_from_base_tstzspanset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tfloatseqset_from_base_tstzspanset(double arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tfloatseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tfloatseqset_from_base_tstzspanset(arg0, arg1, arg2); + } + + /** MEOS {@code tgeoseq_from_base_tstzset} — meos_geo.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tgeoseq_from_base_tstzset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tgeoseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tgeoseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tgeoseq_from_base_tstzspan} — meos_geo.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tgeoseq_from_base_tstzspan(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tgeoseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tgeoseq_from_base_tstzspan(arg0, arg1, arg2); + } + + /** MEOS {@code tgeoseqset_from_base_tstzspanset} — meos_geo.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tgeoseqset_from_base_tstzspanset(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, int arg2) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tgeoseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tgeoseqset_from_base_tstzspanset(arg0, arg1, arg2); + } + + /** MEOS {@code tint_tmax_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tint_tmax_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tint_tmax_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tint_tmax_combinefn(arg0, arg1); + } + + /** MEOS {@code tint_tmin_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tint_tmin_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tint_tmin_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tint_tmin_combinefn(arg0, arg1); + } + + /** MEOS {@code tint_tsum_combinefn} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tint_tsum_combinefn(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tint_tsum_combinefn requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tint_tsum_combinefn(arg0, arg1); + } + + /** MEOS {@code tintbox_time_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tintbox_time_tiles(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintbox_time_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintbox_time_tiles(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code tintbox_value_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tintbox_value_tiles(jnr.ffi.Pointer arg0, int arg1, int arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintbox_value_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintbox_value_tiles(arg0, arg1, arg2, arg3); + } + + /** MEOS {@code tintbox_value_time_tiles} — meos.h · multidimensional tiling (windowed). */ + public static jnr.ffi.Pointer tintbox_value_time_tiles(jnr.ffi.Pointer arg0, int arg1, jnr.ffi.Pointer arg2, int arg3, java.time.OffsetDateTime arg4, jnr.ffi.Pointer arg5) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintbox_value_time_tiles requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintbox_value_time_tiles(arg0, arg1, arg2, arg3, arg4, arg5); + } + + /** MEOS {@code tintseq_from_base_tstzset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tintseq_from_base_tstzset(int arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintseq_from_base_tstzset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintseq_from_base_tstzset(arg0, arg1); + } + + /** MEOS {@code tintseq_from_base_tstzspan} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tintseq_from_base_tstzspan(int arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintseq_from_base_tstzspan requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintseq_from_base_tstzspan(arg0, arg1); + } + + /** MEOS {@code tintseqset_from_base_tstzspanset} — meos.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tintseqset_from_base_tstzspanset(int arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tintseqset_from_base_tstzspanset requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tintseqset_from_base_tstzspanset(arg0, arg1); + } + + /** MEOS {@code tnot_tbool} — meos.h · scalar / stateless. */ + public static jnr.ffi.Pointer tnot_tbool(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnot_tbool requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnot_tbool(arg0); + } + + /** MEOS {@code tnpoint_end_value} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer tnpoint_end_value(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpoint_end_value requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpoint_end_value(arg0); + } + + /** MEOS {@code tnpoint_from_base_temp} — meos_npoint.h · whole-sequence constructor — not a per-event op. */ + public static jnr.ffi.Pointer tnpoint_from_base_temp(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpoint_from_base_temp requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpoint_from_base_temp(arg0, arg1); + } + + /** MEOS {@code tnpoint_start_value} — meos_npoint.h · scalar / stateless. */ + public static jnr.ffi.Pointer tnpoint_start_value(jnr.ffi.Pointer arg0) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpoint_start_value requires libmeos — set -Dmeos.enabled=true"); + return functions.GeneratedFunctions.tnpoint_start_value(arg0); + } + + /** MEOS {@code tnpoint_value_at_timestamptz} — meos_npoint.h · scalar / stateless. */ + public static boolean tnpoint_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2, jnr.ffi.Pointer arg3) { + if (!MeosOpsRuntime.MEOS_AVAILABLE) + throw new UnsupportedOperationException("tnpoint_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + jnr.ffi.Pointer ptr = functions.GeneratedFunctions.tnpoint_value_at_timestamptz(arg0, arg1, arg2); + if (ptr != null && arg3 != null) arg3.putPointer(0, ptr); + return ptr != null; + } + + /** 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 000000000..dfd4078f7 --- /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 000000000..395a336de --- /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 000000000..88b034e46 --- /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 int stbox_hash_extended(jnr.ffi.Pointer arg0, int 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 000000000..c6346318e --- /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 int set_hash_extended(jnr.ffi.Pointer arg0, int 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) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "set_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.set_spans(arg0); + } + + /** + * 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 000000000..150b3d263 --- /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 int span_hash_extended(jnr.ffi.Pointer arg0, int 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 000000000..6e2e1c879 --- /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 int spanset_hash_extended(jnr.ffi.Pointer arg0, int 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) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_spanarr requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_spanarr(arg0); + } + + /** + * 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) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "spanset_spans requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.spanset_spans(arg0); + } + + /** + * 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 000000000..f883c015f --- /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 000000000..f84235e4d --- /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 000000000..0566436ad --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTBool.java @@ -0,0 +1,255 @@ +/***************************************************************************** + * + * 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 boolean tbool_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tbool_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + Pointer ptr = GeneratedFunctions.tbool_value_at_timestamptz(arg0, arg1, arg2); + if (ptr != null && arg3 != null) arg3.putByte(0, ptr.getByte(0)); + return ptr != null; + } + + /** + * 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 000000000..5e923e0fa --- /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 000000000..2dd4a53d6 --- /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 int tbox_hash_extended(jnr.ffi.Pointer arg0, int 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 000000000..285490b0e --- /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 000000000..f46b30cd0 --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTFloat.java @@ -0,0 +1,549 @@ +/***************************************************************************** + * + * 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 boolean tfloat_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + Pointer ptr = GeneratedFunctions.tfloat_value_at_timestamptz(arg0, arg1, arg2); + if (ptr != null && arg3 != null) arg3.putDouble(0, ptr.getDouble(0)); + return ptr != null; + } + + /** + * 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, jnr.ffi.Pointer arg3, jnr.ffi.Pointer arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tfloat_value_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tfloat_value_split(arg0, arg1, arg2, arg3, arg4); + } + + /** + * 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, jnr.ffi.Pointer arg5, jnr.ffi.Pointer arg6, jnr.ffi.Pointer arg7) { + 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, arg5, arg6, arg7); + } + + /** + * 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 000000000..a7bcc4764 --- /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 000000000..b110e322c --- /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 000000000..49ef573e4 --- /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 000000000..d34333ee3 --- /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 000000000..2352507b2 --- /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 000000000..f6bf8d57d --- /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 000000000..b5d94aaef --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTInt.java @@ -0,0 +1,451 @@ +/***************************************************************************** + * + * 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 boolean tint_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + Pointer ptr = GeneratedFunctions.tint_value_at_timestamptz(arg0, arg1, arg2); + if (ptr != null && arg3 != null) arg3.putInt(0, ptr.getInt(0)); + return ptr != null; + } + + /** + * 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, jnr.ffi.Pointer arg3, jnr.ffi.Pointer arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "tint_value_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.tint_value_split(arg0, arg1, arg2, arg3, arg4); + } + + /** + * 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, jnr.ffi.Pointer arg5, jnr.ffi.Pointer arg6, jnr.ffi.Pointer arg7) { + 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, arg5, arg6, arg7); + } + + /** + * 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 000000000..02b96600c --- /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 000000000..f20f405e6 --- /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 000000000..225ca5171 --- /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 000000000..dd6279150 --- /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 000000000..fdacd7ea8 --- /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 000000000..b3309ec80 --- /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 000000000..6ef8543ff --- /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 000000000..bf636bd56 --- /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 trgeometryinst_make(jnr.ffi.Pointer arg0, jnr.ffi.Pointer arg1, java.time.OffsetDateTime arg2) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "trgeometryinst_make requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.trgeometryinst_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 000000000..34cf32a95 --- /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 000000000..c2813ff13 --- /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 000000000..9929a828e --- /dev/null +++ b/jmeos-core/src/main/java/org/mobilitydb/meos/MeosOpsTText.java @@ -0,0 +1,297 @@ +/***************************************************************************** + * + * 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 boolean ttext_value_at_timestamptz(jnr.ffi.Pointer arg0, java.time.OffsetDateTime arg1, boolean arg2, jnr.ffi.Pointer arg3) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "ttext_value_at_timestamptz requires libmeos — set -Dmeos.enabled=true"); + } + Pointer ptr = GeneratedFunctions.ttext_value_at_timestamptz(arg0, arg1, arg2); + if (ptr != null && arg3 != null) arg3.putPointer(0, ptr); + return ptr != null; + } + + /** + * 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 000000000..c7efb5177 --- /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 000000000..20dabbf8c --- /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, jnr.ffi.Pointer arg3, jnr.ffi.Pointer arg4) { + if (!MEOS_AVAILABLE) { + throw new UnsupportedOperationException( + "temporal_time_split requires libmeos — set -Dmeos.enabled=true"); + } + return GeneratedFunctions.temporal_time_split(arg0, arg1, arg2, arg3, arg4); + } + + /** + * 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 000000000..9e6843c5d --- /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 000000000..508b2397d --- /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 000000000..810c275b2 --- /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 000000000..c264e12c1 --- /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 000000000..36501f005 --- /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 000000000..67c904815 --- /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/basic/tbool/TBool.java b/jmeos-core/src/main/java/types/basic/tbool/TBool.java index 46765ada6..7f3a7f41c 100644 --- a/jmeos-core/src/main/java/types/basic/tbool/TBool.java +++ b/jmeos-core/src/main/java/types/basic/tbool/TBool.java @@ -12,7 +12,7 @@ import types.collections.time.Time; import types.collections.time.tstzspanset; import types.temporal.*; -import functions.functions; +import functions.GeneratedFunctions; import utils.ConversionUtils; import java.time.LocalDateTime; @@ -47,7 +47,7 @@ public interface TBool { * @return A new :class:`TBool` object. */ default TBool from_base_temporal(boolean value, Temporal base){ - return (TBool) Factory.create_temporal(functions.tbool_from_base_temp(value, base.getInner()),customType,base.getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tbool_from_base_temp(value, base.getInner()),customType,base.getTemporalType()); } /** @@ -68,13 +68,13 @@ default TBool from_base_temporal(boolean value, Temporal base){ */ static Temporal from_base_time(boolean value, Time base){ if (base instanceof tstzspanset){ - return new TBoolSeq(functions.tboolseqset_from_base_tstzspanset(value,((tstzspanset) base).get_inner())); + return new TBoolSeq(GeneratedFunctions.tboolseqset_from_base_tstzspanset(value,((tstzspanset) base).get_inner())); } else if (base instanceof tstzset) { - return new TBoolSeq(functions.tboolseq_from_base_tstzset(value,((tstzset) base).get_inner())); + return new TBoolSeq(GeneratedFunctions.tboolseq_from_base_tstzset(value,((tstzset) base).get_inner())); } else if (base instanceof tstzspan) { - return new TBoolSeqSet(functions.tboolseq_from_base_tstzspan(value,((tstzspan) base).get_inner())); + return new TBoolSeqSet(GeneratedFunctions.tboolseq_from_base_tstzspan(value,((tstzspan) base).get_inner())); } return null; @@ -92,7 +92,7 @@ static Temporal from_base_time(boolean value, Time base){ tbool_from_mfjson */ default TBool from_mfjson(String mfjson){ - Pointer result= functions.tbool_from_mfjson(mfjson); + Pointer result= GeneratedFunctions.tbool_from_mfjson(mfjson); return (TBool) Factory.create_temporal(result, getCustomType(), getTemporalType()); } @@ -108,7 +108,7 @@ default TBool from_mfjson(String mfjson){ * @return Returns the string representation of "this" */ default String to_string(){ - return functions.tbool_out(getBoolInner()); + return GeneratedFunctions.tbool_out(getBoolInner()); } /** @@ -119,7 +119,7 @@ default String to_string(){ * @return Returns the string representation of "this" */ default String as_wkt(){ - return functions.tbool_out(getBoolInner()); + return GeneratedFunctions.tbool_out(getBoolInner()); } @@ -135,7 +135,7 @@ default Set value_set(){ Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer resPointer = functions.tbool_values(this.getBoolInner(), intPointer); + Pointer resPointer = GeneratedFunctions.tbool_values(this.getBoolInner(), intPointer); StringBuilder sb = null; sb.append("{"); int count= intPointer.getInt(Integer.BYTES); @@ -165,17 +165,17 @@ public Pointer createInner(Pointer inner) { @Override public Pointer createStringInner(String str) { - return functions.tbool_in(str); + return GeneratedFunctions.tbool_in(str); } @Override public Boolean start_element() throws ParseException { - return functions.tbool_start_value(this.get_inner()); + return GeneratedFunctions.tbool_start_value(this.get_inner()); } @Override public Boolean end_element() throws ParseException { - return functions.tbool_end_value(this.get_inner()); + return GeneratedFunctions.tbool_end_value(this.get_inner()); } }; } @@ -188,7 +188,7 @@ public Boolean end_element() throws ParseException { * @return Returns the starting value of "this". */ default boolean start_value(){ - return functions.tbool_start_value(getBoolInner()); + return GeneratedFunctions.tbool_start_value(getBoolInner()); } /** @@ -199,7 +199,7 @@ default boolean start_value(){ * @return Returns the ending value of "this". */ default boolean end_value(){ - return functions.tbool_end_value(getBoolInner()); + return GeneratedFunctions.tbool_end_value(getBoolInner()); } /** @@ -216,13 +216,10 @@ default boolean end_value(){ */ default boolean value_at_timestamp(LocalDateTime ts){ - // Create a JNR-FFI runtime instance - Runtime runtime = Runtime.getSystemRuntime(); - // Allocate memory for an integer (4 bytes) but do not set a value - Pointer boolPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - boolean res= functions.tbool_value_at_timestamptz(this.getBoolInner(), ConversionUtils.datetimeToTimestampTz(ts), true, boolPointer); - int value= boolPointer.getInt(Integer.BYTES); - return value > 0; + Pointer ptr = GeneratedFunctions.tbool_value_at_timestamptz( + this.getBoolInner(), ConversionUtils.datetimeToTimestampTz(ts), true); + if (ptr == null) throw new IllegalArgumentException("this has no value at the given timestamp"); + return ptr.getByte(0) != 0; } @@ -240,7 +237,7 @@ default boolean value_at_timestamp(LocalDateTime ts){ * @return True if "this" is always equal to "value", False otherwise. */ default boolean always_eq(boolean value){ - int result= functions.always_eq_tbool_bool(getBoolInner(), value); + int result= GeneratedFunctions.always_eq_tbool_bool(getBoolInner(), value); return result > 0; } @@ -256,7 +253,7 @@ default boolean always_eq(boolean value){ * @return True if "this" is ever equal to "value", False otherwise. */ default boolean ever_eq(boolean value){ - int result= functions.ever_eq_tbool_bool(getBoolInner(), value); + int result= GeneratedFunctions.ever_eq_tbool_bool(getBoolInner(), value); return result > 0; } @@ -293,7 +290,7 @@ default boolean never_eq(boolean value){ * @return A {@link TBool} with the result of the temporal equality relation. */ default TBool temporal_equal(boolean other){ - return (TBool) Factory.create_temporal(functions.teq_tbool_bool(getBoolInner(),other), getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.teq_tbool_bool(getBoolInner(),other), getCustomType(),getTemporalType()); } @@ -313,7 +310,7 @@ default TBool temporal_equal(boolean other){ * @return A {@link TBool} with the result of the temporal inequality relation. */ default TBool temporal_not_equal(boolean other){ - return (TBool) Factory.create_temporal(functions.tne_tbool_bool(getBoolInner(),other), getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tne_tbool_bool(getBoolInner(),other), getCustomType(),getTemporalType()); } @@ -337,7 +334,7 @@ default TBool temporal_not_equal(boolean other){ * @return A new temporal boolean. */ default TBool at(boolean other){ - return (TBool) Factory.create_temporal(functions.tbool_at_value(getBoolInner(),other), getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tbool_at_value(getBoolInner(),other), getCustomType(),getTemporalType()); } @@ -360,7 +357,7 @@ default TBool at(boolean other){ * @return A new temporal boolean. */ default TBool minus(boolean other){ - return (TBool) Factory.create_temporal(functions.tbool_minus_value(getBoolInner(),other), getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tbool_minus_value(getBoolInner(),other), getCustomType(),getTemporalType()); } /* ------------------------- Boolean Operations ---------------------------- */ @@ -380,7 +377,7 @@ default TBool minus(boolean other){ * * "other". */ default TBool temporal_and(TBool other){ - return (TBool) Factory.create_temporal(functions.tand_tbool_tbool(getBoolInner(),other.getBoolInner()), getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tand_tbool_tbool(getBoolInner(),other.getBoolInner()), getCustomType(),getTemporalType()); } /** @@ -414,7 +411,7 @@ default TBool and(Object other){ * * "other". */ default TBool temporal_and_bool(boolean other){ - return (TBool) Factory.create_temporal(functions.tand_tbool_bool(getBoolInner(),other), getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tand_tbool_bool(getBoolInner(),other), getCustomType(),getTemporalType()); } /** @@ -431,7 +428,7 @@ default TBool temporal_and_bool(boolean other){ * * "other". */ default TBool temporal_or(TBool other){ - return (TBool) Factory.create_temporal(functions.tor_tbool_tbool(getBoolInner(),other.getBoolInner()), getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tor_tbool_tbool(getBoolInner(),other.getBoolInner()), getCustomType(),getTemporalType()); } /** @@ -465,7 +462,7 @@ default TBool or(Object other){ * * "other". */ default TBool temporal_or_bool(boolean other){ - return (TBool) Factory.create_temporal(functions.tor_tbool_bool(getBoolInner(),other), getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tor_tbool_bool(getBoolInner(),other), getCustomType(),getTemporalType()); } @@ -478,7 +475,7 @@ default TBool temporal_or_bool(boolean other){ * @return A {@link TBool} with the temporal negation of "this". */ default TBool temporal_not(){ - return (TBool) Factory.create_temporal(functions.tnot_tbool(getBoolInner()),getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tnot_tbool(getBoolInner()),getCustomType(),getTemporalType()); } @@ -491,7 +488,7 @@ default TBool temporal_not(){ * @return A {@link tstzspan} with the periods where "this" is True. */ default tstzspanset when_true(){ - return new tstzspanset(functions.tbool_when_true(getBoolInner())); + return new tstzspanset(GeneratedFunctions.tbool_when_true(getBoolInner())); } @@ -504,7 +501,7 @@ default tstzspanset when_true(){ * @return A {@link tstzspan} with the periods where "this" is False. */ default tstzspanset when_false(){ - return new tstzspanset(functions.tbool_when_true(functions.tnot_tbool(getBoolInner()))); + return new tstzspanset(GeneratedFunctions.tbool_when_true(GeneratedFunctions.tnot_tbool(getBoolInner()))); } /** Returns the temporal negation of `this`. @@ -539,7 +536,7 @@ default TBool invert(){ * tbool_out */ default String asString() { - return functions.tbool_out(getBoolInner()); + return GeneratedFunctions.tbool_out(getBoolInner()); } } \ No newline at end of file diff --git a/jmeos-core/src/main/java/types/basic/tbool/TBoolInst.java b/jmeos-core/src/main/java/types/basic/tbool/TBoolInst.java index b8d0e8671..645361313 100644 --- a/jmeos-core/src/main/java/types/basic/tbool/TBoolInst.java +++ b/jmeos-core/src/main/java/types/basic/tbool/TBoolInst.java @@ -2,7 +2,7 @@ import types.temporal.TInstant; import jnr.ffi.Pointer; -import functions.functions; +import functions.GeneratedFunctions; import types.temporal.TemporalType; @@ -37,7 +37,7 @@ public TBoolInst(Pointer inner){ */ public TBoolInst(String value) { super(value); - this.inner = functions.tbool_in(value); + this.inner = GeneratedFunctions.tbool_in(value); } /** @@ -75,7 +75,7 @@ public TBoolInst(String str, boolean value, String timemstamp, Pointer inner) { @Override public Pointer createStringInner(String str){ - return functions.tbool_in(str); + return GeneratedFunctions.tbool_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tbool/TBoolSeq.java b/jmeos-core/src/main/java/types/basic/tbool/TBoolSeq.java index e4b08e950..b2457310c 100644 --- a/jmeos-core/src/main/java/types/basic/tbool/TBoolSeq.java +++ b/jmeos-core/src/main/java/types/basic/tbool/TBoolSeq.java @@ -1,6 +1,6 @@ package types.basic.tbool; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Pointer; import types.temporal.TSequence; import types.temporal.TemporalType; @@ -49,7 +49,7 @@ public TBoolSeq(String value){ */ public TBoolSeq(String value, int interpolation) { super(value); - this.inner = functions.tbool_in(value); + this.inner = GeneratedFunctions.tbool_in(value); } @@ -64,7 +64,7 @@ public TBoolSeq(List list, boolean lower_inc, boolean upper_inc,int inte @Override public Pointer createStringInner(String str){ - return functions.tbool_in(str); + return GeneratedFunctions.tbool_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tbool/TBoolSeqSet.java b/jmeos-core/src/main/java/types/basic/tbool/TBoolSeqSet.java index 491db1779..eb8891cd6 100644 --- a/jmeos-core/src/main/java/types/basic/tbool/TBoolSeqSet.java +++ b/jmeos-core/src/main/java/types/basic/tbool/TBoolSeqSet.java @@ -1,6 +1,6 @@ package types.basic.tbool; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Pointer; import types.temporal.TSequenceSet; import types.temporal.TemporalType; @@ -35,14 +35,14 @@ public TBoolSeqSet(Pointer inner){ */ public TBoolSeqSet(String value) { super(value); - this.inner = functions.tbool_in(value); + this.inner = GeneratedFunctions.tbool_in(value); } @Override public Pointer createStringInner(String str){ - return functions.tbool_in(str); + return GeneratedFunctions.tbool_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tfloat/TFloat.java b/jmeos-core/src/main/java/types/basic/tfloat/TFloat.java index 6e0a96b0d..dee0c042c 100644 --- a/jmeos-core/src/main/java/types/basic/tfloat/TFloat.java +++ b/jmeos-core/src/main/java/types/basic/tfloat/TFloat.java @@ -16,7 +16,7 @@ import types.collections.time.Time; import types.collections.time.tstzspanset; import types.temporal.*; -import functions.functions; +import functions.GeneratedFunctions; import utils.ConversionUtils; import java.time.LocalDateTime; @@ -51,7 +51,7 @@ public interface TFloat extends TNumber { * @return A new {@link Float} object. */ default TFloat from_base_temporal(float value, Temporal base, TInterpolation interp){ - return (TFloat) Factory.create_temporal(functions.tfloat_from_base_temp(value,base.getInner()),getCustomType(),getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tfloat_from_base_temp(value,base.getInner()),getCustomType(),getTemporalType()); } /** @@ -74,11 +74,11 @@ default TFloat from_base_temporal(float value, Temporal base, TInterpolation int */ static TFloat from_base_time(float value, Time base, TInterpolation interpolation){ if (base instanceof tstzspanset) { - return new TFloatSeq(functions.tfloatseqset_from_base_tstzspanset((double) value, ((tstzspanset) base).get_inner(), interpolation.getValue())); + return new TFloatSeq(GeneratedFunctions.tfloatseqset_from_base_tstzspanset((double) value, ((tstzspanset) base).get_inner(), interpolation.getValue())); } else if (base instanceof tstzset) { - return new TFloatSeq(functions.tfloatseq_from_base_tstzset(value, ((tstzset) base).get_inner())); + return new TFloatSeq(GeneratedFunctions.tfloatseq_from_base_tstzset(value, ((tstzset) base).get_inner())); } else if (base instanceof tstzspan) { - return new TFloatSeqSet(functions.tfloatseq_from_base_tstzspan(value, ((tstzspan) base).get_inner(), interpolation.getValue())); + return new TFloatSeqSet(GeneratedFunctions.tfloatseq_from_base_tstzspan(value, ((tstzspan) base).get_inner(), interpolation.getValue())); } throw new UnsupportedOperationException("Operation not supported with type " + base.getClass()); } @@ -96,7 +96,7 @@ static TFloat from_base_time(float value, Time base, TInterpolation interpolatio tfloat_from_mfjson */ default TFloat from_mfjson(String mfjson) { - Pointer resPointer= functions.tfloat_from_mfjson(mfjson); + Pointer resPointer= GeneratedFunctions.tfloat_from_mfjson(mfjson); return (TFloat) Factory.create_temporal(resPointer, getCustomType(), getTemporalType()); } @@ -115,7 +115,7 @@ default TFloat from_mfjson(String mfjson) { * @return A string representation of "this". */ default String to_string(int max_decimals){ - return functions.tfloat_out(getNumberInner(), max_decimals); + return GeneratedFunctions.tfloat_out(getNumberInner(), max_decimals); } /** @@ -128,7 +128,7 @@ default String to_string(int max_decimals){ * @return A string representation of "this". */ default String as_wkt(int max_decimals){ - return functions.tfloat_out(getNumberInner(),max_decimals); + return GeneratedFunctions.tfloat_out(getNumberInner(),max_decimals); } /* ------------------------- Conversions ---------------------------------- */ @@ -148,7 +148,7 @@ default String as_wkt(int max_decimals){ @return A new temporal integer. */ default TInt to_tint(){ - return (TInt) Factory.create_temporal(functions.tfloat_to_tint(getNumberInner()),"Integer",getTemporalType()); + return (TInt) Factory.create_temporal(GeneratedFunctions.tfloat_to_tint(getNumberInner()),"Integer",getTemporalType()); } @@ -165,7 +165,7 @@ default TInt to_tint(){ * @return An {@link FloatSpan} with the value span of "this". */ default FloatSpan to_floatrange(){ - return new FloatSpan(functions.tnumber_to_span(getNumberInner())); + return new FloatSpan(GeneratedFunctions.tnumber_to_span(getNumberInner())); } @@ -196,7 +196,7 @@ default FloatSpan value_span(){ * @return */ default FloatSpanSet value_spans(){ - return new FloatSpanSet(functions.tnumber_valuespans(getNumberInner())); + return new FloatSpanSet(GeneratedFunctions.tnumber_valuespans(getNumberInner())); } /** @@ -209,7 +209,7 @@ default FloatSpanSet value_spans(){ * @return A {@link Float} with the start value. */ default float start_value(){ - return (float) functions.tfloat_start_value(getNumberInner()); + return (float) GeneratedFunctions.tfloat_start_value(getNumberInner()); } /** @@ -221,7 +221,7 @@ default float start_value(){ * @return A {@link Float} with the end value. */ default float end_value(){ - return (float) functions.tfloat_end_value(getNumberInner()); + return (float) GeneratedFunctions.tfloat_end_value(getNumberInner()); } /** Returns the set of values of `self`. @@ -239,7 +239,7 @@ default FloatSet value_set(){ Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer resPointer = functions.tfloat_values(this.getNumberInner(), intPointer); + Pointer resPointer = GeneratedFunctions.tfloat_values(this.getNumberInner(), intPointer); StringBuilder sb = null; sb.append("{"); int count= intPointer.getInt(Integer.BYTES); @@ -265,7 +265,7 @@ default FloatSet value_set(){ * @return A {@link Float} with the minimum value. */ default float min_value(){ - return (float) functions.tfloat_min_value(getNumberInner()); + return (float) GeneratedFunctions.tfloat_min_value(getNumberInner()); } /** @@ -278,7 +278,7 @@ default float min_value(){ * @return A {@link Float} with the maximum value. */ default float max_value(){ - return (float) functions.tfloat_max_value(getNumberInner()); + return (float) GeneratedFunctions.tfloat_max_value(getNumberInner()); } @@ -297,7 +297,7 @@ default float max_value(){ * * "False" otherwise. */ default boolean always_equal(float value){ - return functions.always_eq_tfloat_float(getNumberInner(),value) > 0; + return GeneratedFunctions.always_eq_tfloat_float(getNumberInner(),value) > 0; } /** @@ -312,7 +312,7 @@ default boolean always_equal(float value){ * * "False" otherwise. */ default boolean always_not_equal(float value){ - return (functions.always_ne_tfloat_float(getNumberInner(),value)) > 0; + return (GeneratedFunctions.always_ne_tfloat_float(getNumberInner(),value)) > 0; } @@ -328,7 +328,7 @@ default boolean always_not_equal(float value){ * * "False" otherwise. */ default boolean always_less(float value){ - return functions.always_lt_tfloat_float(getNumberInner(),value) > 0; + return GeneratedFunctions.always_lt_tfloat_float(getNumberInner(),value) > 0; } @@ -345,7 +345,7 @@ default boolean always_less(float value){ * * "value", "False" otherwise. */ default boolean always_less_or_equal(float value){ - return functions.always_le_tfloat_float(getNumberInner(),value) > 0; + return GeneratedFunctions.always_le_tfloat_float(getNumberInner(),value) > 0; } /** @@ -361,7 +361,7 @@ default boolean always_less_or_equal(float value){ * * "value", "False" otherwise. */ default boolean always_greater_or_equal(float value){ - return (functions.always_ge_tfloat_float(getNumberInner(),value)) > 0; + return (GeneratedFunctions.always_ge_tfloat_float(getNumberInner(),value)) > 0; } /** @@ -376,7 +376,7 @@ default boolean always_greater_or_equal(float value){ * * " `False`" otherwise. */ default boolean always_greater(float value){ - return (functions.always_gt_tfloat_float(getNumberInner(),value)) > 0; + return (GeneratedFunctions.always_gt_tfloat_float(getNumberInner(),value)) > 0; } /** @@ -391,7 +391,7 @@ default boolean always_greater(float value){ * * "False" otherwise. */ default boolean ever_less(float value){ - return functions.ever_lt_tfloat_float(getNumberInner(),value) > 0; + return GeneratedFunctions.ever_lt_tfloat_float(getNumberInner(),value) > 0; } @@ -408,7 +408,7 @@ default boolean ever_less(float value){ * * "value", "False" otherwise. */ default boolean ever_less_or_equal(float value){ - return functions.ever_le_tfloat_float(getNumberInner(),value) > 0; + return GeneratedFunctions.ever_le_tfloat_float(getNumberInner(),value) > 0; } @@ -424,7 +424,7 @@ default boolean ever_less_or_equal(float value){ * * otherwise. */ default boolean ever_equal(float value){ - return functions.ever_eq_tfloat_float(getNumberInner(),value) > 0; + return GeneratedFunctions.ever_eq_tfloat_float(getNumberInner(),value) > 0; } /** @@ -439,7 +439,7 @@ default boolean ever_equal(float value){ * * "False" otherwise. */ default boolean ever_not_equal(float value){ - return (functions.ever_ne_tfloat_float(getNumberInner(),value)) > 0; + return (GeneratedFunctions.ever_ne_tfloat_float(getNumberInner(),value)) > 0; } /** @@ -456,7 +456,7 @@ default boolean ever_not_equal(float value){ * * "value", "False" otherwise. */ default boolean ever_greater_or_equal(float value){ - return (functions.ever_ge_tfloat_float(getNumberInner(),value)) > 0; + return (GeneratedFunctions.ever_ge_tfloat_float(getNumberInner(),value)) > 0; } /** @@ -471,7 +471,7 @@ default boolean ever_greater_or_equal(float value){ * * "False" otherwise. */ default boolean ever_greater(float value){ - return (functions.ever_gt_tfloat_float(getNumberInner(),value)) > 0; + return (GeneratedFunctions.ever_gt_tfloat_float(getNumberInner(),value)) > 0; } /** @@ -586,7 +586,7 @@ default boolean never_greater(float value){ */ default Temporal temporal_equal(Number other){ if ((other instanceof Float) || (other instanceof Integer)){ - return Factory.create_temporal(functions.teq_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.teq_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -610,7 +610,7 @@ default Temporal temporal_equal(Number other){ */ default Temporal temporal_not_equal(Number other){ if ((other instanceof Float) || (other instanceof Integer)){ - return Factory.create_temporal(functions.tne_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tne_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -635,7 +635,7 @@ default Temporal temporal_not_equal(Number other){ */ default Temporal temporal_less(Number other){ if ((other instanceof Float) || (other instanceof Integer)){ - return Factory.create_temporal(functions.tlt_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tlt_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -660,7 +660,7 @@ default Temporal temporal_less(Number other){ */ default Temporal temporal_less_or_equal(Number other){ if ((other instanceof Float) || (other instanceof Integer)){ - return Factory.create_temporal(functions.tle_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tle_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -684,7 +684,7 @@ default Temporal temporal_less_or_equal(Number other){ */ default Temporal temporal_greater_or_equal(Number other){ if ((other instanceof Float) || (other instanceof Integer)){ - return Factory.create_temporal(functions.tge_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tge_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -707,7 +707,7 @@ default Temporal temporal_greater_or_equal(Number other){ */ default Temporal temporal_greater(Number other){ if ((other instanceof Float) || (other instanceof Integer)){ - return Factory.create_temporal(functions.tgt_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tgt_tfloat_float(getNumberInner(),(float) other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -730,13 +730,10 @@ default Temporal temporal_greater(Number other){ tfloat_value_at_timestamp */ default float value_at_timestamp(LocalDateTime ts){ - // Create a JNR-FFI runtime instance - Runtime runtime = Runtime.getSystemRuntime(); - // Allocate memory for an integer (4 bytes) but do not set a value - Pointer floatPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - boolean res= functions.tfloat_value_at_timestamptz(this.getNumberInner(), ConversionUtils.datetimeToTimestampTz(ts), true, floatPointer); - float value= floatPointer.getFloat(Float.BYTES); - return value; + Pointer ptr = GeneratedFunctions.tfloat_value_at_timestamptz( + this.getNumberInner(), ConversionUtils.datetimeToTimestampTz(ts), true); + if (ptr == null) throw new IllegalArgumentException("this has no value at the given timestamp"); + return (float) ptr.getDouble(0); } /** Returns the derivative of `self`. @@ -748,7 +745,7 @@ default float value_at_timestamp(LocalDateTime ts){ temporal_derivative */ default TFloat derivative(){ - return (TFloat) Factory.create_temporal(functions.temporal_derivative(this.getNumberInner()), getCustomType(), getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.temporal_derivative(this.getNumberInner()), getCustomType(), getTemporalType()); } @@ -766,7 +763,7 @@ default TFloat derivative(){ * @return A {@link TFloat} instance. */ default Temporal to_degrees(boolean normalize){ - return Factory.create_temporal(functions.tfloat_degrees(getNumberInner(),normalize), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tfloat_degrees(getNumberInner(),normalize), getCustomType(),getTemporalType()); } @@ -780,7 +777,7 @@ default Temporal to_degrees(boolean normalize){ * @return A new {@link TFloat} instance. */ default Temporal to_radians(){ - return Factory.create_temporal(functions.tfloat_radians(getNumberInner()), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tfloat_radians(getNumberInner()), getCustomType(),getTemporalType()); } @@ -796,6 +793,6 @@ default Temporal to_radians(){ * @return A new {@link TFloat} instance. */ default Temporal round(int max_decimals){ - return Factory.create_temporal(functions.temporal_round(getNumberInner(),max_decimals), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.temporal_round(getNumberInner(),max_decimals), getCustomType(),getTemporalType()); } } diff --git a/jmeos-core/src/main/java/types/basic/tfloat/TFloatInst.java b/jmeos-core/src/main/java/types/basic/tfloat/TFloatInst.java index 4956f935c..787495580 100644 --- a/jmeos-core/src/main/java/types/basic/tfloat/TFloatInst.java +++ b/jmeos-core/src/main/java/types/basic/tfloat/TFloatInst.java @@ -1,6 +1,6 @@ package types.basic.tfloat; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Pointer; import types.temporal.TInstant; import types.temporal.TemporalType; @@ -36,14 +36,14 @@ public TFloatInst(Pointer inner){ */ public TFloatInst(String value) { super(value); - this.inner = functions.tfloat_in(value); + this.inner = GeneratedFunctions.tfloat_in(value); } @Override public Pointer createStringInner(String str){ - return functions.tfloat_in(str); + return GeneratedFunctions.tfloat_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tfloat/TFloatSeq.java b/jmeos-core/src/main/java/types/basic/tfloat/TFloatSeq.java index 0b8f62c02..d287e077f 100644 --- a/jmeos-core/src/main/java/types/basic/tfloat/TFloatSeq.java +++ b/jmeos-core/src/main/java/types/basic/tfloat/TFloatSeq.java @@ -1,6 +1,6 @@ package types.basic.tfloat; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Pointer; import types.temporal.TSequence; import types.temporal.TemporalType; @@ -39,7 +39,7 @@ public TFloatSeq(Pointer inner){ */ public TFloatSeq(String value){ super(value); - this.inner = functions.tfloat_in(value); + this.inner = GeneratedFunctions.tfloat_in(value); } @@ -66,7 +66,7 @@ public TFloatSeq(List list, boolean lower_inc, boolean upper_inc, int in @Override public Pointer createStringInner(String str){ - return functions.tfloat_in(str); + return GeneratedFunctions.tfloat_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tfloat/TFloatSeqSet.java b/jmeos-core/src/main/java/types/basic/tfloat/TFloatSeqSet.java index b9e54d899..7d5aac17d 100644 --- a/jmeos-core/src/main/java/types/basic/tfloat/TFloatSeqSet.java +++ b/jmeos-core/src/main/java/types/basic/tfloat/TFloatSeqSet.java @@ -1,6 +1,6 @@ package types.basic.tfloat; -import functions.functions; +import functions.GeneratedFunctions; import types.temporal.TSequenceSet; import jnr.ffi.Pointer; import types.temporal.TemporalType; @@ -38,14 +38,14 @@ public TFloatSeqSet(Pointer inner){ */ public TFloatSeqSet(String value) { super(value); - this.inner = functions.tfloat_in(value); + this.inner = GeneratedFunctions.tfloat_in(value); } @Override public Pointer createStringInner(String str){ - return functions.tfloat_in(str); + return GeneratedFunctions.tfloat_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tint/TInt.java b/jmeos-core/src/main/java/types/basic/tint/TInt.java index 74d8bc09c..49a711c26 100644 --- a/jmeos-core/src/main/java/types/basic/tint/TInt.java +++ b/jmeos-core/src/main/java/types/basic/tint/TInt.java @@ -1,5 +1,5 @@ package types.basic.tint; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Memory; import jnr.ffi.Pointer; import jnr.ffi.Runtime; @@ -50,7 +50,7 @@ public interface TInt extends TNumber { * @return A new {@link Float} object. */ default TInt from_base_temporal(int value, Temporal base, TInterpolation interp){ - return (TInt) Factory.create_temporal(functions.tint_from_base_temp(value,base.getInner()),getCustomType(),getTemporalType()); + return (TInt) Factory.create_temporal(GeneratedFunctions.tint_from_base_temp(value,base.getInner()),getCustomType(),getTemporalType()); } /** @@ -73,15 +73,15 @@ default TInt from_base_temporal(int value, Temporal base, TInterpolation interp) */ static TInt from_base_time(int value, Object base, TInterpolation interpolation) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { if (base instanceof LocalDateTime){ - return new TIntInst(functions.tintinst_make(value, ConversionUtils.datetimeToTimestampTz((LocalDateTime) base))); + return new TIntInst(GeneratedFunctions.tintinst_make(value, ConversionUtils.datetimeToTimestampTz((LocalDateTime) base))); } if (base instanceof tstzspanset) { - return new TIntSeqSet(functions.tintseqset_from_base_tstzspanset(value, ((tstzspanset) base).get_inner())); + return new TIntSeqSet(GeneratedFunctions.tintseqset_from_base_tstzspanset(value, ((tstzspanset) base).get_inner())); } else if (base instanceof tstzset) { - return new TIntSeq(functions.tintseq_from_base_tstzset(value, ((tstzset) base).get_inner())); + return new TIntSeq(GeneratedFunctions.tintseq_from_base_tstzset(value, ((tstzset) base).get_inner())); } else if (base instanceof tstzspan) { tstzspanset ss= new tstzspanset(((tstzspan) base).to_spanset(tstzspanset.class).get_inner()); - return new TIntSeq(functions.tintseqset_from_base_tstzspanset(value, ss.get_inner())); + return new TIntSeq(GeneratedFunctions.tintseqset_from_base_tstzspanset(value, ss.get_inner())); } throw new UnsupportedOperationException("Operation not supported with type " + base.getClass()); } @@ -100,7 +100,7 @@ static TInt from_base_time(int value, Object base, TInterpolation interpolation) */ default TInt from_mfjson(String mfjson){ - Pointer result= functions.tint_from_mfjson(mfjson); + Pointer result= GeneratedFunctions.tint_from_mfjson(mfjson); return (TInt) Factory.create_temporal(result, getCustomType(), getTemporalType()); } @@ -117,7 +117,7 @@ default TInt from_mfjson(String mfjson){ * @return A string representation of "this". */ default String to_string(){ - return functions.tint_out(getNumberInner()); + return GeneratedFunctions.tint_out(getNumberInner()); } /** @@ -129,7 +129,7 @@ default String to_string(){ * @return A string representation of "this". */ default String as_wkt(){ - return functions.tint_out(getNumberInner()); + return GeneratedFunctions.tint_out(getNumberInner()); } @@ -150,7 +150,7 @@ default String as_wkt(){ * @return A new temporal float. */ default TFloat to_tfloat(){ - return (TFloat) Factory.create_temporal(functions.tint_to_tfloat(getNumberInner()),"Float",getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tint_to_tfloat(getNumberInner()),"Float",getTemporalType()); } @@ -167,7 +167,7 @@ default TFloat to_tfloat(){ * @return An {@link IntSpan} with the value span of "this". */ default IntSpan to_intspan(){ - return new IntSpan(functions.tnumber_to_span(getNumberInner())); + return new IntSpan(GeneratedFunctions.tnumber_to_span(getNumberInner())); } @@ -197,7 +197,7 @@ default IntSpan value_span(){ * @return A {@link IntSpanSet} with the value spans of "this". */ default IntSpanSet value_spans(){ - return new IntSpanSet(functions.tnumber_valuespans(getNumberInner())); + return new IntSpanSet(GeneratedFunctions.tnumber_valuespans(getNumberInner())); } /** @@ -210,7 +210,7 @@ default IntSpanSet value_spans(){ * @return A {@link Integer} with the start value. */ default int start_value(){ - return functions.tint_start_value(getNumberInner()); + return GeneratedFunctions.tint_start_value(getNumberInner()); } /** @@ -222,7 +222,7 @@ default int start_value(){ * @return A {@link Integer} with the end value. */ default int end_value(){ - return functions.tint_end_value(getNumberInner()); + return GeneratedFunctions.tint_end_value(getNumberInner()); } /** @@ -240,7 +240,7 @@ default IntSet value_set(){ Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer res= functions.tint_values(this.getNumberInner(), intPointer); + Pointer res= GeneratedFunctions.tint_values(this.getNumberInner(), intPointer); int count= intPointer.getInt(Integer.BYTES); StringBuilder sb = new StringBuilder(); sb.append("{"); @@ -265,7 +265,7 @@ default IntSet value_set(){ * @return A {@link Integer} with the minimum value. */ default int min_value(){ - return functions.tint_min_value(getNumberInner()); + return GeneratedFunctions.tint_min_value(getNumberInner()); } /** @@ -278,7 +278,7 @@ default int min_value(){ * @return A {@link Integer} with the maximum value. */ default int max_value(){ - return functions.tint_max_value(getNumberInner()); + return GeneratedFunctions.tint_max_value(getNumberInner()); } /* @@ -295,13 +295,10 @@ default int max_value(){ */ default int value_at_timestamp(LocalDateTime timestamp){ - // Create a JNR-FFI runtime instance - Runtime runtime = Runtime.getSystemRuntime(); - // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - boolean x= functions.tint_value_at_timestamptz(this.getNumberInner(), ConversionUtils.datetimeToTimestampTz(timestamp), true, intPointer); - int num= intPointer.getInt(Integer.BYTES); - return num; + Pointer ptr = GeneratedFunctions.tint_value_at_timestamptz( + this.getNumberInner(), ConversionUtils.datetimeToTimestampTz(timestamp), true); + if (ptr == null) throw new IllegalArgumentException("this has no value at the given timestamp"); + return ptr.getInt(0); } /* ------------------------- Ever and Always Comparisons ------------------- */ @@ -319,7 +316,7 @@ default int value_at_timestamp(LocalDateTime timestamp){ * * "False" otherwise. */ default boolean always_equal(int value){ - return functions.always_eq_tint_int(getNumberInner(),value) > 0; + return GeneratedFunctions.always_eq_tint_int(getNumberInner(),value) > 0; } /** @@ -334,7 +331,7 @@ default boolean always_equal(int value){ * * "False" otherwise. */ default boolean always_not_equal(int value){ - return (functions.ever_ne_tint_int(getNumberInner(),value)) > 0; + return (GeneratedFunctions.ever_ne_tint_int(getNumberInner(),value)) > 0; } @@ -350,7 +347,7 @@ default boolean always_not_equal(int value){ * * "False" otherwise. */ default boolean always_less(int value){ - return functions.always_lt_tint_int(getNumberInner(),value) > 0; + return GeneratedFunctions.always_lt_tint_int(getNumberInner(),value) > 0; } @@ -367,7 +364,7 @@ default boolean always_less(int value){ * * "value", "False" otherwise. */ default boolean always_less_or_equal(int value){ - return functions.always_le_tint_int(getNumberInner(),value) > 0; + return GeneratedFunctions.always_le_tint_int(getNumberInner(),value) > 0; } /** @@ -383,7 +380,7 @@ default boolean always_less_or_equal(int value){ * * "value", "False" otherwise. */ default boolean always_greater_or_equal(int value){ - return (functions.ever_lt_tint_int(getNumberInner(),value)) > 0; + return (GeneratedFunctions.ever_lt_tint_int(getNumberInner(),value)) > 0; } /** @@ -398,7 +395,7 @@ default boolean always_greater_or_equal(int value){ * * " `False`" otherwise. */ default boolean always_greater(int value){ - return (functions.always_gt_tint_int(getNumberInner(),value)) > 0; + return (GeneratedFunctions.always_gt_tint_int(getNumberInner(),value)) > 0; } /** @@ -413,7 +410,7 @@ default boolean always_greater(int value){ * * "False" otherwise. */ default boolean ever_less(int value){ - return functions.ever_lt_tint_int(getNumberInner(),value) > 0; + return GeneratedFunctions.ever_lt_tint_int(getNumberInner(),value) > 0; } @@ -430,7 +427,7 @@ default boolean ever_less(int value){ * * "value", "False" otherwise. */ default boolean ever_less_or_equal(int value){ - return functions.ever_le_tint_int(getNumberInner(),value) > 0; + return GeneratedFunctions.ever_le_tint_int(getNumberInner(),value) > 0; } @@ -446,7 +443,7 @@ default boolean ever_less_or_equal(int value){ * * otherwise. */ default boolean ever_equal(int value){ - return functions.ever_eq_tint_int(getNumberInner(),value) > 0; + return GeneratedFunctions.ever_eq_tint_int(getNumberInner(),value) > 0; } /** @@ -461,7 +458,7 @@ default boolean ever_equal(int value){ * * "False" otherwise. */ default boolean ever_not_equal(int value){ - return (functions.ever_ne_tint_int(getNumberInner(),value)) > 0; + return (GeneratedFunctions.ever_ne_tint_int(getNumberInner(),value)) > 0; } /** @@ -478,7 +475,7 @@ default boolean ever_not_equal(int value){ * * "value", "False" otherwise. */ default boolean ever_greater_or_equal(int value){ - return (functions.ever_ge_tint_int(getNumberInner(),value)) > 0; + return (GeneratedFunctions.ever_ge_tint_int(getNumberInner(),value)) > 0; } /** @@ -493,7 +490,7 @@ default boolean ever_greater_or_equal(int value){ * * "False" otherwise. */ default boolean ever_greater(int value){ - return (functions.ever_gt_tint_int(getNumberInner(),value)) > 0; + return (GeneratedFunctions.ever_gt_tint_int(getNumberInner(),value)) > 0; } /** @@ -608,7 +605,7 @@ default boolean never_greater(int value){ */ default Temporal temporal_equal(Object other){ if ((other instanceof Integer)){ - return Factory.create_temporal(functions.teq_tint_int(getNumberInner(), ((Integer) other)), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.teq_tint_int(getNumberInner(), ((Integer) other)), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -632,7 +629,7 @@ default Temporal temporal_equal(Object other){ */ default Temporal temporal_not_equal(Integer other){ if ((other != null)){ - return Factory.create_temporal(functions.tne_tint_int(getNumberInner(), other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tne_tint_int(getNumberInner(), other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -657,7 +654,7 @@ default Temporal temporal_not_equal(Integer other){ */ default Temporal temporal_less(Integer other){ if ((other != null)){ - return Factory.create_temporal(functions.tlt_tint_int(getNumberInner(), other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tlt_tint_int(getNumberInner(), other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -682,7 +679,7 @@ default Temporal temporal_less(Integer other){ */ default Temporal temporal_less_or_equal(Integer other){ if ((other != null)){ - return Factory.create_temporal(functions.tle_tint_int(getNumberInner(), other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tle_tint_int(getNumberInner(), other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -706,7 +703,7 @@ default Temporal temporal_less_or_equal(Integer other){ */ default Temporal temporal_greater_or_equal(Integer other){ if ((other != null)){ - return Factory.create_temporal(functions.tge_tint_int(getNumberInner(), other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tge_tint_int(getNumberInner(), other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -729,7 +726,7 @@ default Temporal temporal_greater_or_equal(Integer other){ */ default Temporal temporal_greater(Integer other){ if ((other instanceof Integer)){ - return Factory.create_temporal(functions.tgt_tint_int(getNumberInner(), other), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tgt_tint_int(getNumberInner(), other), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); diff --git a/jmeos-core/src/main/java/types/basic/tint/TIntInst.java b/jmeos-core/src/main/java/types/basic/tint/TIntInst.java index 1a4803f16..d4a521f57 100644 --- a/jmeos-core/src/main/java/types/basic/tint/TIntInst.java +++ b/jmeos-core/src/main/java/types/basic/tint/TIntInst.java @@ -1,6 +1,6 @@ package types.basic.tint; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Pointer; import types.temporal.TInstant; import types.temporal.TemporalType; @@ -36,14 +36,14 @@ public TIntInst(Pointer inner){ */ public TIntInst(String value) { super(value); - this.inner = functions.tint_in(value); + this.inner = GeneratedFunctions.tint_in(value); } @Override public Pointer createStringInner(String str){ - return functions.tint_in(str); + return GeneratedFunctions.tint_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tint/TIntSeq.java b/jmeos-core/src/main/java/types/basic/tint/TIntSeq.java index 50426ed84..7ffdfbb04 100644 --- a/jmeos-core/src/main/java/types/basic/tint/TIntSeq.java +++ b/jmeos-core/src/main/java/types/basic/tint/TIntSeq.java @@ -1,6 +1,6 @@ package types.basic.tint; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Pointer; import types.basic.tfloat.TFloatInst; import types.basic.tfloat.TFloatSeq; @@ -49,7 +49,7 @@ public TIntSeq(String value){ */ public TIntSeq(String value, int interpolation) { super(value); - this.inner = functions.tint_in(value); + this.inner = GeneratedFunctions.tint_in(value); } @@ -59,7 +59,7 @@ public TIntSeq(String value, int interpolation) { @Override public Pointer createStringInner(String str){ - return functions.tint_in(str); + return GeneratedFunctions.tint_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tint/TIntSeqSet.java b/jmeos-core/src/main/java/types/basic/tint/TIntSeqSet.java index fe931165d..d6d9709a8 100644 --- a/jmeos-core/src/main/java/types/basic/tint/TIntSeqSet.java +++ b/jmeos-core/src/main/java/types/basic/tint/TIntSeqSet.java @@ -1,6 +1,6 @@ package types.basic.tint; -import functions.functions; +import functions.GeneratedFunctions; import types.basic.tfloat.TFloatInst; import types.basic.tfloat.TFloatSeq; import types.basic.tfloat.TFloatSeqSet; @@ -41,13 +41,13 @@ public TIntSeqSet(Pointer inner){ */ public TIntSeqSet(String value) { super(value); - this.inner = functions.tint_in(value); + this.inner = GeneratedFunctions.tint_in(value); } @Override public Pointer createStringInner(String str){ - return functions.tint_in(str); + return GeneratedFunctions.tint_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tnumber/TNumber.java b/jmeos-core/src/main/java/types/basic/tnumber/TNumber.java index cc31a3315..2c3917362 100644 --- a/jmeos-core/src/main/java/types/basic/tnumber/TNumber.java +++ b/jmeos-core/src/main/java/types/basic/tnumber/TNumber.java @@ -10,7 +10,7 @@ import types.basic.tfloat.TFloatSeqSet; import types.basic.tint.TInt; import types.boxes.TBox; -import functions.functions; +import functions.GeneratedFunctions; import types.collections.number.*; import types.collections.time.Time; import types.collections.time.tstzset; @@ -53,7 +53,7 @@ public interface TNumber { * @return The bounding box of "this". */ default TBox bounding_tbox() throws SQLException { - return new TBox(functions.tnumber_to_tbox(getNumberInner())); + return new TBox(GeneratedFunctions.tnumber_to_tbox(getNumberInner())); } @@ -66,7 +66,7 @@ default TBox bounding_tbox() throws SQLException { * @return The integral of "this". */ default float integral(){ - return (float) functions.tnumber_integral(getNumberInner()); + return (float) GeneratedFunctions.tnumber_integral(getNumberInner()); } /** @@ -79,7 +79,7 @@ default float integral(){ * @return The time weighted average of "this". */ default float time_weighted_average(){ - return (float) functions.tnumber_twavg(getNumberInner()); + return (float) GeneratedFunctions.tnumber_twavg(getNumberInner()); } /* ------------------------- Transformations ---------------------------------- */ @@ -97,10 +97,10 @@ default float time_weighted_average(){ default TNumber shift_value(Object delta) throws Exception { Pointer shifted= null; if(this instanceof TInt){ - shifted= functions.tint_shift_value(this.getNumberInner(), (int) delta); + shifted= GeneratedFunctions.tint_shift_value(this.getNumberInner(), (int) delta); } else if (this instanceof TFloat){ - shifted= functions.tfloat_shift_value(this.getNumberInner(), (double) delta); + shifted= GeneratedFunctions.tfloat_shift_value(this.getNumberInner(), (double) delta); } else{ throw new Exception("Operation not supported for this object"); @@ -121,10 +121,10 @@ else if (this instanceof TFloat){ default TNumber scale_value(Object width) throws Exception { Pointer scaled= null; if(this instanceof TInt){ - scaled= functions.tint_scale_value(this.getNumberInner(), (int) width); + scaled= GeneratedFunctions.tint_scale_value(this.getNumberInner(), (int) width); } else if (this instanceof TFloat){ - scaled= functions.tfloat_scale_value(this.getNumberInner(), (double) width); + scaled= GeneratedFunctions.tfloat_scale_value(this.getNumberInner(), (double) width); } else{ throw new Exception("Operation not supported for this object"); @@ -146,10 +146,10 @@ else if (this instanceof TFloat){ default TNumber shift_scale_value(Object shift, Object width) throws Exception { Pointer scaled= null; if(this instanceof TInt && shift!=null && width!=null){ - scaled= functions.tint_shift_scale_value(this.getNumberInner(), (int) shift, (int) width); + scaled= GeneratedFunctions.tint_shift_scale_value(this.getNumberInner(), (int) shift, (int) width); } else if (this instanceof TFloat && shift!=null && width!=null){ - scaled= functions.tfloat_shift_scale_value(this.getNumberInner(), (double) shift, (double) width); + scaled= GeneratedFunctions.tfloat_shift_scale_value(this.getNumberInner(), (double) shift, (double) width); } else{ throw new Exception("Operation not supported for this object"); @@ -186,22 +186,22 @@ else if (this instanceof TFloat && shift!=null && width!=null){ */ default TNumber at(Object other) throws OperationNotSupportedException { if (other instanceof IntSet){ - return (TNumber) Factory.create_temporal(functions.temporal_at_values(getNumberInner(),((IntSet) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.temporal_at_values(getNumberInner(),((IntSet) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof FloatSet) { - return (TNumber) Factory.create_temporal(functions.temporal_at_values(getNumberInner(),((FloatSet) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.temporal_at_values(getNumberInner(),((FloatSet) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof IntSpan){ - return (TNumber) Factory.create_temporal(functions.tnumber_at_span(getNumberInner(),((IntSpan) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_at_span(getNumberInner(),((IntSpan) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof FloatSpan) { - return (TNumber) Factory.create_temporal(functions.tnumber_at_span(getNumberInner(),((FloatSpan) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_at_span(getNumberInner(),((FloatSpan) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof IntSpanSet){ - return (TNumber) Factory.create_temporal(functions.tnumber_at_spanset(getNumberInner(),((IntSpanSet) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_at_spanset(getNumberInner(),((IntSpanSet) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof FloatSpanSet) { - return (TNumber) Factory.create_temporal(functions.tnumber_at_spanset(getNumberInner(),((FloatSpanSet) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_at_spanset(getNumberInner(),((FloatSpanSet) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof TBox){ - return (TNumber) Factory.create_temporal(functions.tnumber_at_tbox(getNumberInner(),((TBox) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_at_tbox(getNumberInner(),((TBox) other).get_inner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -232,22 +232,22 @@ else if (other instanceof TBox){ */ default TNumber minus(Object other) throws OperationNotSupportedException { if (other instanceof IntSet){ - return (TNumber) Factory.create_temporal(functions.temporal_minus_values(getNumberInner(),((IntSet) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.temporal_minus_values(getNumberInner(),((IntSet) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof FloatSet) { - return (TNumber) Factory.create_temporal(functions.temporal_minus_values(getNumberInner(),((FloatSet) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.temporal_minus_values(getNumberInner(),((FloatSet) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof IntSpan){ - return (TNumber) Factory.create_temporal(functions.tnumber_minus_span(getNumberInner(),((IntSpan) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_minus_span(getNumberInner(),((IntSpan) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof FloatSpan) { - return (TNumber) Factory.create_temporal(functions.tnumber_minus_span(getNumberInner(),((FloatSpan) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_minus_span(getNumberInner(),((FloatSpan) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof IntSpanSet){ - return (TNumber) Factory.create_temporal(functions.tnumber_minus_spanset(getNumberInner(),((IntSpanSet) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_minus_spanset(getNumberInner(),((IntSpanSet) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof FloatSpanSet) { - return (TNumber) Factory.create_temporal(functions.tnumber_minus_spanset(getNumberInner(),((FloatSpanSet) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_minus_spanset(getNumberInner(),((FloatSpanSet) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof TBox){ - return (TNumber) Factory.create_temporal(functions.tnumber_minus_tbox(getNumberInner(),((TBox) other).get_inner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_minus_tbox(getNumberInner(),((TBox) other).get_inner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -344,11 +344,11 @@ default boolean is_over_or_right(TemporalObject other) throws SQLException { */ default TNumber add(Object other) throws OperationNotSupportedException { if ((this instanceof TInt) && (other instanceof Integer)){ - return (TNumber) Factory.create_temporal(functions.add_tint_int(getNumberInner(),((Integer) other).intValue()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.add_tint_int(getNumberInner(),((Integer) other).intValue()),getCustomType(),getTemporalType()); } else if ((this instanceof TFloat) && (other instanceof Float)) { - return (TNumber) Factory.create_temporal(functions.add_tfloat_float(getNumberInner(),((Float) other).floatValue()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.add_tfloat_float(getNumberInner(),((Float) other).floatValue()),getCustomType(),getTemporalType()); } else if (other instanceof TNumber) { - return (TNumber) Factory.create_temporal(functions.add_tnumber_tnumber(getNumberInner(),((TNumber) other).getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.add_tnumber_tnumber(getNumberInner(),((TNumber) other).getNumberInner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -372,9 +372,9 @@ default TNumber add(Object other) throws OperationNotSupportedException { */ default TNumber radd(Object other) throws OperationNotSupportedException { if ((this instanceof TInt) && (other instanceof Integer)){ - return (TNumber) Factory.create_temporal(functions.add_int_tint(((Integer) other).intValue(),getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.add_int_tint(((Integer) other).intValue(),getNumberInner()),getCustomType(),getTemporalType()); } else if ((this instanceof TFloat) && (other instanceof Float)) { - return (TNumber) Factory.create_temporal(functions.add_float_tfloat(((Float) other).floatValue(),getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.add_float_tfloat(((Float) other).floatValue(),getNumberInner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -400,11 +400,11 @@ default TNumber radd(Object other) throws OperationNotSupportedException { */ default TNumber sub(Object other) throws OperationNotSupportedException { if ((this instanceof TInt) && (other instanceof Integer)){ - return (TNumber) Factory.create_temporal(functions.sub_tint_int(getNumberInner(),((Integer) other).intValue()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.sub_tint_int(getNumberInner(),((Integer) other).intValue()),getCustomType(),getTemporalType()); } else if ((this instanceof TFloat) && (other instanceof Float)) { - return (TNumber) Factory.create_temporal(functions.sub_tfloat_float(getNumberInner(),((Float) other).floatValue()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.sub_tfloat_float(getNumberInner(),((Float) other).floatValue()),getCustomType(),getTemporalType()); } else if (other instanceof TNumber) { - return (TNumber) Factory.create_temporal(functions.sub_tnumber_tnumber(getNumberInner(),((TNumber) other).getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.sub_tnumber_tnumber(getNumberInner(),((TNumber) other).getNumberInner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -428,9 +428,9 @@ default TNumber sub(Object other) throws OperationNotSupportedException { */ default TNumber rsub(Object other) throws OperationNotSupportedException { if ((this instanceof TInt) && (other instanceof Integer)){ - return (TNumber) Factory.create_temporal(functions.sub_int_tint(((Integer) other).intValue(),getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.sub_int_tint(((Integer) other).intValue(),getNumberInner()),getCustomType(),getTemporalType()); } else if ((this instanceof TFloat) && (other instanceof Float)) { - return (TNumber) Factory.create_temporal(functions.sub_float_tfloat(((Float) other).floatValue(),getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.sub_float_tfloat(((Float) other).floatValue(),getNumberInner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -456,11 +456,11 @@ default TNumber rsub(Object other) throws OperationNotSupportedException { */ default TNumber mul(Object other) throws OperationNotSupportedException { if ((this instanceof TInt) && (other instanceof Integer)){ - return (TNumber) Factory.create_temporal(functions.mult_tint_int(getNumberInner(),((Integer) other).intValue()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.mul_tint_int(getNumberInner(),((Integer) other).intValue()),getCustomType(),getTemporalType()); } else if ((this instanceof TFloat) && (other instanceof Float)) { - return (TNumber) Factory.create_temporal(functions.mult_tfloat_float(getNumberInner(),((Float) other).floatValue()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.mul_tfloat_float(getNumberInner(),((Float) other).floatValue()),getCustomType(),getTemporalType()); } else if (other instanceof TNumber) { - return (TNumber) Factory.create_temporal(functions.mult_tnumber_tnumber(getNumberInner(),((TNumber) other).getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.mul_tnumber_tnumber(getNumberInner(),((TNumber) other).getNumberInner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -485,9 +485,9 @@ default TNumber mul(Object other) throws OperationNotSupportedException { */ default TNumber rmul(Object other) throws OperationNotSupportedException { if ((this instanceof TInt) && (other instanceof Integer)){ - return (TNumber) Factory.create_temporal(functions.mult_int_tint(((Integer) other).intValue(),getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.mul_int_tint(((Integer) other).intValue(),getNumberInner()),getCustomType(),getTemporalType()); } else if ((this instanceof TFloat) && (other instanceof Float)) { - return (TNumber) Factory.create_temporal(functions.mult_float_tfloat(((Float) other).floatValue(),getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.mul_float_tfloat(((Float) other).floatValue(),getNumberInner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -515,11 +515,11 @@ default TNumber rmul(Object other) throws OperationNotSupportedException { */ default TNumber div(Object other) throws OperationNotSupportedException { if ((this instanceof TInt) && (other instanceof Integer)){ - return (TNumber) Factory.create_temporal(functions.div_tint_int(getNumberInner(),((Integer) other).intValue()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.div_tint_int(getNumberInner(),((Integer) other).intValue()),getCustomType(),getTemporalType()); } else if ((this instanceof TFloat) && (other instanceof Float)) { - return (TNumber) Factory.create_temporal(functions.div_tfloat_float(getNumberInner(),((Float) other).floatValue()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.div_tfloat_float(getNumberInner(),((Float) other).floatValue()),getCustomType(),getTemporalType()); } else if (other instanceof TNumber) { - return (TNumber) Factory.create_temporal(functions.div_tnumber_tnumber(getNumberInner(),((TNumber) other).getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.div_tnumber_tnumber(getNumberInner(),((TNumber) other).getNumberInner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -546,9 +546,9 @@ default TNumber div(Object other) throws OperationNotSupportedException { */ default TNumber rdiv(Object other) throws OperationNotSupportedException { if ((this instanceof TInt) && (other instanceof Integer)){ - return (TNumber) Factory.create_temporal(functions.div_int_tint(((Integer) other).intValue(),getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.div_int_tint(((Integer) other).intValue(),getNumberInner()),getCustomType(),getTemporalType()); } else if ((this instanceof TFloat) && (other instanceof Float)) { - return (TNumber) Factory.create_temporal(functions.div_float_tfloat(((Float) other).floatValue(),getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.div_float_tfloat(((Float) other).floatValue(),getNumberInner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -700,7 +700,7 @@ default TNumber _rTrueDiv(Object other) throws OperationNotSupportedException { * @return A new {@link TNumber} instance. */ default TNumber abs(){ - return (TNumber) Factory.create_temporal(functions.tnumber_abs(getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_abs(getNumberInner()),getCustomType(),getTemporalType()); } /** @@ -713,7 +713,7 @@ default TNumber abs(){ * @return A new {@link TNumber} instance. */ default TNumber delta_value(){ - return (TNumber) Factory.create_temporal(functions.tnumber_delta_value(getNumberInner()),getCustomType(),getTemporalType()); + return (TNumber) Factory.create_temporal(GeneratedFunctions.tnumber_delta_value(getNumberInner()),getCustomType(),getTemporalType()); } @@ -737,11 +737,11 @@ default TNumber delta_value(){ */ default TFloat distance(Object other) throws OperationNotSupportedException { if ( (other instanceof Integer)){ - return (TFloat) Factory.create_temporal(functions.tdistance_tfloat_float(getNumberInner(),(float)((Integer) other).intValue()),getCustomType(),getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tdistance_tfloat_float(getNumberInner(),(float)((Integer) other).intValue()),getCustomType(),getTemporalType()); } else if ((other instanceof Float)) { - return (TFloat) Factory.create_temporal(functions.tdistance_tfloat_float(getNumberInner(),((Float) other).floatValue()),getCustomType(),getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tdistance_tfloat_float(getNumberInner(),((Float) other).floatValue()),getCustomType(),getTemporalType()); } else if (other instanceof TNumber) { - return (TFloat) Factory.create_temporal(functions.tdistance_tnumber_tnumber(getNumberInner(),((TNumber) other).getNumberInner()),getCustomType(),getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tdistance_tnumber_tnumber(getNumberInner(),((TNumber) other).getNumberInner()),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -766,13 +766,13 @@ default TFloat distance(Object other) throws OperationNotSupportedException { */ default float nearest_approach_distance(Object other) throws OperationNotSupportedException { if ( (other instanceof Integer)){ - return (float) functions.nad_tfloat_float(getNumberInner(),(float)((Integer) other).intValue()); + return (float) GeneratedFunctions.nad_tfloat_float(getNumberInner(),(float)((Integer) other).intValue()); } else if ((other instanceof Float)) { - return (float) functions.nad_tfloat_float(getNumberInner(),((Float) other).floatValue()); + return (float) GeneratedFunctions.nad_tfloat_float(getNumberInner(),((Float) other).floatValue()); } else if (other instanceof TNumber) { - return (float) functions.nad_tfloat_tfloat(getNumberInner(),((TNumber) other).getNumberInner()); + return (float) GeneratedFunctions.nad_tfloat_tfloat(getNumberInner(),((TNumber) other).getNumberInner()); } else if (other instanceof TBox) { - return (float) functions.nad_tfloat_tfloat(getNumberInner(),((TBox) other).get_inner()); + return (float) GeneratedFunctions.nad_tfloat_tfloat(getNumberInner(),((TBox) other).get_inner()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -796,27 +796,17 @@ default float nearest_approach_distance(Object other) throws OperationNotSupport */ // private Pointer createEmptyPointerArray(Runtime runtime) { // // Allocate memory for a list of integers (let's assume a fixed size, e.g., 10 elements) -// Pointer listPointer = Memory.allocate(Runtime.getRuntime(runtime), *Long.BYTES); // Adjust size as needed +// Pointer listPointer = Memory.allocate(runtime, *Long.BYTES); // Adjust size as needed // return listPointer; // } - private Pointer createEmptyPointerArray(Runtime runtime, int size) { - // Allocate memory for a list of integers (let's assume a fixed size, e.g., 10 elements) - Pointer listPointer = Memory.allocate(Runtime.getRuntime(runtime), size*Long.BYTES); // Adjust size as needed - return listPointer; - } - default List value_split(int size, int start){ - // Create a JNR-FFI runtime instance - Runtime runtime = Runtime.getSystemRuntime(); - // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer listPointer = createEmptyPointerArray(runtime, size); - Pointer result= functions.tint_value_split(this.getNumberInner(), size, start, listPointer, intPointer); + Pointer countPtr = Memory.allocateDirect(Runtime.getSystemRuntime(), Integer.BYTES); + Pointer fragments = GeneratedFunctions.tint_value_split(this.getNumberInner(), size, start, null, countPtr); + int count = countPtr.getInt(0); List tempList= new ArrayList<>(); - int count= intPointer.getInt(Integer.BYTES); for(int i=0;i value_split(int size, int start){ default List value_time_split(Object duration, int value_size, int value_start, Object time_start){ OffsetDateTime st= null; Pointer dt= null; - if(time_start != null){ - st= functions.pg_timestamptz_in("2000-01-03", -1); + // The duration is always required; the time_start defaults to 2000-01-03. + if(duration instanceof Duration){ + dt= ConversionUtils.timedelta_to_interval((Duration) duration); } else{ - if(time_start instanceof LocalDateTime){ - st= ConversionUtils.datetimeToTimestampTz((LocalDateTime) time_start); - } - else{ - st= functions.pg_timestamptz_in(time_start.toString(), -1); - } - - if(duration instanceof Duration){ - dt= ConversionUtils.timedelta_to_interval((Duration) duration); - } - else{ - dt= functions.pg_interval_in(duration.toString(), -1); - } - } - // Create a JNR-FFI runtime instance - Runtime runtime = Runtime.getSystemRuntime(); - // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer valueListPointer = createEmptyPointerArray(runtime, value_size); - Pointer timeListPointer = createEmptyPointerArray(runtime, value_size); - Pointer p= functions.tint_value_time_split(this.getNumberInner(), value_size, dt, value_start, st, valueListPointer, timeListPointer, intPointer); + dt= GeneratedFunctions.interval_in(duration.toString(), -1); + } + if(time_start == null){ + st= GeneratedFunctions.timestamptz_in("2000-01-03", -1); + } + else if(time_start instanceof LocalDateTime){ + st= ConversionUtils.datetimeToTimestampTz((LocalDateTime) time_start); + } + else{ + st= GeneratedFunctions.timestamptz_in(time_start.toString(), -1); + } + Pointer countPtr = Memory.allocateDirect(Runtime.getSystemRuntime(), Integer.BYTES); + Pointer fragments = GeneratedFunctions.tint_value_time_split( + this.getNumberInner(), (long) value_size, dt, value_start, st, null, null, countPtr); + int count = countPtr.getInt(0); List tempList= new ArrayList<>(); - int count= intPointer.getInt(Integer.BYTES); for(int i=0;i values(int precision){ // Create a JNR-FFI runtime instance Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer resPointer= functions.temporal_instants(this.getPointInner(), intPointer); + Pointer intPointer = Memory.allocate(runtime, 4); + Pointer resPointer= GeneratedFunctions.temporal_instants(this.getPointInner(), intPointer); List pointList= new ArrayList<>(); - int count= intPointer.getInt(Integer.BYTES); + int count= intPointer.getInt(0); for(int i=0; i values(int precision){ * @throws ParseException */ default Point start_value(int precision) throws ParseException { - return ConversionUtils.gserialized_to_shapely_point(functions.tgeo_start_value(getPointInner()),precision); + return ConversionUtils.gserialized_to_shapely_point(GeneratedFunctions.tgeo_start_value(getPointInner()),precision); } /** @@ -198,7 +198,7 @@ default Point start_value(int precision) throws ParseException { * @throws ParseException */ default Point end_value(int precision) throws ParseException { - return ConversionUtils.gserialized_to_shapely_point(functions.tgeo_end_value(getPointInner()),precision); + return ConversionUtils.gserialized_to_shapely_point(GeneratedFunctions.tgeo_end_value(getPointInner()),precision); } /** @@ -215,8 +215,8 @@ default Point end_value(int precision) throws ParseException { // // Create a JNR-FFI runtime instance // Runtime runtime = Runtime.getSystemRuntime(); // // Allocate memory for an integer (4 bytes) but do not set a value -// Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); -// Pointer resPointer= functions.tpoint_values(this.getPointInner(), intPointer); +// Pointer intPointer = Memory.allocate(runtime, 4); +// Pointer resPointer= GeneratedFunctions.tpoint_values(this.getPointInner(), intPointer); // List pointList= new ArrayList<>(); // int count= intPointer.getInt(Integer.BYTES); // StringBuilder sb = null; @@ -243,17 +243,17 @@ default Point end_value(int precision) throws ParseException { // // @Override // public Pointer createStringInner(String str) { -// return functions.tgeom(str); +// return GeneratedFunctions.tgeom(str); // } // // @Override // public Point start_element() throws ParseException { -// return ConversionUtils.gserialized_to_shapely_point(functions.tgeo_start_value(this.get_inner()), precision); +// return ConversionUtils.gserialized_to_shapely_point(GeneratedFunctions.tgeo_start_value(this.get_inner()), precision); // } // // @Override // public Point end_element() throws ParseException { -// return ConversionUtils.gserialized_to_shapely_point(functions.tgeo_end_value(this.get_inner()), precision); +// return ConversionUtils.gserialized_to_shapely_point(GeneratedFunctions.tgeo_end_value(this.get_inner()), precision); // } // }; // } @@ -272,12 +272,9 @@ default Point end_value(int precision) throws ParseException { tpoint_value_at_timestamp */ default Point value_at_timestamp(LocalDateTime ts, int precision) throws ParseException { - // Create a JNR-FFI runtime instance - Runtime runtime = Runtime.getSystemRuntime(); - // Allocate memory for an integer (4 bytes) but do not set a value - Pointer geomPointer = Memory.allocate(Runtime.getRuntime(runtime), 8); - boolean b= functions.tgeo_value_at_timestamptz(this.getPointInner(), ConversionUtils.datetimeToTimestampTz(ts), true, geomPointer); - Pointer geom= geomPointer.getPointer(Long.BYTES); + // The generated wrapper handles the bool+out-param internally and returns + // the GSERIALIZED* directly (null when the timestamp is absent). + Pointer geom= GeneratedFunctions.tgeo_value_at_timestamptz(this.getPointInner(), ConversionUtils.datetimeToTimestampTz(ts), true); return ConversionUtils.gserialized_to_shapely_point(geom, precision); } @@ -292,7 +289,7 @@ default Point value_at_timestamp(LocalDateTime ts, int precision) throws ParseEx * @return A {@link Float} with the length of the trajectory. */ default float length(){ - return (float) functions.tpoint_length(getPointInner()); + return (float) GeneratedFunctions.tpoint_length(getPointInner()); } @@ -305,7 +302,7 @@ default float length(){ * @return A {@link TFloat} with the cumulative length of the trajectory. */ default TFloat cumulative_length(){ - return (TFloat) Factory.create_temporal(functions.tpoint_cumulative_length(getPointInner()),"Float",getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tpoint_cumulative_length(getPointInner()),"Float",getTemporalType()); } @@ -318,7 +315,7 @@ default TFloat cumulative_length(){ * @return A {@link TFloat} with the speed of the temporal point. */ default TFloat speed(){ - return (TFloat) Factory.create_temporal(functions.tpoint_speed(getPointInner()),"Float",getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tpoint_speed(getPointInner()),"Float",getTemporalType()); } @@ -331,7 +328,7 @@ default TFloat speed(){ * @return A {@link TFloat} with the x coordinate of the temporal point. */ default TFloat x(){ - return (TFloat) Factory.create_temporal(functions.tpoint_get_x(getPointInner()),"Float",getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tpoint_get_x(getPointInner()),"Float",getTemporalType()); } @@ -345,7 +342,7 @@ default TFloat x(){ * @return A {@link TFloat} with the y coordinate of the temporal point. */ default TFloat y(){ - return (TFloat) Factory.create_temporal(functions.tpoint_get_y(getPointInner()),"Float",getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tpoint_get_y(getPointInner()),"Float",getTemporalType()); } @@ -359,7 +356,7 @@ default TFloat y(){ * @return A {@link TFloat} with the z coordinate of the temporal point. */ default TFloat z(){ - return (TFloat) Factory.create_temporal(functions.tpoint_get_z(getPointInner()),"Float",getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tpoint_get_z(getPointInner()),"Float",getTemporalType()); } @@ -390,10 +387,10 @@ default List stboxes(){ // Create a JNR-FFI runtime instance Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer resPointer= functions.tgeo_stboxes(this.getPointInner(), intPointer); + Pointer intPointer = Memory.allocate(runtime, 4); + Pointer resPointer= GeneratedFunctions.tgeo_stboxes(this.getPointInner(), intPointer); List stBoxList= new ArrayList<>(); - int length= intPointer.getInt(Integer.BYTES); + int length= intPointer.getInt(0); for(int i=0; i stboxes(){ * @return A {@link Boolean} indicating whether the temporal point is simple. */ default boolean is_simple(){ - return functions.tpoint_is_simple(getPointInner()); + return GeneratedFunctions.tpoint_is_simple(getPointInner()); } @@ -430,7 +427,7 @@ default boolean is_simple(){ * @return A new {@link TFloat} indicating the temporal bearing between the temporal point and "other". */ default TFloat bearing(TPoint other){ - return (TFloat) Factory.create_temporal(functions.bearing_tpoint_tpoint(getPointInner(),other.getPointInner()),"Float",getTemporalType()); + return (TFloat) Factory.create_temporal(GeneratedFunctions.bearing_tpoint_tpoint(getPointInner(),other.getPointInner()),"Float",getTemporalType()); } @@ -445,7 +442,7 @@ default TFloat bearing(TPoint other){ * @return A new {@link TFloatSeqSet} indicating the direction of the temporal point. */ default TFloatSeqSet direction(){ - return (TFloatSeqSet) Factory.create_temporal(functions.tpoint_direction(getPointInner()),"Float",getTemporalType()); + return (TFloatSeqSet) Factory.create_temporal(GeneratedFunctions.tpoint_direction(getPointInner()),"Float",getTemporalType()); } @@ -459,7 +456,7 @@ default TFloatSeqSet direction(){ * @return A new {@link TFloatSeqSet} indicating the temporal azimuth of the temporal point. */ default TFloatSeqSet azimuth(){ - return (TFloatSeqSet) Factory.create_temporal(functions.tpoint_azimuth(getPointInner()),"Float",getTemporalType()); + return (TFloatSeqSet) Factory.create_temporal(GeneratedFunctions.tpoint_azimuth(getPointInner()),"Float",getTemporalType()); } @@ -473,7 +470,7 @@ default TFloatSeqSet azimuth(){ * @return A new {@link TFloatSeqSet} indicating the temporal angular_difference of the temporal point. */ default TFloatSeqSet angular_difference(){ - return (TFloatSeqSet) Factory.create_temporal(functions.tpoint_angular_difference(getPointInner()),"Float", TemporalType.TEMPORAL_SEQUENCE_SET); + return (TFloatSeqSet) Factory.create_temporal(GeneratedFunctions.tpoint_angular_difference(getPointInner()),"Float", TemporalType.TEMPORAL_SEQUENCE_SET); } @@ -488,7 +485,7 @@ default TFloatSeqSet angular_difference(){ * @throws ParseException */ default Point time_weighted_centroid(int precision) throws ParseException { - return (Point) ConversionUtils.gserialized_to_shapely_geometry(functions.tpoint_twcentroid(getPointInner()),precision); + return (Point) ConversionUtils.gserialized_to_shapely_geometry(GeneratedFunctions.tpoint_twcentroid(getPointInner()),precision); } @@ -504,7 +501,7 @@ default Point time_weighted_centroid(int precision) throws ParseException { * @return An {@link Integer} representing the SRID. */ default int srid(){ - return functions.tspatial_srid(getPointInner()); + return GeneratedFunctions.tspatial_srid(getPointInner()); } @@ -517,7 +514,7 @@ default int srid(){ * @return Returns a new TPoint with the given SRID. */ default TPoint set_srid(int srid){ - return (TPoint) Factory.create_temporal(functions.tspatial_set_srid(getPointInner(),srid),getCustomType(),getTemporalType()); + return (TPoint) Factory.create_temporal(GeneratedFunctions.tspatial_set_srid(getPointInner(),srid),getCustomType(),getTemporalType()); } @@ -536,7 +533,7 @@ default TPoint set_srid(int srid){ * @return A new {@link TPoint} object. */ default TPoint round(int max_decimals){ - return (TPoint) Factory.create_temporal(functions.temporal_round(getPointInner(),max_decimals),getCustomType(),getTemporalType()); + return (TPoint) Factory.create_temporal(GeneratedFunctions.temporal_round(getPointInner(),max_decimals),getCustomType(),getTemporalType()); } /** @@ -552,9 +549,9 @@ default List make_simple(){ // Create a JNR-FFI runtime instance Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer resPointer= functions.tpoint_make_simple(this.getPointInner(), intPointer); - int length= intPointer.getInt(Integer.BYTES); + Pointer intPointer = Memory.allocate(runtime, 4); + Pointer resPointer= GeneratedFunctions.tpoint_make_simple(this.getPointInner(), intPointer); + int length= intPointer.getInt(0); List tPointList= new ArrayList<>(); TemporalType temporalType= getTemporalType(); String customType= getCustomType(); @@ -579,7 +576,7 @@ default List make_simple(){ * @return A new {@link STBox} instance. */ default STBox expand(float other){ - return new STBox(functions.stbox_expand_space(getPointInner(),other)); + return new STBox(GeneratedFunctions.stbox_expand_space(getPointInner(),other)); } /** Returns a new :class:`TPoint` of the same subclass of ``self`` transformed to another SRID @@ -598,10 +595,10 @@ default STBox expand(float other){ AbstractMap.SimpleEntry srids = new AbstractMap.SimpleEntry<>(this.srid(), srid); // Check and cache the projection if not already cached if (!projectionCache.containsKey(srids)) { - projectionCache.put(srids, functions.lwproj_transform(srids.getKey(), srids.getValue())); + projectionCache.put(srids, GeneratedFunctions.lwproj_transform(srids.getKey(), srids.getValue())); } // Perform the transformation using the cached projection - Pointer result = functions.tpoint_transform_pj(this.getPointInner(), srid, projectionCache.get(srids)); + Pointer result = GeneratedFunctions.tpoint_transform_pj(this.getPointInner(), srid, projectionCache.get(srids)); // Create and return a new TPoint instance return (TPoint) Factory.create_temporal(result, getCustomType(), getTemporalType()); @@ -632,11 +629,11 @@ default STBox expand(float other){ default TPoint at(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ boolean geodetic = this instanceof TGeomPoint; - return (TPoint) Factory.create_temporal(functions.tpoint_at_value(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, geodetic)),getCustomType(),getTemporalType()); + return (TPoint) Factory.create_temporal(GeneratedFunctions.tpoint_at_value(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, geodetic)),getCustomType(),getTemporalType()); } else if (other instanceof GeoSet) { - return (TPoint) Factory.create_temporal(functions.temporal_at_values(getPointInner(),((GeoSet) other).get_inner()),getCustomType(),getTemporalType()); + return (TPoint) Factory.create_temporal(GeneratedFunctions.temporal_at_values(getPointInner(),((GeoSet) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof STBox) { - return (TPoint) Factory.create_temporal(functions.tgeo_at_stbox(getPointInner(),((STBox) other).get_inner(),true),getCustomType(),getTemporalType()); + return (TPoint) Factory.create_temporal(GeneratedFunctions.tgeo_at_stbox(getPointInner(),((STBox) other).get_inner(),true),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -664,11 +661,11 @@ default TPoint at(Object other) throws OperationNotSupportedException { default TPoint minus(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ boolean geodetic = this instanceof TGeomPoint; - return (TPoint) Factory.create_temporal(functions.tpoint_minus_value(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, geodetic)),getCustomType(),getTemporalType()); + return (TPoint) Factory.create_temporal(GeneratedFunctions.tpoint_minus_value(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, geodetic)),getCustomType(),getTemporalType()); } else if (other instanceof GeoSet) { - return (TPoint) Factory.create_temporal(functions.temporal_minus_values(getPointInner(),((GeoSet) other).get_inner()),getCustomType(),getTemporalType()); + return (TPoint) Factory.create_temporal(GeneratedFunctions.temporal_minus_values(getPointInner(),((GeoSet) other).get_inner()),getCustomType(),getTemporalType()); } else if (other instanceof STBox) { - return (TPoint) Factory.create_temporal(functions.tgeo_minus_stbox(getPointInner(),((STBox) other).get_inner(),true),getCustomType(),getTemporalType()); + return (TPoint) Factory.create_temporal(GeneratedFunctions.tgeo_minus_stbox(getPointInner(),((STBox) other).get_inner(),true),getCustomType(),getTemporalType()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -894,9 +891,9 @@ default boolean is_over_or_behind(TemporalObject other){ */ default boolean is_ever_contained_in(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return 1 == functions.econtains_geo_tgeo(ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint), getPointInner()); + return 1 == GeneratedFunctions.econtains_geo_tgeo(ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint), getPointInner()); } else if (other instanceof STBox) { - return 1 == functions.econtains_geo_tgeo(functions.stbox_to_geo(((STBox) other).get_inner()),getPointInner()); + return 1 == GeneratedFunctions.econtains_geo_tgeo(GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner()),getPointInner()); } else{ throw new OperationNotSupportedException("Operand not supported"); @@ -917,11 +914,11 @@ default boolean is_ever_contained_in(Object other) throws OperationNotSupportedE */ default boolean is_ever_disjoint(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return 1 == functions.edisjoint_tgeo_geo(getPointInner(), ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)); + return 1 == GeneratedFunctions.edisjoint_tgeo_geo(getPointInner(), ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)); } else if (other instanceof STBox) { - return 1 == functions.edisjoint_tgeo_geo(getPointInner(), functions.stbox_to_geo(((STBox) other).get_inner())); + return 1 == GeneratedFunctions.edisjoint_tgeo_geo(getPointInner(), GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner())); } else if (other instanceof TPoint) { - return 1 == functions.edisjoint_tgeo_tgeo(getPointInner(), ((TPoint) other).getPointInner()); + return 1 == GeneratedFunctions.edisjoint_tgeo_tgeo(getPointInner(), ((TPoint) other).getPointInner()); } else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -943,11 +940,11 @@ default boolean is_ever_disjoint(Object other) throws OperationNotSupportedExcep */ default boolean is_ever_within_distance(Object other, float distance) throws OperationNotSupportedException { if (other instanceof Geometry){ - return 1 == functions.edwithin_tgeo_geo( getPointInner(), ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint), distance); + return 1 == GeneratedFunctions.edwithin_tgeo_geo( getPointInner(), ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint), distance); } else if (other instanceof STBox) { - return 1 == functions.edwithin_tgeo_geo(getPointInner(), functions.stbox_to_geo(((STBox) other).get_inner()), distance); + return 1 == GeneratedFunctions.edwithin_tgeo_geo(getPointInner(), GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner()), distance); } else if (other instanceof TPoint) { - return 1 == functions.edwithin_tgeo_tgeo(getPointInner(), ((TPoint) other).getPointInner(), distance); + return 1 == GeneratedFunctions.edwithin_tgeo_tgeo(getPointInner(), ((TPoint) other).getPointInner(), distance); } else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -968,11 +965,11 @@ default boolean is_ever_within_distance(Object other, float distance) throws Ope */ default boolean ever_intersects(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return 1 == functions.eintersects_tgeo_geo( getPointInner(), ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)); + return 1 == GeneratedFunctions.eintersects_tgeo_geo( getPointInner(), ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)); } else if (other instanceof STBox) { - return 1 == functions.eintersects_tgeo_geo(getPointInner(), functions.stbox_to_geo(((STBox) other).get_inner())); + return 1 == GeneratedFunctions.eintersects_tgeo_geo(getPointInner(), GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner())); } else if (other instanceof TPoint) { - return 1 == functions.eintersects_tgeo_tgeo(getPointInner(), ((TPoint) other).getPointInner()); + return 1 == GeneratedFunctions.eintersects_tgeo_tgeo(getPointInner(), ((TPoint) other).getPointInner()); } else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -992,9 +989,9 @@ default boolean ever_intersects(Object other) throws OperationNotSupportedExcept */ default boolean ever_touches(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return 1 == functions.etouches_tpoint_geo( getPointInner(), ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)); + return 1 == GeneratedFunctions.etouches_tpoint_geo( getPointInner(), ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)); } else if (other instanceof STBox) { - return 1 == functions.etouches_tpoint_geo(getPointInner(), functions.stbox_to_geo(((STBox) other).get_inner())); + return 1 == GeneratedFunctions.etouches_tpoint_geo(getPointInner(), GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner())); } else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -1017,9 +1014,9 @@ default boolean ever_touches(Object other) throws OperationNotSupportedException */ default TBool is_spatially_contained_in(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return (TBool) Factory.create_temporal(functions.tcontains_geo_tgeo(ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint), getPointInner(),false,false), "Boolean", getTemporalType() ) ; + return (TBool) Factory.create_temporal(GeneratedFunctions.tcontains_geo_tgeo(ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint), getPointInner()), "Boolean", getTemporalType() ) ; } else if (other instanceof STBox) { - return (TBool) Factory.create_temporal(functions.tcontains_geo_tgeo(functions.stbox_to_geo(((STBox) other).get_inner()), getPointInner(), false,false), "Boolean", getTemporalType() ); + return (TBool) Factory.create_temporal(GeneratedFunctions.tcontains_geo_tgeo(GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner()), getPointInner()), "Boolean", getTemporalType() ); } else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -1039,9 +1036,9 @@ default TBool is_spatially_contained_in(Object other) throws OperationNotSupport */ default TBool disjoint(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return (TBool) Factory.create_temporal(functions.tdisjoint_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint),false,false), "Boolean", getTemporalType() ) ; + return (TBool) Factory.create_temporal(GeneratedFunctions.tdisjoint_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)), "Boolean", getTemporalType() ) ; } else if (other instanceof STBox) { - return (TBool) Factory.create_temporal(functions.tdisjoint_tgeo_geo(getPointInner(),functions.stbox_to_geo(((STBox) other).get_inner()), false,false), "Boolean", getTemporalType() ); + return (TBool) Factory.create_temporal(GeneratedFunctions.tdisjoint_tgeo_geo(getPointInner(),GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner())), "Boolean", getTemporalType() ); } else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -1062,11 +1059,11 @@ default TBool disjoint(Object other) throws OperationNotSupportedException { */ default TBool within_distance(Object other, float distance) throws OperationNotSupportedException { if (other instanceof Geometry){ - return (TBool) Factory.create_temporal(functions.tdwithin_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint), distance, false,false), "Boolean", getTemporalType() ) ; + return (TBool) Factory.create_temporal(GeneratedFunctions.tdwithin_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint), distance), "Boolean", getTemporalType() ) ; } else if (other instanceof STBox) { - return (TBool) Factory.create_temporal(functions.tdwithin_tgeo_geo(getPointInner(),functions.stbox_to_geo(((STBox) other).get_inner()), distance,false,false), "Boolean", getTemporalType() ); + return (TBool) Factory.create_temporal(GeneratedFunctions.tdwithin_tgeo_geo(getPointInner(),GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner()), distance), "Boolean", getTemporalType() ); } else if(other instanceof TPoint){ - return (TBool) Factory.create_temporal(functions.tdwithin_tgeo_tgeo(getPointInner(),((TPoint) other).getPointInner(), distance,false,false), "Boolean", getTemporalType() ); + return (TBool) Factory.create_temporal(GeneratedFunctions.tdwithin_tgeo_tgeo(getPointInner(),((TPoint) other).getPointInner(), distance), "Boolean", getTemporalType() ); }else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -1086,9 +1083,9 @@ default TBool within_distance(Object other, float distance) throws OperationNotS */ default TBool intersects(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return (TBool) Factory.create_temporal(functions.tintersects_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint),false,false), "Boolean", getTemporalType() ) ; + return (TBool) Factory.create_temporal(GeneratedFunctions.tintersects_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)), "Boolean", getTemporalType() ) ; } else if (other instanceof STBox) { - return (TBool) Factory.create_temporal(functions.tintersects_tgeo_geo(getPointInner(),functions.stbox_to_geo(((STBox) other).get_inner()), false,false), "Boolean", getTemporalType() ); + return (TBool) Factory.create_temporal(GeneratedFunctions.tintersects_tgeo_geo(getPointInner(),GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner())), "Boolean", getTemporalType() ); } else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -1108,9 +1105,9 @@ default TBool intersects(Object other) throws OperationNotSupportedException { */ default TBool touches(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return (TBool) Factory.create_temporal(functions.ttouches_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint),false,false), "Boolean", getTemporalType() ) ; + return (TBool) Factory.create_temporal(GeneratedFunctions.ttouches_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)), "Boolean", getTemporalType() ) ; } else if (other instanceof STBox) { - return (TBool) Factory.create_temporal(functions.ttouches_tgeo_geo(getPointInner(),functions.stbox_to_geo(((STBox) other).get_inner()), false,false), "Boolean", getTemporalType() ); + return (TBool) Factory.create_temporal(GeneratedFunctions.ttouches_tgeo_geo(getPointInner(),GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner())), "Boolean", getTemporalType() ); } else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -1132,11 +1129,11 @@ default TBool touches(Object other) throws OperationNotSupportedException { */ default TFloat distance(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return (TFloat) Factory.create_temporal(functions.tdistance_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)), "Float", getTemporalType() ) ; + return (TFloat) Factory.create_temporal(GeneratedFunctions.tdistance_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)), "Float", getTemporalType() ) ; } else if (other instanceof STBox) { - return (TFloat) Factory.create_temporal(functions.tdistance_tgeo_geo(getPointInner(),functions.stbox_to_geo(((STBox) other).get_inner())), "Float", getTemporalType() ); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tdistance_tgeo_geo(getPointInner(),GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner())), "Float", getTemporalType() ); } else if(other instanceof TPoint){ - return (TFloat) Factory.create_temporal(functions.tdistance_tgeo_tgeo(getPointInner(),((TPoint) other).getPointInner()), "Float", getTemporalType() ); + return (TFloat) Factory.create_temporal(GeneratedFunctions.tdistance_tgeo_tgeo(getPointInner(),((TPoint) other).getPointInner()), "Float", getTemporalType() ); }else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -1157,11 +1154,11 @@ default TFloat distance(Object other) throws OperationNotSupportedException { */ default float nearest_approach_distance(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return (float) functions.nad_tgeo_geo( getPointInner(), ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)); + return (float) GeneratedFunctions.nad_tgeo_geo( getPointInner(), ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)); } else if (other instanceof STBox) { - return (float) functions.nad_tgeo_stbox(getPointInner(), functions.stbox_to_geo(((STBox) other).get_inner())); + return (float) GeneratedFunctions.nad_tgeo_stbox(getPointInner(), GeneratedFunctions.stbox_to_geo(((STBox) other).get_inner())); } else if (other instanceof TPoint) { - return (float) functions.nad_tgeo_tgeo(getPointInner(), ((TPoint) other).getPointInner()); + return (float) GeneratedFunctions.nad_tgeo_tgeo(getPointInner(), ((TPoint) other).getPointInner()); } else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -1181,9 +1178,9 @@ default float nearest_approach_distance(Object other) throws OperationNotSupport */ default TInstant nearest_approach_instant(Object other) throws OperationNotSupportedException { if (other instanceof Geometry){ - return (TInstant) Factory.create_temporal(functions.nai_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)), getCustomType(), getTemporalType() ) ; + return (TInstant) Factory.create_temporal(GeneratedFunctions.nai_tgeo_geo(getPointInner(),ConversionUtils.geo_to_gserialized((Geometry) other, this instanceof TGeogPoint)), getCustomType(), getTemporalType() ) ; } else if(other instanceof TPoint){ - return (TInstant) Factory.create_temporal(functions.nai_tgeo_tgeo(getPointInner(),((TPoint) other).getPointInner()), getCustomType(), getTemporalType() ); + return (TInstant) Factory.create_temporal(GeneratedFunctions.nai_tgeo_tgeo(getPointInner(),((TPoint) other).getPointInner()), getCustomType(), getTemporalType() ); }else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -1208,9 +1205,9 @@ default Geometry shortest_line(Object other) throws OperationNotSupportedExcepti if (other instanceof Geometry){ boolean b= this instanceof TGeogPoint; Pointer gs= ConversionUtils.geo_to_gserialized((Geometry) other, b); - res= functions.shortestline_tgeo_geo(this.getPointInner(), gs); + res= GeneratedFunctions.shortestline_tgeo_geo(this.getPointInner(), gs); } else if(other instanceof TPoint){ - res= functions.shortestline_tgeo_geo(this.getPointInner(), ((TPoint) other).getPointInner()); + res= GeneratedFunctions.shortestline_tgeo_geo(this.getPointInner(), ((TPoint) other).getPointInner()); }else{ throw new OperationNotSupportedException("Operand not supported"); } @@ -1269,12 +1266,6 @@ origin will be (0, 0, 0). MEOS Functions: tpoint_value_split */ - private Pointer createEmptyPointerArray(Runtime runtime, int length) { - // Allocate memory for a list of integers - Pointer listPointer = Memory.allocate(Runtime.getRuntime(runtime), length*Long.BYTES); // Adjust size as needed - return listPointer; - } - default List space_split(Float xsize, Float ysize, Float zsize, Geometry origin, boolean bitmatrix, boolean include_border){ Float ysz = (ysize != null) ? ysize : xsize; Float zsz = (zsize != null) ? zsize : xsize; @@ -1285,23 +1276,20 @@ default List space_split(Float xsize, Float ysize, Float zsize, Geomet } else{ if(isTGeogPoint){ - gs= functions.geog_in("Point (0 0 0)", -1); + gs= GeneratedFunctions.geog_in("Point (0 0 0)", -1); } else{ - gs= functions.geom_in("Point (0 0 0)", -1); + gs= GeneratedFunctions.geom_in("Point (0 0 0)", -1); } } - // Create a JNR-FFI runtime instance - Runtime runtime = Runtime.getSystemRuntime(); - // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - int length= runtime.longSize(); - Pointer space_buckets = createEmptyPointerArray(runtime, length); - Pointer resPointer= functions.tgeo_space_split(this.getPointInner(), xsize, ysz, zsz, gs, bitmatrix, include_border, space_buckets, intPointer); - int count= intPointer.getInt(Integer.BYTES); + // tgeo_space_split returns a SpaceSplit struct by value (sret): + // SpaceSplit { Temporal **fragments @0; int **bins @8; int count @16; } + Pointer resPointer= GeneratedFunctions.tgeo_space_split(this.getPointInner(), xsize, ysz, zsz, gs, bitmatrix, include_border); + Pointer fragments= resPointer.getPointer(0); + int count= resPointer.getInt(16); List tempList= new ArrayList<>(); for(int i=0;i space_time_split(Float xsize, Object duration, Float ysiz dt= ConversionUtils.timedelta_to_interval((Duration) duration); } else{ - dt= functions.pg_interval_in(duration.toString(), -1); + dt= GeneratedFunctions.interval_in(duration.toString(), -1); } Pointer gs= null; @@ -1346,38 +1334,33 @@ default List space_time_split(Float xsize, Object duration, Float ysiz } else{ if(isTGeogPoint){ - gs= functions.geog_in("Point (0 0 0)", -1); + gs= GeneratedFunctions.geog_in("Point (0 0 0)", -1); } else{ - gs= functions.geom_in("Point (0 0 0)", -1); + gs= GeneratedFunctions.geom_in("Point (0 0 0)", -1); } } OffsetDateTime st= null; - if(time_start!=null){ - st= functions.pg_timestamptz_in("2000-01-03", -1); + if(time_start == null){ + st= GeneratedFunctions.timestamptz_in("2000-01-03", -1); + } + else if(time_start instanceof LocalDateTime){ + st= ConversionUtils.datetimeToTimestampTz((LocalDateTime) time_start); } else{ - if(time_start instanceof LocalDateTime){ - st= ConversionUtils.datetimeToTimestampTz((LocalDateTime) time_start); - } - else{ - st= functions.pg_timestamptz_in(time_start.toString(), -1); - } + st= GeneratedFunctions.timestamptz_in(time_start.toString(), -1); } - // Create a JNR-FFI runtime instance - Runtime runtime = Runtime.getSystemRuntime(); - // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - int length= runtime.longSize(); - Pointer space_buckets = createEmptyPointerArray(runtime, length); - Pointer time_buckets = createEmptyPointerArray(runtime, length); - Pointer resPointer= functions.tgeo_space_time_split(this.getPointInner(), xsize, ysz, zsz, dt, gs, st, bitmatrix, include_border, space_buckets, time_buckets, intPointer); - int count= intPointer.getInt(Integer.BYTES); + // tgeo_space_time_split returns a SpaceTimeSplit struct by value (sret): + // SpaceTimeSplit { Temporal **fragments @0; int **space_bins @8; + // int *time_bins @16; int count @24; } + Pointer resPointer= GeneratedFunctions.tgeo_space_time_split(this.getPointInner(), xsize, ysz, zsz, dt, gs, st, bitmatrix, include_border); + Pointer fragments= resPointer.getPointer(0); + int count= resPointer.getInt(24); List tempList= new ArrayList<>(); for(int i=0;i pointList= new ArrayList<>(); int count= intPointer.getInt(Integer.BYTES); StringBuilder sb = null; @@ -125,7 +125,7 @@ default GeographySet value_set(int precision) throws ParseException { * @return A new {@link TGeomPoint} object. */ default TGeomPoint to_geometric(){ - return (TGeomPoint) Factory.create_temporal(functions.tgeography_to_tgeometry(getPointInner()),"Geom",getTemporalType()); + return (TGeomPoint) Factory.create_temporal(GeneratedFunctions.tgeography_to_tgeometry(getPointInner()),"Geom",getTemporalType()); } @@ -145,7 +145,7 @@ default TGeomPoint to_geometric(){ * @return True if "this" is always equal to "value", False otherwise. */ default boolean always_equal(Geometry value){ - return functions.always_eq_tgeo_geo(getPointInner(),ConversionUtils.geography_to_gserialized(value)) > 0; + return GeneratedFunctions.always_eq_tgeo_geo(getPointInner(),ConversionUtils.geography_to_gserialized(value)) > 0; } @@ -160,7 +160,7 @@ default boolean always_equal(Geometry value){ * @return True if "this" is always different to "value", False otherwise. */ default boolean always_not_equal(Geometry value){ - return functions.always_ne_tgeo_geo(getPointInner(),ConversionUtils.geography_to_gserialized(value)) > 0; + return GeneratedFunctions.always_ne_tgeo_geo(getPointInner(),ConversionUtils.geography_to_gserialized(value)) > 0; } @@ -175,7 +175,7 @@ default boolean always_not_equal(Geometry value){ * @return True if "this" is ever equal to "value", False otherwise. */ default boolean ever_equal(Geometry value){ - return functions.ever_eq_tgeo_geo(getPointInner(),ConversionUtils.geography_to_gserialized(value)) > 0; + return GeneratedFunctions.ever_eq_tgeo_geo(getPointInner(),ConversionUtils.geography_to_gserialized(value)) > 0; } @@ -190,7 +190,7 @@ default boolean ever_equal(Geometry value){ * @return True if "this" is ever different to "value", False otherwise. */ default boolean ever_not_equal(Geometry value){ - return functions.ever_ne_tgeo_geo(getPointInner(),ConversionUtils.geography_to_gserialized(value)) > 0; + return GeneratedFunctions.ever_ne_tgeo_geo(getPointInner(),ConversionUtils.geography_to_gserialized(value)) > 0; } @@ -241,7 +241,7 @@ default boolean never_not_equal(Geometry value){ * @return A {@link TBool} with the result of the temporal equality relation. */ default TBool temporal_equal(Point other){ - return (TBool) Factory.create_temporal(functions.teq_tgeo_geo(getPointInner(), ConversionUtils.geography_to_gserialized(other)),getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.teq_tgeo_geo(getPointInner(), ConversionUtils.geography_to_gserialized(other)),getCustomType(),getTemporalType()); } @@ -259,7 +259,7 @@ default TBool temporal_equal(Point other){ * @return A {@link TBool} with the result of the temporal inequality relation. */ default TBool temporal_not_equal(Point other){ - return (TBool) Factory.create_temporal(functions.tne_tgeo_geo(getPointInner(), ConversionUtils.geography_to_gserialized(other)),getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tne_tgeo_geo(getPointInner(), ConversionUtils.geography_to_gserialized(other)),getCustomType(),getTemporalType()); } diff --git a/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointInst.java b/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointInst.java index 9e9414f54..b8d6f3b52 100644 --- a/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointInst.java +++ b/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointInst.java @@ -2,7 +2,7 @@ import jnr.ffi.Pointer; import types.basic.tpoint.TPointInst; -import functions.functions; +import functions.GeneratedFunctions; import types.temporal.TemporalType; @@ -36,12 +36,12 @@ public TGeogPointInst(Pointer inner){ */ public TGeogPointInst(String value){ super(value); - this.inner = functions.tgeogpoint_in(value); + this.inner = GeneratedFunctions.tgeogpoint_in(value); } @Override public Pointer createStringInner(String str) { - return functions.tgeogpoint_in(str); + return GeneratedFunctions.tgeogpoint_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointSeq.java b/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointSeq.java index 4203eeb00..111966cb3 100644 --- a/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointSeq.java +++ b/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointSeq.java @@ -1,7 +1,7 @@ package types.basic.tpoint.tgeog; import jnr.ffi.Pointer; -import functions.functions; +import functions.GeneratedFunctions; import types.basic.tpoint.TPointSeq; import types.temporal.TemporalType; @@ -36,13 +36,13 @@ public TGeogPointSeq(Pointer inner){ */ public TGeogPointSeq(String value){ super(value); - this.inner = functions.tgeogpoint_in(value); + this.inner = GeneratedFunctions.tgeogpoint_in(value); } @Override public Pointer createStringInner(String str) { - return functions.tgeogpoint_in(str); + return GeneratedFunctions.tgeogpoint_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointSeqSet.java b/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointSeqSet.java index c2d0137b3..de7a44461 100644 --- a/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointSeqSet.java +++ b/jmeos-core/src/main/java/types/basic/tpoint/tgeog/TGeogPointSeqSet.java @@ -1,7 +1,7 @@ package types.basic.tpoint.tgeog; import jnr.ffi.Pointer; -import functions.functions; +import functions.GeneratedFunctions; import types.basic.tpoint.TPointSeqSet; import types.temporal.TemporalType; @@ -38,12 +38,12 @@ public TGeogPointSeqSet(Pointer inner){ */ public TGeogPointSeqSet(String value){ super(value); - this.inner = functions.tgeogpoint_in(value); + this.inner = GeneratedFunctions.tgeogpoint_in(value); } @Override public Pointer createStringInner(String str) { - return functions.tgeogpoint_in(str); + return GeneratedFunctions.tgeogpoint_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPoint.java b/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPoint.java index cf7c3cd8e..993e4aae5 100644 --- a/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPoint.java +++ b/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPoint.java @@ -1,7 +1,7 @@ package types.basic.tpoint.tgeom; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Memory; import jnr.ffi.Pointer; import jnr.ffi.Runtime; @@ -55,7 +55,7 @@ public interface TGeomPoint extends TPoint { * @return A new {@link TGeomPoint} object. */ default TGeomPoint from_base_temporal(Geometry value, Temporal base){ - return (TGeomPoint) Factory.create_temporal(functions.tpoint_from_base_temp(ConversionUtils.geometry_to_gserialized(value),base.getInner()),getCustomType(),getTemporalType()); + return (TGeomPoint) Factory.create_temporal(GeneratedFunctions.tpoint_from_base_temp(ConversionUtils.geometry_to_gserialized(value),base.getInner()),getCustomType(),getTemporalType()); } @@ -77,11 +77,11 @@ default TGeomPoint from_base_temporal(Geometry value, Temporal base){ */ static TGeomPoint from_base_time(Geometry value, Time base, TInterpolation interp){ if (base instanceof tstzset){ - return new TGeomPointSeq(functions.tpointseq_from_base_tstzset(ConversionUtils.geometry_to_gserialized(value), ((tstzset) base).get_inner())); + return new TGeomPointSeq(GeneratedFunctions.tpointseq_from_base_tstzset(ConversionUtils.geometry_to_gserialized(value), ((tstzset) base).get_inner())); } else if (base instanceof tstzspan) { - return new TGeomPointSeqSet(functions.tpointseq_from_base_tstzspan(ConversionUtils.geometry_to_gserialized(value), ((tstzspan) base).get_inner(), interp.getValue())); + return new TGeomPointSeqSet(GeneratedFunctions.tpointseq_from_base_tstzspan(ConversionUtils.geometry_to_gserialized(value), ((tstzspan) base).get_inner(), interp.getValue())); } else if (base instanceof tstzspanset) { - return new TGeomPointSeq(functions.tpointseq_from_base_tstzset(ConversionUtils.geometry_to_gserialized(value), ((tstzspanset) base).get_inner())); + return new TGeomPointSeq(GeneratedFunctions.tpointseq_from_base_tstzset(ConversionUtils.geometry_to_gserialized(value), ((tstzspanset) base).get_inner())); } else{ throw new UnsupportedOperationException("Operation not supported with type " + base.getClass()); @@ -103,7 +103,7 @@ static TGeomPoint from_base_time(Geometry value, Time base, TInterpolation inter * @return A new {@link TGeogPoint} object. */ default TGeogPoint to_geographic(){ - return (TGeogPoint) Factory.create_temporal(functions.tgeometry_to_tgeography(getPointInner()),getCustomType(),getTemporalType()); + return (TGeogPoint) Factory.create_temporal(GeneratedFunctions.tgeometry_to_tgeography(getPointInner()),getCustomType(),getTemporalType()); } @@ -121,7 +121,7 @@ default TGeogPoint to_geographic(){ * @return True if "this" is always equal to "value", False otherwise. */ default boolean always_equal(Geometry value){ - return functions.always_eq_tgeo_geo(getPointInner(),ConversionUtils.geometry_to_gserialized(value)) > 0; + return GeneratedFunctions.always_eq_tgeo_geo(getPointInner(),ConversionUtils.geometry_to_gserialized(value)) > 0; } @@ -136,7 +136,7 @@ default boolean always_equal(Geometry value){ * @return True if "this" is always different to "value", False otherwise. */ default boolean always_not_equal(Geometry value){ - return (functions.always_ne_tgeo_geo((getPointInner()),ConversionUtils.geometry_to_gserialized(value)) > 0); + return (GeneratedFunctions.always_ne_tgeo_geo((getPointInner()),ConversionUtils.geometry_to_gserialized(value)) > 0); } @@ -151,7 +151,7 @@ default boolean always_not_equal(Geometry value){ * @return True if "this" is ever equal to "value", False otherwise. */ default boolean ever_equal(Geometry value){ - return functions.ever_eq_tgeo_geo(getPointInner(),ConversionUtils.geometry_to_gserialized(value)) > 0; + return GeneratedFunctions.ever_eq_tgeo_geo(getPointInner(),ConversionUtils.geometry_to_gserialized(value)) > 0; } @@ -166,7 +166,7 @@ default boolean ever_equal(Geometry value){ * @return True if "this" is ever different to "value", False otherwise. */ default boolean ever_not_equal(Geometry value){ - return functions.ever_ne_tgeo_geo(getPointInner(),ConversionUtils.geometry_to_gserialized(value)) > 0; + return GeneratedFunctions.ever_ne_tgeo_geo(getPointInner(),ConversionUtils.geometry_to_gserialized(value)) > 0; } @@ -216,7 +216,7 @@ default boolean never_not_equal(Geometry value){ * @return A {@link TBool} with the result of the temporal equality relation. */ default TBool temporal_equal(Point other){ - return (TBool) Factory.create_temporal(functions.teq_tgeo_geo(getPointInner(), ConversionUtils.geometry_to_gserialized(other)),getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.teq_tgeo_geo(getPointInner(), ConversionUtils.geometry_to_gserialized(other)),getCustomType(),getTemporalType()); } @@ -234,7 +234,7 @@ default TBool temporal_equal(Point other){ * @return A {@link TBool} with the result of the temporal inequality relation. */ default TBool temporal_not_equal(Point other){ - return (TBool) Factory.create_temporal(functions.tne_tgeo_geo(getPointInner(), ConversionUtils.geometry_to_gserialized(other)),getCustomType(),getTemporalType()); + return (TBool) Factory.create_temporal(GeneratedFunctions.tne_tgeo_geo(getPointInner(), ConversionUtils.geometry_to_gserialized(other)),getCustomType(),getTemporalType()); } default GeometrySet value_set(int precision) throws ParseException { @@ -242,7 +242,7 @@ default GeometrySet value_set(int precision) throws ParseException { Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer resPointer= functions.tgeo_values(this.getPointInner(), intPointer); + Pointer resPointer= GeneratedFunctions.tgeo_values(this.getPointInner(), intPointer); List pointList= new ArrayList<>(); int count= intPointer.getInt(Integer.BYTES); StringBuilder sb = null; diff --git a/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointInst.java b/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointInst.java index f534ad81d..f2108db75 100644 --- a/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointInst.java +++ b/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointInst.java @@ -1,7 +1,7 @@ package types.basic.tpoint.tgeom; import jnr.ffi.Pointer; -import functions.functions; +import functions.GeneratedFunctions; import types.basic.tpoint.TPointInst; import types.temporal.TemporalType; @@ -35,13 +35,13 @@ public TGeomPointInst(Pointer inner){ */ public TGeomPointInst(String value){ super(value); - this.inner = functions.tgeompoint_in(value); + this.inner = GeneratedFunctions.tgeompoint_in(value); } @Override public Pointer createStringInner(String str) { - return functions.tgeompoint_in(str); + return GeneratedFunctions.tgeompoint_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointSeq.java b/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointSeq.java index 740351cf8..499e4f7a0 100644 --- a/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointSeq.java +++ b/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointSeq.java @@ -1,7 +1,7 @@ package types.basic.tpoint.tgeom; import jnr.ffi.Pointer; -import functions.functions; +import functions.GeneratedFunctions; import types.basic.tpoint.TPointSeq; import types.temporal.TemporalType; @@ -35,13 +35,13 @@ public TGeomPointSeq(Pointer inner){ */ public TGeomPointSeq(String value){ super(value); - this.inner = functions.tgeompoint_in(value); + this.inner = GeneratedFunctions.tgeompoint_in(value); } @Override public Pointer createStringInner(String str) { - return functions.tgeompoint_in(str); + return GeneratedFunctions.tgeompoint_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointSeqSet.java b/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointSeqSet.java index 95f118cf0..0601c1437 100644 --- a/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointSeqSet.java +++ b/jmeos-core/src/main/java/types/basic/tpoint/tgeom/TGeomPointSeqSet.java @@ -1,7 +1,7 @@ package types.basic.tpoint.tgeom; import jnr.ffi.Pointer; -import functions.functions; +import functions.GeneratedFunctions; import types.basic.tpoint.TPointSeqSet; import types.temporal.TemporalType; @@ -35,13 +35,13 @@ public TGeomPointSeqSet(Pointer inner){ */ public TGeomPointSeqSet(String value){ super(value); - this.inner = functions.tgeompoint_in(value); + this.inner = GeneratedFunctions.tgeompoint_in(value); } @Override public Pointer createStringInner(String str) { - return functions.tgeompoint_in(str); + return GeneratedFunctions.tgeompoint_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/ttext/TText.java b/jmeos-core/src/main/java/types/basic/ttext/TText.java index 9401e9035..d086db293 100644 --- a/jmeos-core/src/main/java/types/basic/ttext/TText.java +++ b/jmeos-core/src/main/java/types/basic/ttext/TText.java @@ -1,6 +1,6 @@ package types.basic.ttext; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Memory; import jnr.ffi.Pointer; import jnr.ffi.Runtime; @@ -51,7 +51,7 @@ public interface TText { * @return A new {@link TText} object. */ static TText from_base_temporal(String value, Temporal base){ - return (TText) Factory.create_temporal(functions.ttext_from_base_temp(functions.cstring2text(value), base.getInner()),customType,base.getTemporalType()); + return (TText) Factory.create_temporal(GeneratedFunctions.ttext_from_base_temp(GeneratedFunctions.cstring_to_text(value), base.getInner()),customType,base.getTemporalType()); } /** @@ -72,13 +72,13 @@ static TText from_base_temporal(String value, Temporal base){ */ static Temporal from_base_time(String value, Time base){ if (base instanceof tstzspanset){ - return new TTextSeq(functions.ttextseqset_from_base_tstzspanset(functions.cstring2text(value),((tstzspanset) base).get_inner())); + return new TTextSeq(GeneratedFunctions.ttextseqset_from_base_tstzspanset(GeneratedFunctions.cstring_to_text(value),((tstzspanset) base).get_inner())); } else if (base instanceof tstzset) { - return new TTextSeq(functions.ttextseq_from_base_tstzset(functions.cstring2text(value),((tstzset) base).get_inner())); + return new TTextSeq(GeneratedFunctions.ttextseq_from_base_tstzset(GeneratedFunctions.cstring_to_text(value),((tstzset) base).get_inner())); } else if (base instanceof tstzspan) { - return new TTextSeqSet(functions.ttextseq_from_base_tstzspan(functions.cstring2text(value),((tstzspan) base).get_inner())); + return new TTextSeqSet(GeneratedFunctions.ttextseq_from_base_tstzspan(GeneratedFunctions.cstring_to_text(value),((tstzspan) base).get_inner())); } return null; @@ -98,7 +98,7 @@ static Temporal from_base_time(String value, Time base){ ttext_from_mfjson */ default TText from_mfjson(String mfjson){ - Pointer result= functions.ttext_from_mfjson(mfjson); + Pointer result= GeneratedFunctions.ttext_from_mfjson(mfjson); return (TText) Factory.create_temporal(result, getCustomType(), getTemporalType()); } @@ -114,7 +114,7 @@ default TText from_mfjson(String mfjson){ * @return Returns the string representation of "this" */ default String to_string(){ - return functions.ttext_out(getTextInner()); + return GeneratedFunctions.ttext_out(getTextInner()); } @@ -127,7 +127,7 @@ default String to_string(){ * @return A string with the Well-Known Text representation of "this". */ default String as_wkt(){ - return functions.ttext_out(getTextInner()); + return GeneratedFunctions.ttext_out(getTextInner()); } @@ -148,13 +148,13 @@ default Set value_set(){ Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer resPointer= functions.ttext_values(this.getTextInner(), intPointer); + Pointer resPointer= GeneratedFunctions.ttext_values(this.getTextInner(), intPointer); StringBuilder sb= null; sb.append("{"); int count= intPointer.getInt(Integer.BYTES); for(int i=0; i 0; + return GeneratedFunctions.always_eq_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value)) > 0; } /** @@ -321,7 +322,7 @@ default boolean always_equal(String value){ * * "False" otherwise. */ default boolean always_not_equal(String value){ - return (functions.always_ne_ttext_text(getTextInner(),functions.cstring2text(value))) > 0; + return (GeneratedFunctions.always_ne_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value))) > 0; } @@ -337,7 +338,7 @@ default boolean always_not_equal(String value){ * * "False" otherwise. */ default boolean always_less(String value){ - return functions.always_lt_ttext_text(getTextInner(),functions.cstring2text(value)) > 0; + return GeneratedFunctions.always_lt_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value)) > 0; } @@ -354,7 +355,7 @@ default boolean always_less(String value){ * * "value", "False" otherwise. */ default boolean always_less_or_equal(String value){ - return functions.always_le_ttext_text(getTextInner(),functions.cstring2text(value)) > 0; + return GeneratedFunctions.always_le_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value)) > 0; } /** @@ -370,7 +371,7 @@ default boolean always_less_or_equal(String value){ * * "value", "False" otherwise. */ default boolean always_greater_or_equal(String value){ - return (functions.always_ge_ttext_text(getTextInner(),functions.cstring2text(value))) > 0; + return (GeneratedFunctions.always_ge_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value))) > 0; } /** @@ -385,7 +386,7 @@ default boolean always_greater_or_equal(String value){ * * " `False`" otherwise. */ default boolean always_greater(String value){ - return (functions.always_gt_ttext_text(getTextInner(),functions.cstring2text(value))) > 0; + return (GeneratedFunctions.always_gt_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value))) > 0; } /** @@ -400,7 +401,7 @@ default boolean always_greater(String value){ * * "False" otherwise. */ default boolean ever_less(String value){ - return functions.ever_lt_ttext_text(getTextInner(),functions.cstring2text(value)) > 0; + return GeneratedFunctions.ever_lt_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value)) > 0; } @@ -417,7 +418,7 @@ default boolean ever_less(String value){ * * "value", "False" otherwise. */ default boolean ever_less_or_equal(String value){ - return functions.ever_le_ttext_text(getTextInner(),functions.cstring2text(value)) > 0; + return GeneratedFunctions.ever_le_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value)) > 0; } @@ -433,7 +434,7 @@ default boolean ever_less_or_equal(String value){ * * otherwise. */ default boolean ever_equal(String value){ - return functions.ever_eq_ttext_text(getTextInner(),functions.cstring2text(value)) > 0; + return GeneratedFunctions.ever_eq_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value)) > 0; } /** @@ -448,7 +449,7 @@ default boolean ever_equal(String value){ * * "False" otherwise. */ default boolean ever_not_equal(String value){ - return (functions.ever_ne_ttext_text(getTextInner(),functions.cstring2text(value))) > 0; + return (GeneratedFunctions.ever_ne_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value))) > 0; } /** @@ -464,7 +465,7 @@ default boolean ever_not_equal(String value){ * * "value", "False" otherwise. */ default boolean ever_greater_or_equal(String value){ - return (functions.ever_ge_ttext_text(getTextInner(),functions.cstring2text(value))) > 0; + return (GeneratedFunctions.ever_ge_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value))) > 0; } /** @@ -479,7 +480,7 @@ default boolean ever_greater_or_equal(String value){ * * "False" otherwise. */ default boolean ever_greater(String value){ - return (functions.ever_gt_ttext_text(getTextInner(),functions.cstring2text(value))) > 0; + return (GeneratedFunctions.ever_gt_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(value))) > 0; } /** @@ -595,7 +596,7 @@ default boolean never_greater(String value){ */ default Temporal temporal_equal_string(String other){ if ((other instanceof String)){ - return Factory.create_temporal(functions.teq_ttext_text(getTextInner(),functions.cstring2text(other)), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.teq_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(other)), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -619,7 +620,7 @@ default Temporal temporal_equal_string(String other){ */ default Temporal temporal_not_equal_string(String other){ if ((other instanceof String)){ - return Factory.create_temporal(functions.tne_ttext_text(getTextInner(), functions.cstring2text(other)), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tne_ttext_text(getTextInner(), GeneratedFunctions.cstring_to_text(other)), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -642,7 +643,7 @@ default Temporal temporal_not_equal_string(String other){ */ default Temporal temporal_less_string(String other){ if ((other instanceof String)){ - return Factory.create_temporal(functions.tlt_ttext_text(getTextInner(),functions.cstring2text(other)), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tlt_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(other)), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -666,7 +667,7 @@ default Temporal temporal_less_string(String other){ */ default Temporal temporal_less_or_equal_string(String other){ if ((other instanceof String)){ - return Factory.create_temporal(functions.tle_ttext_text(getTextInner(),functions.cstring2text(other)), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tle_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(other)), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -690,7 +691,7 @@ default Temporal temporal_less_or_equal_string(String other){ */ default Temporal temporal_greater_or_equal_string(String other){ if ((other instanceof String)){ - return Factory.create_temporal(functions.tge_ttext_text(getTextInner(),functions.cstring2text(other)), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tge_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(other)), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -713,7 +714,7 @@ default Temporal temporal_greater_or_equal_string(String other){ */ default Temporal temporal_greater_string(String other){ if ((other instanceof String) ){ - return Factory.create_temporal(functions.tgt_ttext_text(getTextInner(),functions.cstring2text(other)), getCustomType(),getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.tgt_ttext_text(getTextInner(),GeneratedFunctions.cstring_to_text(other)), getCustomType(),getTemporalType()); } else{ throw new UnsupportedOperationException("Parameter not supported"); @@ -751,11 +752,11 @@ private Pointer createPointerFromString(String str) { default TText at(Object other) throws Exception { Pointer res= null; if(other instanceof String){ - res= functions.ttext_at_value(this.getTextInner(), createPointerFromString((String) other)); + res= GeneratedFunctions.ttext_at_value(this.getTextInner(), createPointerFromString((String) other)); } else if(other instanceof List && ((List) other).getFirst() instanceof String){ int count=0; - res= functions.temporal_at_values(this.getTextInner(), functions.textset_make((Pointer) other, count)); + res= GeneratedFunctions.temporal_at_values(this.getTextInner(), GeneratedFunctions.textset_make((Pointer) other, count)); } else{ throw new Exception("type not supported"); @@ -782,11 +783,11 @@ else if(other instanceof List && ((List) other).getFirst() instanceof String) default TText minus(Object other) throws Exception { Pointer res= null; if(other instanceof String){ - res= functions.ttext_minus_value(this.getTextInner(), createPointerFromString((String) other)); + res= GeneratedFunctions.ttext_minus_value(this.getTextInner(), createPointerFromString((String) other)); } else if(other instanceof List && ((List) other).getFirst() instanceof String){ int count=0; - res= functions.temporal_minus_values(this.getTextInner(), functions.textset_make((Pointer) other, count)); + res= GeneratedFunctions.temporal_minus_values(this.getTextInner(), GeneratedFunctions.textset_make((Pointer) other, count)); } else{ throw new Exception("type not supported"); @@ -817,18 +818,18 @@ default TText concatenate(Object other, boolean other_before) throws Exception { Pointer res= null; if(other instanceof String){ if(!other_before){ - res= functions.textcat_ttext_text(this.getTextInner(), createPointerFromString((String) other)); + res= GeneratedFunctions.textcat_ttext_text(this.getTextInner(), createPointerFromString((String) other)); } else{ - res= functions.textcat_text_ttext(createPointerFromString((String) other), this.getTextInner()); + res= GeneratedFunctions.textcat_text_ttext(createPointerFromString((String) other), this.getTextInner()); } } else if (other instanceof TText){ if(!other_before){ - res= functions.textcat_ttext_ttext(this.getTextInner(), ((TText) other).getTextInner()); + res= GeneratedFunctions.textcat_ttext_ttext(this.getTextInner(), ((TText) other).getTextInner()); } else{ - res= functions.textcat_ttext_ttext(((TText) other).getTextInner(), this.getTextInner()); + res= GeneratedFunctions.textcat_ttext_ttext(((TText) other).getTextInner(), this.getTextInner()); } } else{ diff --git a/jmeos-core/src/main/java/types/basic/ttext/TTextInst.java b/jmeos-core/src/main/java/types/basic/ttext/TTextInst.java index 0762a68b4..b9438dc07 100644 --- a/jmeos-core/src/main/java/types/basic/ttext/TTextInst.java +++ b/jmeos-core/src/main/java/types/basic/ttext/TTextInst.java @@ -1,6 +1,6 @@ package types.basic.ttext; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Pointer; import types.temporal.TInstant; import types.temporal.TemporalType; @@ -39,7 +39,7 @@ public TTextInst(Pointer inner){ */ public TTextInst(String value) { super(value); - this.inner = functions.ttext_in(value); + this.inner = GeneratedFunctions.ttext_in(value); } /** @@ -61,7 +61,7 @@ public TTextInst(String str, boolean value, String timemstamp, Pointer inner) { @Override public Pointer createStringInner(String str){ - return functions.ttext_in(str); + return GeneratedFunctions.ttext_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/ttext/TTextSeq.java b/jmeos-core/src/main/java/types/basic/ttext/TTextSeq.java index ed402ffe5..47c34b368 100644 --- a/jmeos-core/src/main/java/types/basic/ttext/TTextSeq.java +++ b/jmeos-core/src/main/java/types/basic/ttext/TTextSeq.java @@ -1,6 +1,6 @@ package types.basic.ttext; -import functions.functions; +import functions.GeneratedFunctions; import types.temporal.TSequence; import java.util.List; @@ -50,7 +50,7 @@ public TTextSeq(String value){ */ public TTextSeq(String value, int interpolation) { super(value); - this.inner = functions.ttext_in(value); + this.inner = GeneratedFunctions.ttext_in(value); } @@ -66,7 +66,7 @@ public TTextSeq(List list, boolean lower_inc, boolean upper_inc, int int @Override public Pointer createStringInner(String str){ - return functions.ttext_in(str); + return GeneratedFunctions.ttext_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/basic/ttext/TTextSeqSet.java b/jmeos-core/src/main/java/types/basic/ttext/TTextSeqSet.java index 93c8eff37..daecef04f 100644 --- a/jmeos-core/src/main/java/types/basic/ttext/TTextSeqSet.java +++ b/jmeos-core/src/main/java/types/basic/ttext/TTextSeqSet.java @@ -1,6 +1,6 @@ package types.basic.ttext; -import functions.functions; +import functions.GeneratedFunctions; import types.temporal.TSequenceSet; import jnr.ffi.Pointer; import types.temporal.TemporalType; @@ -36,14 +36,14 @@ public TTextSeqSet(Pointer inner){ */ public TTextSeqSet(String value) { super(value); - this.inner = functions.ttext_in(value); + this.inner = GeneratedFunctions.ttext_in(value); } @Override public Pointer createStringInner(String str){ - return functions.ttext_in(str); + return GeneratedFunctions.ttext_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/boxes/STBox.java b/jmeos-core/src/main/java/types/boxes/STBox.java index 22f3091ce..4cdc025e5 100644 --- a/jmeos-core/src/main/java/types/boxes/STBox.java +++ b/jmeos-core/src/main/java/types/boxes/STBox.java @@ -23,7 +23,7 @@ import functions.*; import types.temporal.Temporal; import utils.ConversionUtils; -import functions.functions; +import functions.GeneratedFunctions; import javax.naming.OperationNotSupportedException; @@ -73,16 +73,16 @@ public STBox _get_box(TemporalObject other){ public STBox _get_box(Object other, boolean allow_space_only, boolean allow_time_only){ STBox other_box=null; if(allow_space_only && other instanceof Geometry){ - other_box = new STBox(functions.geo_to_stbox(ConversionUtils.geo_to_gserialized((Geometry) other, this.geodetic()))); + other_box = new STBox(GeneratedFunctions.geo_to_stbox(ConversionUtils.geo_to_gserialized((Geometry) other, this.geodetic()))); } else if (other instanceof TPoint) { - other_box = new STBox(functions.tspatial_to_stbox(((TPoint)other).getPointInner())); + other_box = new STBox(GeneratedFunctions.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())); + case tstzset p -> other_box = new STBox(GeneratedFunctions.tstzset_to_stbox(p.get_inner())); + case tstzspan ps -> other_box = new STBox(GeneratedFunctions.tstzspan_to_stbox(ps.get_inner())); + case Temporal t -> other_box = new STBox(GeneratedFunctions.tstzset_to_stbox(GeneratedFunctions.temporal_to_tstzspan(t.getInner()))); + case tstzspanset ts -> other_box = new STBox(GeneratedFunctions.tstzspanset_to_stbox(ts.get_inner())); default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); } } @@ -117,7 +117,7 @@ public STBox(Pointer inner, boolean tmin_inc, boolean tmax_inc, boolean geodetic */ public STBox(final String value){ - this._inner = functions.stbox_in(value); + this._inner = GeneratedFunctions.stbox_in(value); } /** @@ -143,7 +143,7 @@ public STBox(float xmin, float xmax, float ymin, float ymax, float zmin, float z tstzspan = new tstzspan(tmin, tmax, tmin_inc, tmax_inc).get_inner(); } - this._inner = functions.stbox_make(hasx, hasz, geodetic, srid, xmin, xmax, ymin, ymax, zmin, zmax, tstzspan); + this._inner = GeneratedFunctions.stbox_make(hasx, hasz, geodetic, srid, xmin, xmax, ymin, ymax, zmin, zmax, tstzspan); } @@ -196,7 +196,7 @@ public STBox(float xmin, float xmax, LocalDateTime tmin, LocalDateTime tmax){ * @return a STBox instance */ public STBox copy() { - return new STBox(functions.stbox_copy(this._inner)); + return new STBox(GeneratedFunctions.stbox_copy(this._inner)); } /** @@ -208,7 +208,7 @@ public STBox copy() { * @return a new STBox instance */ public static STBox from_hexwkb(String hexwkb) { - Pointer result = functions.stbox_from_hexwkb(hexwkb); + Pointer result = GeneratedFunctions.stbox_from_hexwkb(hexwkb); return new STBox(result); } @@ -224,12 +224,12 @@ public static STBox from_hexwkb(String hexwkb) { * @return a new STBox instance */ public static STBox from_geometry(Geometry geom, boolean geodetic) { - return new STBox(functions.geo_to_stbox(ConversionUtils.geo_to_gserialized(geom,geodetic))); + return new STBox(GeneratedFunctions.geo_to_stbox(ConversionUtils.geo_to_gserialized(geom,geodetic))); } public static STBox from_geometry(Geometry geom) { boolean geodetic = false; - return new STBox(functions.geo_to_stbox(ConversionUtils.geo_to_gserialized(geom,geodetic))); + return new STBox(GeneratedFunctions.geo_to_stbox(ConversionUtils.geo_to_gserialized(geom,geodetic))); } @@ -249,9 +249,9 @@ 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())); + case tstzset p -> returnValue = new STBox(GeneratedFunctions.tstzset_to_stbox(p.get_inner())); + case tstzspan ps -> returnValue = new STBox(GeneratedFunctions.tstzspan_to_stbox(ps.get_inner())); + case tstzspanset ts -> returnValue = new STBox(GeneratedFunctions.tstzspanset_to_stbox(ts.get_inner())); default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); } return returnValue; @@ -259,8 +259,8 @@ public static STBox from_time(Time other) { /* public STBox from_expanding_bounding_box_geom(Geometry value, float expansion) { - Pointer gs = functions.gserialized_in(value.toString(), -1); - Pointer result = functions.geo_expand_spatial(gs, expansion); + Pointer gs = GeneratedFunctions.geom_in(value.toString(), -1); + Pointer result = GeneratedFunctions.stbox_expand_space(GeneratedFunctions.geo_to_stbox(gs), expansion); return new STBox(result); } @@ -303,7 +303,7 @@ public STBox from_space_tstzset(Geometry value, Pointer time ){ */ public static STBox from_geometry_datetime(Geometry geometry, LocalDateTime datetime, boolean geodetic){ Pointer gs = ConversionUtils.geo_to_gserialized(geometry,geodetic); - Pointer result = functions.geo_timestamptz_to_stbox(gs,ConversionUtils.datetimeToTimestampTz(datetime)); + Pointer result = GeneratedFunctions.geo_timestamptz_to_stbox(gs,ConversionUtils.datetimeToTimestampTz(datetime)); return new STBox(result); } @@ -323,7 +323,7 @@ public static STBox from_geometry_datetime(Geometry geometry, LocalDateTime date */ public static STBox from_geometry_tstzspan(Geometry geometry, tstzset tstzset, boolean geodetic){ Pointer gs = ConversionUtils.geo_to_gserialized(geometry,geodetic); - Pointer result = functions.geo_tstzspan_to_stbox(gs,tstzset.get_inner()); + Pointer result = GeneratedFunctions.geo_tstzspan_to_stbox(gs,tstzset.get_inner()); return new STBox(result); } @@ -339,7 +339,7 @@ public static STBox from_geometry_tstzspan(Geometry geometry, tstzset tstzset, b * @return A new {@link STBox} instance. */ public static STBox from_tpoint(TPoint temporal){ - return new STBox(functions.tspatial_to_stbox(temporal.getPointInner())); + return new STBox(GeneratedFunctions.tspatial_to_stbox(temporal.getPointInner())); } @@ -354,7 +354,7 @@ public static STBox from_tpoint(TPoint temporal){ * @return a String instance */ public String toString(int max_decimals){ - return functions.stbox_out(this._inner,max_decimals); + return GeneratedFunctions.stbox_out(this._inner,max_decimals); } @@ -370,7 +370,7 @@ public String toString(int max_decimals){ * @return a new tstzset instance */ public tstzset to_tstzspan() { - Pointer result = functions.stbox_to_tstzspan(this._inner); + Pointer result = GeneratedFunctions.stbox_to_tstzspan(this._inner); return new tstzset(result); } @@ -387,7 +387,7 @@ public tstzset to_tstzspan() { * @throws ParseException */ public Geometry to_geometry(int precision) throws ParseException { - return ConversionUtils.gserialized_to_shapely_geometry(functions.stbox_to_geo(this._inner),precision); + return ConversionUtils.gserialized_to_shapely_geometry(GeneratedFunctions.stbox_to_geo(this._inner),precision); } @@ -401,7 +401,7 @@ public Geometry to_geometry(int precision) throws ParseException { * @return True if "this" has a spatial dimension, False otherwise. */ public boolean has_xy() { - return functions.stbox_hasx(this._inner); + return GeneratedFunctions.stbox_hasx(this._inner); } @@ -413,7 +413,7 @@ public boolean has_xy() { * @return True if "this" has a Z dimension, False otherwise. */ public boolean has_z() { - return functions.stbox_hasz(this._inner); + return GeneratedFunctions.stbox_hasz(this._inner); } @@ -425,7 +425,7 @@ public boolean has_z() { * @return True if "this" has a time dimension, False otherwise. */ public boolean has_t() { - return functions.stbox_hast(this._inner); + return GeneratedFunctions.stbox_hast(this._inner); } /** @@ -436,7 +436,7 @@ public boolean has_t() { * @return True if "this" is geodetic, False otherwise. */ public boolean geodetic() { - return functions.stbox_isgeodetic(this._inner); + return GeneratedFunctions.stbox_isgeodetic(this._inner); } @@ -449,7 +449,7 @@ public boolean geodetic() { * @return A {@link Float} with the minimum X coordinate of "this". */ public float xmin(){ - return (float) functions.stbox_xmin(this._inner).getDouble(0); + return (float) GeneratedFunctions.stbox_xmin(this._inner).getDouble(0); } /** @@ -461,7 +461,7 @@ public float xmin(){ * @return A {@link Float} with the minimum Y coordinate of "this". */ public float ymin(){ - return (float) functions.stbox_ymin(this._inner).getDouble(0); + return (float) GeneratedFunctions.stbox_ymin(this._inner).getDouble(0); } /** @@ -473,7 +473,7 @@ public float ymin(){ * @return A {@link Float} with the minimum Z coordinate of "this". */ public float zmin(){ - return (float) functions.stbox_zmin(this._inner).getDouble(0); + return (float) GeneratedFunctions.stbox_zmin(this._inner).getDouble(0); } /** @@ -485,7 +485,7 @@ public float zmin(){ * @return A {@link Float} with the minimum T coordinate of "this". */ public float tmin(){ - return (float) functions.stbox_tmin(this._inner).getDouble(0); + return (float) GeneratedFunctions.stbox_tmin(this._inner).getDouble(0); } /** @@ -497,7 +497,7 @@ public float tmin(){ * @return A {@link Float} with the maximum X coordinate of "this". */ public float xmax(){ - return (float) functions.stbox_xmax(this._inner).getDouble(0); + return (float) GeneratedFunctions.stbox_xmax(this._inner).getDouble(0); } /** @@ -509,7 +509,7 @@ public float xmax(){ * @return A {@link Float} with the maximum Y coordinate of "this". */ public float ymax(){ - return (float) functions.stbox_ymax(this._inner).getDouble(0); + return (float) GeneratedFunctions.stbox_ymax(this._inner).getDouble(0); } /** @@ -521,7 +521,7 @@ public float ymax(){ * @return A {@link Float} with the maximum Z coordinate of "this". */ public float zmax(){ - return (float) functions.stbox_zmax(this._inner).getDouble(0); + return (float) GeneratedFunctions.stbox_zmax(this._inner).getDouble(0); } /** @@ -533,7 +533,7 @@ public float zmax(){ * @return A {@link Float} with the maximum T coordinate of "this". */ public float tmax(){ - return (float) functions.stbox_tmax(this._inner).getDouble(0); + return (float) GeneratedFunctions.stbox_tmax(this._inner).getDouble(0); } public boolean get_tmin_inc(){ @@ -575,7 +575,7 @@ public Pointer get_inner(){ * @return an Integer with the SRID of "this" */ public int srid(){ - return functions.stbox_srid(this._inner); + return GeneratedFunctions.stbox_srid(this._inner); } @@ -588,7 +588,7 @@ public int srid(){ * @return a new STBox instance */ public STBox set_srid(int value) { - return new STBox(functions.stbox_set_srid(this._inner,value)); + return new STBox(GeneratedFunctions.stbox_set_srid(this._inner,value)); } @@ -605,7 +605,7 @@ public STBox set_srid(int value) { * @return A new {@link STBox} instance. */ public STBox get_space(){ - return new STBox(functions.stbox_get_space(this._inner)); + return new STBox(GeneratedFunctions.stbox_get_space(this._inner)); } @@ -627,8 +627,8 @@ public STBox get_space(){ * @return A new {@link STBox} instance. */ public STBox expand_stbox(STBox stbox, STBox other) { - Pointer result = functions.stbox_copy(this._inner); -// functions.stbox_expand_space(other._inner, result); + Pointer result = GeneratedFunctions.stbox_copy(this._inner); +// GeneratedFunctions.stbox_expand_space(other._inner, result); return new STBox(result); } @@ -652,7 +652,7 @@ public STBox expand_stbox(STBox stbox, STBox other) { public STBox expand_numerical(Number value) { STBox result = null; if(value instanceof Integer || value instanceof Float){ - result = new STBox(functions.stbox_expand_space(this.get_inner(), (double) value.floatValue())); + result = new STBox(GeneratedFunctions.stbox_expand_space(this.get_inner(), (double) value.floatValue())); } return result; } @@ -668,8 +668,8 @@ public STBox expand_numerical(Number value) { * @return a new STBox instance */ public STBox round(int maxdd) { - Pointer new_inner = functions.stbox_copy(this._inner); - functions.stbox_round(new_inner,maxdd); + Pointer new_inner = GeneratedFunctions.stbox_copy(this._inner); + GeneratedFunctions.stbox_round(new_inner,maxdd); return new STBox(new_inner); } @@ -691,7 +691,7 @@ public STBox round(int maxdd) { * @return a new STBox instance */ public STBox union(STBox other, boolean strict) { - return new STBox(functions.union_stbox_stbox(this._inner, other._inner, strict)); + return new STBox(GeneratedFunctions.union_stbox_stbox(this._inner, other._inner, strict)); } @@ -718,7 +718,7 @@ public STBox add(STBox other) { * @return a new STBox instance if the instersection is not empty, `None` otherwise. */ public STBox intersection(STBox other) { - return new STBox(functions.intersection_stbox_stbox(this._inner,other.get_inner())); + return new STBox(GeneratedFunctions.intersection_stbox_stbox(this._inner,other.get_inner())); } @@ -754,7 +754,7 @@ public STBox mul(STBox other) { * @return "true" if "this" and "other" are adjacent, "false" otherwise. */ public boolean is_adjacent(TemporalObject other) { - return functions.adjacent_stbox_stbox(this._inner,this._get_box(other,true,true).get_inner()); + return GeneratedFunctions.adjacent_stbox_stbox(this._inner,this._get_box(other,true,true).get_inner()); } /** @@ -767,7 +767,7 @@ public boolean is_adjacent(TemporalObject other) { * @return "true" if "this" is contained in "other", "false" otherwise. */ public boolean is_contained_in(TemporalObject other) { - return functions.contained_stbox_stbox(this._inner,this._get_box(other,true,true).get_inner()); + return GeneratedFunctions.contained_stbox_stbox(this._inner,this._get_box(other,true,true).get_inner()); } /** @@ -782,7 +782,7 @@ public boolean is_contained_in(TemporalObject other) { * @return "true" if "this" contains "other", "false otherwise. */ public boolean contains(TemporalObject other) { - return functions.contains_stbox_stbox(this._inner,this._get_box(other,true,true).get_inner()); + return GeneratedFunctions.contains_stbox_stbox(this._inner,this._get_box(other,true,true).get_inner()); } /** @@ -795,7 +795,7 @@ public boolean contains(TemporalObject other) { * @return "true" if "this" overlaps "other", "false" otherwise. */ public boolean overlaps(TemporalObject other) { - return functions.overlaps_stbox_stbox(this._inner,this._get_box(other,true,true).get_inner()); + return GeneratedFunctions.overlaps_stbox_stbox(this._inner,this._get_box(other,true,true).get_inner()); } /** @@ -808,7 +808,7 @@ public boolean overlaps(TemporalObject other) { * @return "true" if "this" is the same as "other", "false" otherwise. */ public boolean is_same(TemporalObject other) { - return functions.same_stbox_stbox(this._inner,this._get_box(other,true,true).get_inner()); + return GeneratedFunctions.same_stbox_stbox(this._inner,this._get_box(other,true,true).get_inner()); } /** @@ -821,7 +821,7 @@ public boolean is_same(TemporalObject other) { * @return "true" if "this" is strictly to the left of "other", "false" otherwise. */ public boolean is_left(TemporalObject other) { - return functions.left_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.left_stbox_stbox(this._inner,this._get_box(other).get_inner()); } /** @@ -834,7 +834,7 @@ public boolean is_left(TemporalObject other) { * @return "true" if "this" is to the left of "other", "false" otherwise. */ public boolean is_over_or_left(TemporalObject other) { - return functions.overleft_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.overleft_stbox_stbox(this._inner,this._get_box(other).get_inner()); } /** @@ -847,7 +847,7 @@ public boolean is_over_or_left(TemporalObject other) { * @return "true" if "this" is strictly to the right of "other", "false" otherwise. */ public boolean is_right(TemporalObject other) { - return functions.right_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.right_stbox_stbox(this._inner,this._get_box(other).get_inner()); } /** @@ -861,7 +861,7 @@ public boolean is_right(TemporalObject other) { * @return "true" if "this" is to the right of "other", "false" otherwise. */ public boolean is_over_or_right(TemporalObject other) { - return functions.overright_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.overright_stbox_stbox(this._inner,this._get_box(other).get_inner()); } /** @@ -874,7 +874,7 @@ public boolean is_over_or_right(TemporalObject other) { * @return "true" if "this" is strictly below of "other", "false" otherwise. */ public boolean is_below(TemporalObject other) { - return functions.below_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.below_stbox_stbox(this._inner,this._get_box(other).get_inner()); } @@ -889,7 +889,7 @@ public boolean is_below(TemporalObject other) { * @return "true" if "this" is below "other" allowing for overlap, "false" otherwise. */ public boolean is_over_or_below(TemporalObject other) { - return functions.overbelow_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.overbelow_stbox_stbox(this._inner,this._get_box(other).get_inner()); } @@ -903,7 +903,7 @@ public boolean is_over_or_below(TemporalObject other) { * @return "true" if "this" is strictly above of "other", "false" otherwise. */ public boolean is_above(TemporalObject other) { - return functions.above_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.above_stbox_stbox(this._inner,this._get_box(other).get_inner()); } @@ -918,7 +918,7 @@ public boolean is_above(TemporalObject other) { * @return "true" if "this" is above "other" allowing for overlap, "false" otherwise. */ public boolean is_over_or_above(TemporalObject other) { - return functions.overabove_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.overabove_stbox_stbox(this._inner,this._get_box(other).get_inner()); } @@ -932,7 +932,7 @@ public boolean is_over_or_above(TemporalObject other) { * @return "true" if "this" is strictly in front of "other", "false" otherwise. */ public boolean is_front(TemporalObject other) { - return functions.front_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.front_stbox_stbox(this._inner,this._get_box(other).get_inner()); } @@ -947,7 +947,7 @@ public boolean is_front(TemporalObject other) { * @return "true" if "this" is in front of "other" allowing for overlap, "false" otherwise. */ public boolean is_over_or_front(TemporalObject other) { - return functions.overfront_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.overfront_stbox_stbox(this._inner,this._get_box(other).get_inner()); } @@ -961,7 +961,7 @@ public boolean is_over_or_front(TemporalObject other) { * @return "true" if "this" is strictly behind of "other", "false" otherwise. */ public boolean is_behind(TemporalObject other) { - return functions.back_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.back_stbox_stbox(this._inner,this._get_box(other).get_inner()); } @@ -976,7 +976,7 @@ public boolean is_behind(TemporalObject other) { * @return "true" if "this" is behind of "other" allowing for overlap, "false" otherwise. */ public boolean is_over_or_behind(TemporalObject other) { - return functions.overback_stbox_stbox(this._inner,this._get_box(other).get_inner()); + return GeneratedFunctions.overback_stbox_stbox(this._inner,this._get_box(other).get_inner()); } @@ -1058,7 +1058,7 @@ public boolean is_over_or_after(TemporalObject other) throws Exception { * @return a Float instance with the distance between the nearest points of "this" and "``other``". */ public float nearest_approach_distance_geom(Geometry other) { - return (float) functions.nad_stbox_geo(this._inner, ConversionUtils.geo_to_gserialized(other, this.geodetic())); + return (float) GeneratedFunctions.nad_stbox_geo(this._inner, ConversionUtils.geo_to_gserialized(other, this.geodetic())); } @@ -1076,7 +1076,7 @@ public float nearest_approach_distance_geom(Geometry other) { * @return a Float instance with the distance between the nearest points of "this" and "``other``". */ public float nearest_approach_distance_stbox(STBox other) { - return (float) functions.nad_stbox_stbox(this._inner, other._inner); + return (float) GeneratedFunctions.nad_stbox_stbox(this._inner, other._inner); } @@ -1094,7 +1094,7 @@ public float nearest_approach_distance_stbox(STBox other) { * @return a Float instance with the distance between the nearest points of "this" and "``other``". */ public float nearest_approach_distance_tpoint(TPoint other) { - return (float) functions.nad_tgeo_stbox(this._inner, other.getPointInner()); + return (float) GeneratedFunctions.nad_tgeo_stbox(this._inner, other.getPointInner()); } @@ -1112,7 +1112,7 @@ public float nearest_approach_distance_tpoint(TPoint other) { */ public boolean eq(Box other) { boolean result; - result = other instanceof STBox && functions.stbox_eq(this._inner, ((STBox) other).get_inner()); + result = other instanceof STBox && GeneratedFunctions.stbox_eq(this._inner, ((STBox) other).get_inner()); return result; } @@ -1128,7 +1128,7 @@ public boolean eq(Box other) { */ public boolean notEquals(Box other) { boolean result; - result = !(other instanceof STBox) || functions.stbox_ne(this._inner, ((STBox) other).get_inner()); + result = !(other instanceof STBox) || GeneratedFunctions.stbox_ne(this._inner, ((STBox) other).get_inner()); return result; } @@ -1144,7 +1144,7 @@ public boolean notEquals(Box other) { */ public boolean lessThan(Box other) throws OperationNotSupportedException { if (other instanceof STBox){ - return functions.stbox_lt(this._inner,((STBox) other).get_inner()); + return GeneratedFunctions.stbox_lt(this._inner,((STBox) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); @@ -1164,7 +1164,7 @@ public boolean lessThan(Box other) throws OperationNotSupportedException { */ public boolean lessThanOrEqual(Box other) throws OperationNotSupportedException { if (other instanceof STBox){ - return functions.stbox_le(this._inner,((STBox) other).get_inner()); + return GeneratedFunctions.stbox_le(this._inner,((STBox) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); @@ -1184,7 +1184,7 @@ public boolean lessThanOrEqual(Box other) throws OperationNotSupportedException */ public boolean greaterThan(Box other) throws OperationNotSupportedException { if (other instanceof STBox){ - return functions.stbox_gt(this._inner,((STBox) other).get_inner()); + return GeneratedFunctions.stbox_gt(this._inner,((STBox) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); @@ -1203,7 +1203,7 @@ public boolean greaterThan(Box other) throws OperationNotSupportedException { */ public boolean greaterThanOrEqual(Box other) throws OperationNotSupportedException { if (other instanceof STBox){ - return functions.stbox_ge(this._inner,((STBox) other).get_inner()); + return GeneratedFunctions.stbox_ge(this._inner,((STBox) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); @@ -1213,9 +1213,9 @@ public boolean greaterThanOrEqual(Box other) throws OperationNotSupportedExcepti @Override public tstzspan to_period(){ error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); - return new tstzspan(functions.stbox_to_tstzspan(this._inner)); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + return new tstzspan(GeneratedFunctions.stbox_to_tstzspan(this._inner)); } /* ------------------------- Splitting ----------------------------------- */ @@ -1244,7 +1244,7 @@ public List quad_split_flat(){ Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer resPointer= functions.stbox_quad_split(this.get_inner(), intPointer); + Pointer resPointer= GeneratedFunctions.stbox_quad_split(this.get_inner(), intPointer); int count= intPointer.getInt(Integer.BYTES); List stBoxList= new ArrayList<>(); for(int i=0;i>> quad_split() { Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer resPointer= functions.stbox_quad_split(this.get_inner(), intPointer); // Populate boxes and count + Pointer resPointer= GeneratedFunctions.stbox_quad_split(this.get_inner(), intPointer); // Populate boxes and count List boxes= new ArrayList<>(); for(int i=0;i<8;i++){ STBox stBox= new STBox(resPointer.getPointer(i*Long.BYTES)); @@ -1355,7 +1355,7 @@ origin will be (0, 0, 0). // } // else{ // if(duration instanceof String){ -// dt= functions.pg_interval_in(duration.toString(), -1); +// dt= GeneratedFunctions.pg_interval_in(duration.toString(), -1); // } // else dt = null; // } @@ -1366,11 +1366,11 @@ origin will be (0, 0, 0). // } // else{ // if(start instanceof String){ -// st= functions.pg_timestamptz_in(start.toString(), -1); +// st= GeneratedFunctions.pg_timestamptz_in(start.toString(), -1); // } // else{ // if(this.has_t()){ -// st= functions.pg_timestamptz_in("2000-01-03", -1); +// st= GeneratedFunctions.pg_timestamptz_in("2000-01-03", -1); // } // else{ // st= null; @@ -1384,10 +1384,10 @@ origin will be (0, 0, 0). // } // else{ // if(this.geodetic()){ -// gs= functions.pgis_geography_in("Point(0 0 0)", -1); +// gs= GeneratedFunctions.geog_in("Point(0 0 0)", -1); // } // else{ -// gs= functions.pgis_geometry_in("Point (0 0 0)", -1); +// gs= GeneratedFunctions.geom_in("Point (0 0 0)", -1); // } // } // @@ -1395,7 +1395,7 @@ origin will be (0, 0, 0). // Runtime runtime = Runtime.getSystemRuntime(); // // Allocate memory for an integer (4 bytes) but do not set a value // Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); -// Pointer resPointer= functions.stbox_space_time_tiles(this.get_inner(), sz, sz, sz, dt, gs, st); +// Pointer resPointer= GeneratedFunctions.stbox_space_time_tiles(this.get_inner(), sz, sz, sz, dt, gs, st); // int count= intPointer.getInt(Integer.BYTES); // List stBoxes= new ArrayList<>(); // for(int i=0;i T from_wkb(Pointer wkb, long size, Class spansetType) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.set_from_wkb(wkb, size); + Pointer spanPointer = GeneratedFunctions.set_from_wkb(wkb, size); Constructor constructor = spansetType.getConstructor(Pointer.class); return constructor.newInstance(spanPointer); } @@ -93,7 +93,7 @@ public T from_wkb(Pointer wkb, long size, Class spansetType) throws NoSuc */ public T from_hexwkb(String hexwkb, Class spansetType) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.set_from_hexwkb(hexwkb); + Pointer spanPointer = GeneratedFunctions.set_from_hexwkb(hexwkb); Constructor constructor = spansetType.getConstructor(Pointer.class); return constructor.newInstance(spanPointer); } @@ -103,7 +103,7 @@ public T from_hexwkb(String hexwkb, Class spansetType) throws NoSuchMetho * @return Pointer type */ public Pointer as_wkb() { - return functions.set_as_wkb(this._inner, (byte) 4); + return GeneratedFunctions.set_as_wkb(this._inner, (byte) 4); } /** @@ -111,7 +111,7 @@ public Pointer as_wkb() { * @return String type */ public String as_hexwkb() { - String[] result= new String[]{functions.set_as_hexwkb(this._inner, (byte) -1)}; + String[] result= new String[]{GeneratedFunctions.set_as_hexwkb(this._inner, (byte) -1)}; System.out.println(result[0]); return result[0]; } @@ -124,7 +124,7 @@ public String as_hexwkb() { * @return A new {@link Span} instance */ public T to_span(Class spanType) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.set_to_span(this._inner); + Pointer spanPointer = GeneratedFunctions.set_to_span(this._inner); Constructor constructor = spanType.getConstructor(Pointer.class); return constructor.newInstance(spanPointer); } @@ -138,7 +138,7 @@ public T to_span(Class spanType) throws NoSuchMethodException, Invocation */ public T to_spanset(Class spansetType) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.set_to_spanset(this._inner); + Pointer spanPointer = GeneratedFunctions.set_to_spanset(this._inner); Constructor constructor = spansetType.getConstructor(Pointer.class); return constructor.newInstance(spanPointer); } @@ -152,7 +152,7 @@ public T to_spanset(Class spansetType) throws NoSuchMethodException, Invo * @return An {@link Integer} */ public int num_elements(){ - return functions.set_num_values(this._inner); + return GeneratedFunctions.set_num_values(this._inner); } /** @@ -217,7 +217,7 @@ public T elements(List list) throws Exception * @return A new {@link Integer} instance */ public long hash(){ - return functions.set_hash(this._inner); + return GeneratedFunctions.set_hash(this._inner); } @@ -244,7 +244,7 @@ public long hash(){ */ public boolean is_contained_in(Base other) throws Exception { if (other instanceof Set){ - return functions.contained_set_set(this._inner, ((Set) other)._inner); + return GeneratedFunctions.contained_set_set(this._inner, ((Set) other)._inner); } else{ throw new Exception("Operation not supported with this type"); @@ -267,7 +267,7 @@ public boolean is_contained_in(Base other) throws Exception { */ public boolean contains(Base other) throws Exception { if (other instanceof Set){ - return functions.contains_set_set(this._inner, ((Set) other)._inner); + return GeneratedFunctions.contains_set_set(this._inner, ((Set) other)._inner); } else{ throw new Exception("Operation not supported with this type"); @@ -292,7 +292,7 @@ public boolean contains(Base other) throws Exception { */ public boolean overlaps(Base other) throws Exception { if (other instanceof Set){ - return functions.overlaps_set_set(this._inner, ((Set) other)._inner); + return GeneratedFunctions.overlaps_set_set(this._inner, ((Set) other)._inner); } else{ throw new Exception("Operation not supported with this type"); @@ -321,7 +321,7 @@ public boolean overlaps(Base other) throws Exception { */ public boolean is_left(Base other) throws Exception { if (other instanceof Set){ - return functions.left_set_set(this._inner, ((Set) other)._inner); + return GeneratedFunctions.left_set_set(this._inner, ((Set) other)._inner); } else{ throw new Exception("Operation not supported with this type"); @@ -345,7 +345,7 @@ public boolean is_left(Base other) throws Exception { */ public boolean is_over_or_left(Base other) throws Exception { if (other instanceof Set){ - return functions.overleft_set_set(this._inner, ((Set) other)._inner); + return GeneratedFunctions.overleft_set_set(this._inner, ((Set) other)._inner); } else{ throw new Exception("Operation not supported with this type"); @@ -371,7 +371,7 @@ public boolean is_over_or_left(Base other) throws Exception { */ public boolean is_over_or_right(Base other) throws Exception { if (other instanceof Set){ - return functions.overright_set_set(this._inner, ((Set) other)._inner); + return GeneratedFunctions.overright_set_set(this._inner, ((Set) other)._inner); } else{ throw new Exception("Operation not supported with this type"); @@ -398,7 +398,7 @@ public boolean is_over_or_right(Base other) throws Exception { */ public boolean is_right(Base other) throws Exception { if (other instanceof Set){ - return functions.right_set_set(this._inner, ((Set) other)._inner); + return GeneratedFunctions.right_set_set(this._inner, ((Set) other)._inner); } else{ throw new Exception("Operation not supported with this type"); @@ -424,11 +424,11 @@ public boolean is_right(Base other) throws Exception { */ // public float distance(Base other) throws Exception { // if (other instanceof Set){ -// return (float) functions.distance_floatset_floatset(this._inner, ((Set) other)._inner); +// return (float) GeneratedFunctions.distance_floatset_floatset(this._inner, ((Set) other)._inner); // } else if (other instanceof Span) { -// return (float) functions.distance_floatspan_floatspan(functions.set_to_span(this._inner), ((Span) other).get_inner()); +// return (float) GeneratedFunctions.distance_floatspan_floatspan(GeneratedFunctions.set_to_span(this._inner), ((Span) other).get_inner()); // } else if (other instanceof SpanSet) { -// return (float) functions.distance_floatspanset_floatspan(this._inner,((SpanSet) other).get_inner()); +// return (float) GeneratedFunctions.distance_floatspanset_floatspan(this._inner,((SpanSet) other).get_inner()); // } // else { // throw new Exception("Operation not supported with this type"); @@ -437,7 +437,7 @@ public boolean is_right(Base other) throws Exception { // public T distance(Object other) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { -//// Pointer spanPointer = functions.set_to_spanset(this._inner); +//// Pointer spanPointer = GeneratedFunctions.set_to_spanset(this._inner); //// Constructor constructor = spansetType.getConstructor(Pointer.class); // return constructor.newInstance(spanPointer); // } @@ -469,9 +469,9 @@ private void distance(Base other) throws Exception { public boolean is_adjacent(Base other) throws Exception { if (other instanceof Span){ - return functions.adjacent_span_span(this._inner, ((Span) other).get_inner()); + return GeneratedFunctions.adjacent_span_span(this._inner, ((Span) other).get_inner()); } else if (other instanceof SpanSet) { - return functions.adjacent_spanset_span(((SpanSet) other).get_inner(),this._inner); + return GeneratedFunctions.adjacent_spanset_span(((SpanSet) other).get_inner(),this._inner); } else { throw new Exception("Operation not supported with this type"); @@ -496,7 +496,7 @@ public boolean is_adjacent(Base other) throws Exception { */ private Base intersection(Base other) throws Exception { if (other instanceof Set){ - return this.getClass().getConstructor(Pointer.class).newInstance(functions.intersection_set_set(this._inner, ((Set) other)._inner)); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.intersection_set_set(this._inner, ((Set) other)._inner)); } else { throw new Exception("Operation not supported with this type"); @@ -527,7 +527,7 @@ public Base mul(Base other) throws Exception { */ private Base minus(Base other) throws Exception { if (other instanceof Set){ - return this.getClass().getConstructor(Pointer.class).newInstance(functions.minus_set_set(this._inner, ((Set) other).get_inner())); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.minus_set_set(this._inner, ((Set) other).get_inner())); } else { throw new Exception("Operation not supported with this type"); @@ -587,7 +587,7 @@ public Base rsub(Base other) throws Exception { */ private Base union(Base other) throws Exception { if (other instanceof Set){ - return this.getClass().getConstructor(Pointer.class).newInstance(functions.union_set_set(this._inner, ((Set) other)._inner)); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.union_set_set(this._inner, ((Set) other)._inner)); } else { throw new Exception("Operation not supported with " + other + " type"); @@ -621,7 +621,7 @@ public Base add(Base other) throws Exception { */ public boolean eq(Base other){ if (other instanceof Set){ - return functions.set_eq(this._inner,((Set) other)._inner); + return GeneratedFunctions.set_eq(this._inner,((Set) other)._inner); } else { return false; @@ -641,7 +641,7 @@ public boolean eq(Base other){ */ public boolean notEquals(Base other){ if (other instanceof Set){ - return functions.set_ne(this._inner,((Set) other)._inner); + return GeneratedFunctions.set_ne(this._inner,((Set) other)._inner); } else { return true; @@ -662,7 +662,7 @@ public boolean notEquals(Base other){ */ public boolean lessThan(Base other) throws Exception { if (other instanceof Set){ - return functions.set_lt(this._inner,((Set) other)._inner); + return GeneratedFunctions.set_lt(this._inner,((Set) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -684,7 +684,7 @@ public boolean lessThan(Base other) throws Exception { */ public boolean lessThanOrEqual(Base other) throws Exception { if (other instanceof Set){ - return functions.set_le(this._inner,((Set) other)._inner); + return GeneratedFunctions.set_le(this._inner,((Set) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -706,7 +706,7 @@ public boolean lessThanOrEqual(Base other) throws Exception { */ public boolean greaterThan(Base other) throws Exception { if (other instanceof Set){ - return functions.set_gt(this._inner,((Set) other)._inner); + return GeneratedFunctions.set_gt(this._inner,((Set) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -728,7 +728,7 @@ public boolean greaterThan(Base other) throws Exception { */ public boolean greaterThanOrEqual(Base other) throws Exception { if (other instanceof Set){ - return functions.set_ge(this._inner,((Set) other)._inner); + return GeneratedFunctions.set_ge(this._inner,((Set) other)._inner); } else { throw new Exception("Operation not supported with this type"); diff --git a/jmeos-core/src/main/java/types/collections/base/Span.java b/jmeos-core/src/main/java/types/collections/base/Span.java index 8edb39040..bd99705dd 100644 --- a/jmeos-core/src/main/java/types/collections/base/Span.java +++ b/jmeos-core/src/main/java/types/collections/base/Span.java @@ -1,7 +1,7 @@ package types.collections.base; import jnr.ffi.Pointer; -import functions.functions; +import functions.GeneratedFunctions; import java.lang.reflect.Constructor; import java.lang.reflect.InvocationTargetException; @@ -80,7 +80,7 @@ public Span(java.lang.Number lower, java.lang.Number upper){ */ public T copy(Class span) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.span_copy(this._inner); + Pointer spanPointer = GeneratedFunctions.span_copy(this._inner); return span.getConstructor(Pointer.class).newInstance(spanPointer); } @@ -89,7 +89,7 @@ public T copy(Class span) throws NoSuchMethodException, InvocationTargetExcep * @return Pointer type */ public T from_wkb(Pointer wkb, long size, Class spansetType) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.span_from_wkb(wkb, size); + Pointer spanPointer = GeneratedFunctions.span_from_wkb(wkb, size); Constructor constructor = spansetType.getConstructor(Pointer.class); return constructor.newInstance(spanPointer); } @@ -100,10 +100,10 @@ public T from_wkb(Pointer wkb, long size, Class spansetType) throws NoSuc */ // public static T from_hexwkb(String hexwkb) // { -// return functions.span_from_hexwkb(hexwkb); +// return GeneratedFunctions.span_from_hexwkb(hexwkb); // } public static T from_hexwkb(String hexwkb, Class spanType) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.span_from_hexwkb(hexwkb); + Pointer spanPointer = GeneratedFunctions.span_from_hexwkb(hexwkb); Constructor constructor = spanType.getConstructor(Pointer.class); return constructor.newInstance(spanPointer); } @@ -113,7 +113,7 @@ public static T from_hexwkb(String hexwkb, Class spanType) throws NoSuchM * @return Pointer type */ public Pointer as_wkb() { - return functions.span_as_wkb(this._inner, (byte) 4); + return GeneratedFunctions.span_as_wkb(this._inner, (byte) 4); } /** @@ -121,7 +121,7 @@ public Pointer as_wkb() { * @return String type */ public String as_hexwkb() { - String[] result= new String[]{functions.span_as_hexwkb(this._inner, (byte) -1)}; + String[] result= new String[]{GeneratedFunctions.span_as_hexwkb(this._inner, (byte) -1)}; // System.out.println(result[0]); return result[0]; } @@ -131,12 +131,12 @@ public String as_hexwkb() { * @return String type */ // public T to_spanset(Class spansettype) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { -// Pointer spanPointer = functions.span_to_spanset(this._inner); +// Pointer spanPointer = GeneratedFunctions.span_to_spanset(this._inner); // return spansettype.getConstructor(Pointer.class).newInstance(spanPointer); // } public T to_spanset(Class spansetType) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.span_to_spanset(this._inner); + Pointer spanPointer = GeneratedFunctions.span_to_spanset(this._inner); Constructor constructor = spansetType.getConstructor(Pointer.class); return constructor.newInstance(spanPointer); } @@ -149,7 +149,7 @@ public T to_spanset(Class spansetType) throws NoSuchMethodException, Invo * @return True if the lower bound of the period is inclusive and False otherwise */ public boolean lower_inc(){ - return functions.span_lower_inc(this._inner); + return GeneratedFunctions.span_lower_inc(this._inner); } @@ -161,7 +161,7 @@ public boolean lower_inc(){ * @return True if the upper bound of the period is inclusive and False otherwise */ public boolean upper_inc(){ - return functions.span_upper_inc(this._inner); + return GeneratedFunctions.span_upper_inc(this._inner); } @@ -173,7 +173,7 @@ public boolean upper_inc(){ * @return Returns a {@link Float} representing the duration of the period in seconds */ public float width(){ - return (float) functions.floatspan_width(this._inner); + return (float) GeneratedFunctions.floatspan_width(this._inner); } /** @@ -184,7 +184,7 @@ public float width(){ * @return A new {@link Integer} instance */ public long hash(){ - return functions.span_hash(this._inner); + return GeneratedFunctions.span_hash(this._inner); } @@ -207,9 +207,9 @@ public long hash(){ */ public boolean is_adjacent(Base other) throws Exception { if (other instanceof Span){ - return functions.adjacent_span_span(this._inner, ((Span) other)._inner); + return GeneratedFunctions.adjacent_span_span(this._inner, ((Span) other)._inner); } else if (other instanceof SpanSet) { - return functions.adjacent_spanset_span(((SpanSet) other).get_inner(),this._inner); + return GeneratedFunctions.adjacent_spanset_span(((SpanSet) other).get_inner(),this._inner); } else { throw new Exception("Operation not supported with this type"); @@ -233,9 +233,9 @@ public boolean is_adjacent(Base other) throws Exception { */ public boolean is_contained_in(Base other) throws Exception { if (other instanceof Span){ - return functions.contained_span_span(this._inner, ((Span) other)._inner); + return GeneratedFunctions.contained_span_span(this._inner, ((Span) other)._inner); } else if (other instanceof SpanSet) { - return functions.contained_span_spanset(this._inner, ((SpanSet) other).get_inner()); + return GeneratedFunctions.contained_span_spanset(this._inner, ((SpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with this type"); @@ -262,9 +262,9 @@ public boolean is_contained_in(Base other) throws Exception { */ public boolean contains(Base other) throws Exception { if (other instanceof Span){ - return functions.contains_span_span(this._inner, ((Span) other)._inner); + return GeneratedFunctions.contains_span_span(this._inner, ((Span) other)._inner); } else if (other instanceof SpanSet) { - return functions.contains_span_spanset(this._inner, ((SpanSet) other).get_inner()); + return GeneratedFunctions.contains_span_spanset(this._inner, ((SpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with this type"); @@ -288,9 +288,9 @@ public boolean contains(Base other) throws Exception { */ public boolean overlaps(Base other) throws Exception { if (other instanceof Span){ - return functions.overlaps_span_span(this._inner, ((Span) other)._inner); + return GeneratedFunctions.overlaps_span_span(this._inner, ((Span) other)._inner); } else if (other instanceof SpanSet) { - return functions.overlaps_spanset_span(((SpanSet) other).get_inner(),this._inner); + return GeneratedFunctions.overlaps_spanset_span(((SpanSet) other).get_inner(),this._inner); } else { throw new Exception("Operation not supported with this type"); @@ -300,9 +300,9 @@ public boolean overlaps(Base other) throws Exception { public boolean is_same(Base other) throws Exception { if (other instanceof Span){ - return functions.span_eq(this._inner, ((Span) other)._inner); + return GeneratedFunctions.span_eq(this._inner, ((Span) other)._inner); } else if (other instanceof SpanSet) { - return functions.span_eq(this._inner,functions.spanset_span(((SpanSet) other).get_inner())); + return GeneratedFunctions.span_eq(this._inner,GeneratedFunctions.spanset_span(((SpanSet) other).get_inner())); } else { throw new Exception("Operation not supported with this type"); @@ -328,9 +328,9 @@ public boolean is_same(Base other) throws Exception { */ public boolean is_left(Base other) throws Exception { if (other instanceof Span){ - return functions.left_span_span(this._inner, ((Span) other)._inner); + return GeneratedFunctions.left_span_span(this._inner, ((Span) other)._inner); } else if (other instanceof SpanSet) { - return functions.left_span_spanset(this._inner, ((SpanSet) other).get_inner()); + return GeneratedFunctions.left_span_spanset(this._inner, ((SpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with this type"); @@ -354,9 +354,9 @@ public boolean is_left(Base other) throws Exception { */ public boolean is_over_or_left(Base other) throws Exception { if (other instanceof Span){ - return functions.overleft_span_span(this._inner, ((Span) other)._inner); + return GeneratedFunctions.overleft_span_span(this._inner, ((Span) other)._inner); } else if (other instanceof SpanSet) { - return functions.overleft_span_spanset(this._inner, ((SpanSet) other).get_inner()); + return GeneratedFunctions.overleft_span_spanset(this._inner, ((SpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with this type"); @@ -380,9 +380,9 @@ public boolean is_over_or_left(Base other) throws Exception { */ public boolean is_right(Base other) throws Exception { if (other instanceof Span){ - return functions.right_span_span(this._inner, ((Span) other)._inner); + return GeneratedFunctions.right_span_span(this._inner, ((Span) other)._inner); } else if (other instanceof SpanSet) { - return functions.right_span_spanset(this._inner, ((SpanSet) other).get_inner()); + return GeneratedFunctions.right_span_spanset(this._inner, ((SpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with this type"); @@ -411,9 +411,9 @@ public boolean is_right(Base other) throws Exception { */ public boolean is_over_or_right(Base other) throws Exception { if (other instanceof Span){ - return functions.overright_span_span(this._inner, ((Span) other)._inner); + return GeneratedFunctions.overright_span_span(this._inner, ((Span) other)._inner); } else if (other instanceof SpanSet) { - return functions.overright_span_spanset(this._inner, ((SpanSet) other).get_inner()); + return GeneratedFunctions.overright_span_spanset(this._inner, ((SpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with this type"); @@ -441,9 +441,9 @@ public boolean is_over_or_right(Base other) throws Exception { */ // public float distance(Base other) throws Exception { // if (other instanceof Span){ -// return (float) functions.distance_floatspan_floatspan(this._inner, ((Span) other)._inner); +// return (float) GeneratedFunctions.distance_floatspan_floatspan(this._inner, ((Span) other)._inner); // } else if (other instanceof SpanSet) { -// return (float) functions.distance_floatspanset_floatspan(((SpanSet) other).get_inner(),this._inner); +// return (float) GeneratedFunctions.distance_floatspanset_floatspan(((SpanSet) other).get_inner(),this._inner); // } // else { // throw new Exception("Operation not supported with this type"); @@ -475,9 +475,9 @@ private void distance(Base other) throws Exception { private Base intersection(Base other) throws Exception { if (other instanceof Span){ - return this.getClass().getConstructor(Pointer.class).newInstance(functions.intersection_span_span(this._inner, ((Span) other)._inner)); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.intersection_span_span(this._inner, ((Span) other)._inner)); } else if (other instanceof SpanSet) { - return this.getClass().getConstructor(Pointer.class).newInstance(functions.intersection_spanset_span(((SpanSet) other).get_inner(),this._inner)); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.intersection_spanset_span(((SpanSet) other).get_inner(),this._inner)); } else { throw new Exception("Operation not supported with this type"); @@ -491,7 +491,7 @@ public Base mul(Base other) throws Exception { protected Base minus(Base other) throws Exception { if (other instanceof Span){ - return this.getClass().getConstructor(Pointer.class).newInstance(functions.minus_span_span(this._inner, ((Span) other).get_inner())); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.minus_span_span(this._inner, ((Span) other).get_inner())); } else { throw new Exception("Operation not supported with this type"); @@ -513,9 +513,9 @@ protected Base minus(Base other) throws Exception { */ protected Base union(Base other) throws Exception { if (other instanceof Span){ - return this.getClass().getConstructor(Pointer.class).newInstance(functions.union_span_span(this._inner, ((Span) other)._inner)); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.union_span_span(this._inner, ((Span) other)._inner)); } else if (other instanceof SpanSet) { - return this.getClass().getConstructor(Pointer.class).newInstance(functions.union_spanset_span(((SpanSet) other).get_inner(),this._inner)); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.union_spanset_span(((SpanSet) other).get_inner(),this._inner)); } else { throw new Exception("Operation not supported with this type"); @@ -543,7 +543,7 @@ public Base add(Base other) throws Exception { */ public boolean eq(Base other){ if (other instanceof Span){ - return functions.span_eq(this._inner,((Span) other)._inner); + return GeneratedFunctions.span_eq(this._inner,((Span) other)._inner); } else { return false; @@ -563,7 +563,7 @@ public boolean eq(Base other){ */ public boolean notEquals(Base other){ if (other instanceof Span){ - return functions.span_ne(this._inner,((Span) other)._inner); + return GeneratedFunctions.span_ne(this._inner,((Span) other)._inner); } else { return true; @@ -585,7 +585,7 @@ public boolean notEquals(Base other){ */ public boolean lessThan(Base other) throws Exception { if (other instanceof Span){ - return functions.span_lt(this._inner,((Span) other)._inner); + return GeneratedFunctions.span_lt(this._inner,((Span) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -607,7 +607,7 @@ public boolean lessThan(Base other) throws Exception { */ public boolean lessThanOrEqual(Base other) throws Exception { if (other instanceof Span){ - return functions.span_le(this._inner,((Span) other)._inner); + return GeneratedFunctions.span_le(this._inner,((Span) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -629,7 +629,7 @@ public boolean lessThanOrEqual(Base other) throws Exception { */ public boolean greaterThan(Base other) throws Exception { if (other instanceof Span){ - return functions.span_gt(this._inner,((Span) other)._inner); + return GeneratedFunctions.span_gt(this._inner,((Span) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -650,7 +650,7 @@ public boolean greaterThan(Base other) throws Exception { */ public boolean greaterThanOrEqual(Base other) throws Exception { if (other instanceof Span){ - return functions.span_ge(this._inner,((Span) other)._inner); + return GeneratedFunctions.span_ge(this._inner,((Span) other)._inner); } else { throw new Exception("Operation not supported with this type"); diff --git a/jmeos-core/src/main/java/types/collections/base/SpanSet.java b/jmeos-core/src/main/java/types/collections/base/SpanSet.java index e24e391ca..a01824c33 100644 --- a/jmeos-core/src/main/java/types/collections/base/SpanSet.java +++ b/jmeos-core/src/main/java/types/collections/base/SpanSet.java @@ -2,7 +2,7 @@ import com.google.common.primitives.Ints; import jnr.ffi.Pointer; -import functions.functions; +import functions.GeneratedFunctions; import types.collections.number.FloatSpan; import types.collections.number.FloatSpanSet; import types.collections.number.IntSpan; @@ -59,7 +59,7 @@ public SpanSet(String str){ */ public Pointer copy() { - return functions.spanset_copy(this._inner); + return GeneratedFunctions.spanset_copy(this._inner); } /** @@ -67,7 +67,7 @@ public Pointer copy() { * @return Pointer type */ public T from_wkb(Pointer wkb, long size, Class spansetType) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.spanset_from_wkb(wkb, size); + Pointer spanPointer = GeneratedFunctions.spanset_from_wkb(wkb, size); Constructor constructor = spansetType.getConstructor(Pointer.class); return constructor.newInstance(spanPointer); } @@ -78,7 +78,7 @@ public T from_wkb(Pointer wkb, long size, Class spansetType) throws NoSuc * @return T type */ public static T from_hexwkb(String hexwkb, Class spansetType) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.spanset_from_hexwkb(hexwkb); + Pointer spanPointer = GeneratedFunctions.spanset_from_hexwkb(hexwkb); Constructor constructor = spansetType.getConstructor(Pointer.class); return constructor.newInstance(spanPointer); } @@ -89,7 +89,7 @@ public static T from_hexwkb(String hexwkb, Class spansetType) throws NoSu * @return Pointer type */ public Pointer as_wkb() { - return functions.spanset_as_wkb(this._inner, (byte) 4); + return GeneratedFunctions.spanset_as_wkb(this._inner, (byte) 4); } /** @@ -97,7 +97,7 @@ public Pointer as_wkb() { * @return String type */ public String as_hexwkb() { - String[] result= new String[]{functions.spanset_as_hexwkb(this._inner, (byte) -1)}; + String[] result= new String[]{GeneratedFunctions.spanset_as_hexwkb(this._inner, (byte) -1)}; // System.out.println(result[0]); return result[0]; } @@ -108,12 +108,12 @@ public String as_hexwkb() { * @return String type */ // public T to_span(Class spantype) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { -// Pointer spanPointer = functions.spanset_span(this._inner); +// Pointer spanPointer = GeneratedFunctions.spanset_span(this._inner); // return spantype.getConstructor(Pointer.class).newInstance(spanPointer); // } public T to_span(Class spansetType) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanPointer = functions.spanset_span(this._inner); + Pointer spanPointer = GeneratedFunctions.spanset_span(this._inner); Constructor constructor = spansetType.getConstructor(Pointer.class); return constructor.newInstance(spanPointer); } @@ -124,12 +124,12 @@ public T to_span(Class spansetType) throws NoSuchMethodException, Invocat * @return String type */ // public T to_spans(Class spantype) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { -// Pointer[] spanPointer = functions.spanset_spans(this._inner); +// Pointer[] spanPointer = GeneratedFunctions.spanset_spans(this._inner); // return spantype.getConstructor(Pointer.class).newInstance((Object) spanPointer); // } // public List to_spans(){ -// Pointer ps = functions.spanset_spans(this._inner); +// Pointer ps = GeneratedFunctions.spanset_spans(this._inner); // List spanList = new ArrayList(this.num_spans()); // System.out.println(this.num_spans()); // long pointerSize= Long.BYTES; @@ -153,7 +153,7 @@ public T to_span(Class spansetType) throws NoSuchMethodException, Invocat */ public int num_spans() { - return functions.spanset_num_spans(this._inner); + return GeneratedFunctions.spanset_num_spans(this._inner); } /* @@ -166,7 +166,7 @@ public int num_spans() @return A {@link Span} instance */ public T start_span(Class start_span) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer startSpanPointer = functions.spanset_start_span(this._inner); + Pointer startSpanPointer = GeneratedFunctions.spanset_start_span(this._inner); return start_span.getConstructor(Pointer.class).newInstance(startSpanPointer); } @@ -178,7 +178,7 @@ public T start_span(Class start_span) throws NoSuchMethodException, Invocatio * @return A {@link Span} instance */ public T end_span(Class end_span) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer endSpanPointer= functions.spanset_end_span(this._inner); + Pointer endSpanPointer= GeneratedFunctions.spanset_end_span(this._inner); return end_span.getConstructor(Pointer.class).newInstance(endSpanPointer); } @@ -191,7 +191,7 @@ public T end_span(Class end_span) throws NoSuchMethodException, InvocationTar * @return A {@link Span} instance */ public T span_n(Classspan_n, int n) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { - Pointer spanNPointer= functions.spanset_span_n(this._inner, n+1); + Pointer spanNPointer= GeneratedFunctions.spanset_span_n(this._inner, n+1); return span_n.getConstructor(Pointer.class).newInstance(spanNPointer); } @@ -199,7 +199,7 @@ public T span_n(Classspan_n, int n) throws NoSuchMethodException, InvocationT spanset spans */ // public T spans(Classspans) throws NoSuchMethodException, InvocationTargetException, InstantiationException, IllegalAccessException { -// Pointer[] spansPointer= functions.spanset_spans(this._inner); +// Pointer[] spansPointer= GeneratedFunctions.spanset_spans(this._inner); // return spans.getConstructor(Pointer.class).newInstance(spansPointer); // } @@ -234,7 +234,7 @@ private long getPointerSize(Class spanType) { spanset_spans */ public List spans(Class spanType) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException, InvocationTargetException { - Pointer ps = functions.spanset_spans(this._inner); + Pointer ps = GeneratedFunctions.spanset_spans(this._inner); int numSpans = this.num_spans(); List spanList = new ArrayList(numSpans); @@ -261,7 +261,7 @@ public List spans(Class spanType) throws NoSuchMethodException, Illega * @return A new :class:`int` instance */ public long hash(){ - return functions.spanset_hash(this._inner); + return GeneratedFunctions.spanset_hash(this._inner); } /* ------------------------- Transformations ------------------------------- */ @@ -286,9 +286,9 @@ public long hash(){ */ public boolean is_adjacent(Base other) throws Exception { if (other instanceof Span){ - return functions.adjacent_spanset_span(this._inner, ((Span) other).get_inner()); + return GeneratedFunctions.adjacent_spanset_span(this._inner, ((Span) other).get_inner()); } else if (other instanceof SpanSet) { - return functions.adjacent_spanset_spanset(this._inner,((SpanSet) other).get_inner()); + return GeneratedFunctions.adjacent_spanset_spanset(this._inner,((SpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with this type"); @@ -312,9 +312,9 @@ public boolean is_adjacent(Base other) throws Exception { */ public boolean is_contained_in(Base other) throws Exception { if (other instanceof Span){ - return functions.contained_spanset_span(this._inner, ((Span) other).get_inner()); + return GeneratedFunctions.contained_spanset_span(this._inner, ((Span) other).get_inner()); } else if (other instanceof SpanSet) { - return functions.contained_spanset_spanset(this._inner, ((SpanSet) other).get_inner()); + return GeneratedFunctions.contained_spanset_spanset(this._inner, ((SpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with this type"); @@ -337,9 +337,9 @@ public boolean is_contained_in(Base other) throws Exception { */ public boolean contains(Base other) throws Exception { if (other instanceof Span){ - return functions.contains_spanset_span(this._inner, ((Span) other).get_inner()); + return GeneratedFunctions.contains_spanset_span(this._inner, ((Span) other).get_inner()); } else if (other instanceof SpanSet) { - return functions.contains_spanset_spanset(this._inner, ((SpanSet) other)._inner); + return GeneratedFunctions.contains_spanset_spanset(this._inner, ((SpanSet) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -362,9 +362,9 @@ public boolean contains(Base other) throws Exception { */ public boolean overlaps(Base other) throws Exception { if (other instanceof Span){ - return functions.overlaps_spanset_span(this._inner, ((Span) other).get_inner()); + return GeneratedFunctions.overlaps_spanset_span(this._inner, ((Span) other).get_inner()); } else if (other instanceof SpanSet) { - return functions.overlaps_spanset_spanset(this._inner,((SpanSet) other).get_inner()); + return GeneratedFunctions.overlaps_spanset_spanset(this._inner,((SpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with this type"); @@ -382,9 +382,9 @@ public boolean overlaps(Base other) throws Exception { */ public boolean is_same(Base other) throws Exception { if (other instanceof SpanSet){ - return functions.spanset_eq(this._inner, ((SpanSet) other)._inner); + return GeneratedFunctions.spanset_eq(this._inner, ((SpanSet) other)._inner); } else if (other instanceof Span) { - return functions.spanset_eq(this._inner,functions.span_to_spanset(((Span) other).get_inner())); + return GeneratedFunctions.spanset_eq(this._inner,GeneratedFunctions.span_to_spanset(((Span) other).get_inner())); } else { throw new Exception("Operation not supported with this type"); @@ -411,9 +411,9 @@ public boolean is_same(Base other) throws Exception { */ public boolean is_left(Base other) throws Exception { if (other instanceof Span){ - return functions.left_spanset_span(this._inner, ((Span) other).get_inner()); + return GeneratedFunctions.left_spanset_span(this._inner, ((Span) other).get_inner()); } else if (other instanceof SpanSet) { - return functions.left_spanset_spanset(this._inner, ((SpanSet) other)._inner); + return GeneratedFunctions.left_spanset_spanset(this._inner, ((SpanSet) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -437,9 +437,9 @@ public boolean is_left(Base other) throws Exception { */ public boolean is_over_or_left(Base other) throws Exception { if (other instanceof Span){ - return functions.overleft_spanset_span(this._inner, ((Span) other).get_inner()); + return GeneratedFunctions.overleft_spanset_span(this._inner, ((Span) other).get_inner()); } else if (other instanceof SpanSet) { - return functions.overleft_spanset_spanset(this._inner, ((SpanSet) other)._inner); + return GeneratedFunctions.overleft_spanset_spanset(this._inner, ((SpanSet) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -463,9 +463,9 @@ public boolean is_over_or_left(Base other) throws Exception { */ public boolean is_right(Base other) throws Exception { if (other instanceof Span){ - return functions.right_spanset_span(this._inner, ((Span) other).get_inner()); + return GeneratedFunctions.right_spanset_span(this._inner, ((Span) other).get_inner()); } else if (other instanceof SpanSet) { - return functions.right_spanset_spanset(this._inner, ((SpanSet) other)._inner); + return GeneratedFunctions.right_spanset_spanset(this._inner, ((SpanSet) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -489,9 +489,9 @@ public boolean is_right(Base other) throws Exception { */ public boolean is_over_or_right(Base other) throws Exception { if (other instanceof Span){ - return functions.overright_spanset_span(this._inner, ((Span) other).get_inner()); + return GeneratedFunctions.overright_spanset_span(this._inner, ((Span) other).get_inner()); } else if (other instanceof SpanSet) { - return functions.overright_spanset_spanset(this._inner, ((SpanSet) other).get_inner()); + return GeneratedFunctions.overright_spanset_spanset(this._inner, ((SpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with this type"); @@ -517,9 +517,9 @@ public boolean is_over_or_right(Base other) throws Exception { */ // public float distance(Base other) throws Exception { // if (other instanceof Span) { -// return (float) functions.distance_floatspanset_floatspan(this._inner, ((Span) other).get_inner()); +// return (float) GeneratedFunctions.distance_floatspanset_floatspan(this._inner, ((Span) other).get_inner()); // } else if (other instanceof SpanSet) { -// return (float) functions.distance_floatspanset_floatspanset(this._inner,((SpanSet) other)._inner); +// return (float) GeneratedFunctions.distance_floatspanset_floatspanset(this._inner,((SpanSet) other)._inner); // } // else { // throw new Exception("Operation not supported with this type"); @@ -547,9 +547,9 @@ private void distance(Base other) throws Exception { */ protected Base intersection(Base other) throws Exception { if (other instanceof Span){ - return this.getClass().getConstructor(Pointer.class).newInstance(functions.intersection_spanset_span(this._inner, ((Span) other).get_inner())); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.intersection_spanset_span(this._inner, ((Span) other).get_inner())); } else if (other instanceof SpanSet) { - return this.getClass().getConstructor(Pointer.class).newInstance(functions.intersection_spanset_spanset(this._inner,((SpanSet) other).get_inner())); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.intersection_spanset_spanset(this._inner,((SpanSet) other).get_inner())); } else { throw new Exception("Operation not supported with this type"); @@ -572,9 +572,9 @@ protected Base intersection(Base other) throws Exception { */ protected Base minus(Base other) throws Exception { if (other instanceof Span){ - return this.getClass().getConstructor(Pointer.class).newInstance(functions.minus_spanset_span(this._inner, ((Span) other).get_inner())); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.minus_spanset_span(this._inner, ((Span) other).get_inner())); } else if (other instanceof SpanSet) { - return this.getClass().getConstructor(Pointer.class).newInstance(functions.minus_spanset_spanset(this._inner,((SpanSet) other).get_inner())); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.minus_spanset_spanset(this._inner,((SpanSet) other).get_inner())); } else { throw new Exception("Operation not supported with this type"); @@ -603,9 +603,9 @@ public Base sub(Base other) throws Exception { */ protected Base union(Base other) throws Exception { if (other instanceof Span){ - return this.getClass().getConstructor(Pointer.class).newInstance(functions.union_spanset_span(this._inner, ((Span) other).get_inner())); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.union_spanset_span(this._inner, ((Span) other).get_inner())); } else if (other instanceof SpanSet) { - return this.getClass().getConstructor(Pointer.class).newInstance(functions.union_spanset_spanset(((SpanSet) other).get_inner(),this._inner)); + return this.getClass().getConstructor(Pointer.class).newInstance(GeneratedFunctions.union_spanset_spanset(((SpanSet) other).get_inner(),this._inner)); } else { throw new Exception("Operation not supported with this type"); @@ -632,7 +632,7 @@ public Base add(Base other) throws Exception { */ public boolean eq(Base other){ if (other instanceof SpanSet){ - return functions.spanset_eq(this._inner,((SpanSet) other)._inner); + return GeneratedFunctions.spanset_eq(this._inner,((SpanSet) other)._inner); } else { return false; @@ -653,7 +653,7 @@ public boolean eq(Base other){ */ public boolean notEquals(Base other){ if (other instanceof SpanSet){ - return functions.spanset_ne(this._inner,((SpanSet) other)._inner); + return GeneratedFunctions.spanset_ne(this._inner,((SpanSet) other)._inner); } else { return true; @@ -675,7 +675,7 @@ public boolean notEquals(Base other){ */ public boolean lessThan(Base other) throws Exception { if (other instanceof SpanSet){ - return functions.spanset_lt(this._inner,((SpanSet) other)._inner); + return GeneratedFunctions.spanset_lt(this._inner,((SpanSet) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -697,7 +697,7 @@ public boolean lessThan(Base other) throws Exception { */ public boolean lessThanOrEqual(Base other) throws Exception { if (other instanceof SpanSet){ - return functions.spanset_le(this._inner,((SpanSet) other)._inner); + return GeneratedFunctions.spanset_le(this._inner,((SpanSet) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -719,7 +719,7 @@ public boolean lessThanOrEqual(Base other) throws Exception { */ public boolean greaterThan(Base other) throws Exception { if (other instanceof SpanSet){ - return functions.spanset_gt(this._inner,((SpanSet) other)._inner); + return GeneratedFunctions.spanset_gt(this._inner,((SpanSet) other)._inner); } else { throw new Exception("Operation not supported with this type"); @@ -740,7 +740,7 @@ public boolean greaterThan(Base other) throws Exception { */ public boolean greaterThanOrEqual(Base other) throws Exception { if (other instanceof SpanSet) { - return functions.spanset_ge(this._inner, ((SpanSet) other)._inner); + return GeneratedFunctions.spanset_ge(this._inner, ((SpanSet) other)._inner); } else { throw new Exception("Operation not supported with this type"); } diff --git a/jmeos-core/src/main/java/types/collections/geo/GeoSet.java b/jmeos-core/src/main/java/types/collections/geo/GeoSet.java index d64c65dff..0ad7722d6 100644 --- a/jmeos-core/src/main/java/types/collections/geo/GeoSet.java +++ b/jmeos-core/src/main/java/types/collections/geo/GeoSet.java @@ -5,7 +5,7 @@ import org.locationtech.jts.io.ParseException; import types.collections.base.Set; import utils.ConversionUtils; -import functions.functions; +import functions.GeneratedFunctions; /** @@ -67,7 +67,7 @@ public static GeoSet factory(String type, Pointer inner){ */ public String toString(){ int max_decimals = 15; - return functions.tspatial_out(this._inner,max_decimals); + return GeneratedFunctions.tspatial_out(this._inner,max_decimals); } @@ -82,7 +82,7 @@ public String toString(){ */ protected String as_ewkt(){ int max_decimals = 15; - return functions.tspatial_as_ewkt(this._inner,max_decimals); + return GeneratedFunctions.tspatial_as_ewkt(this._inner,max_decimals); } /** @@ -95,7 +95,7 @@ protected String as_ewkt(){ */ protected String as_wkt(){ int max_decimals = 15; - return functions.tspatial_as_text(this._inner,max_decimals); + return GeneratedFunctions.tspatial_as_text(this._inner,max_decimals); } /** @@ -108,7 +108,7 @@ protected String as_wkt(){ */ protected String as_text(){ int max_decimals = 15; - return functions.tspatial_as_text(this._inner,max_decimals); + return GeneratedFunctions.tspatial_as_text(this._inner,max_decimals); } /* ------------------------- Accessors ------------------------------------- */ @@ -126,7 +126,7 @@ protected String as_text(){ */ @Override public Geometry start_element() throws ParseException { - return ConversionUtils.gserialized_to_shapely_geometry(functions.geoset_start_value(this._inner),15); + return ConversionUtils.gserialized_to_shapely_geometry(GeneratedFunctions.geoset_start_value(this._inner),15); } @@ -140,7 +140,7 @@ public Geometry start_element() throws ParseException { */ @Override public Geometry end_element() throws ParseException { - return ConversionUtils.gserialized_to_shapely_geometry(functions.geoset_end_value(this._inner),15); + return ConversionUtils.gserialized_to_shapely_geometry(GeneratedFunctions.geoset_end_value(this._inner),15); } @@ -153,7 +153,7 @@ public Geometry end_element() throws ParseException { * @return An integer */ protected int srid(){ - return functions.tspatial_srid(this._inner); + return GeneratedFunctions.tspatial_srid(this._inner); } @@ -179,7 +179,7 @@ public boolean contains(GeoSet other) throws Exception { */ public Geometry intersection_geom(Geometry geom) throws ParseException { return ConversionUtils.gserialized_to_shapely_geometry( - functions.intersection_set_geo(this._inner, ConversionUtils.geometry_to_gserialized(geom)),15); + GeneratedFunctions.intersection_set_geo(this._inner, ConversionUtils.geometry_to_gserialized(geom)),15); } /** @@ -195,7 +195,7 @@ public Geometry intersection_geom(Geometry geom) throws ParseException { * @throws ParseException */ public GeoSet intersection_geoset(GeoSet geo, String type){ - return factory(type,functions.intersection_set_set(this._inner, geo._inner)); + return factory(type,GeneratedFunctions.intersection_set_set(this._inner, geo._inner)); } @@ -214,9 +214,9 @@ public GeoSet intersection_geoset(GeoSet geo, String type){ */ public GeoSet minus(Object geo, String type){ if(geo instanceof Geometry){ - return factory(type, functions.minus_set_geo(this._inner, ConversionUtils.geometry_to_gserialized((Geometry) geo))); + return factory(type, GeneratedFunctions.minus_set_geo(this._inner, ConversionUtils.geometry_to_gserialized((Geometry) geo))); } else if (geo instanceof GeoSet) { - return factory(type, functions.minus_set_set(this._inner, ((GeoSet)geo)._inner)); + return factory(type, GeneratedFunctions.minus_set_set(this._inner, ((GeoSet)geo)._inner)); } return null; } @@ -237,7 +237,7 @@ public GeoSet minus(Object geo, String type){ :meth:`minus` */ public Geometry subtract_from(Object geo, String type) throws ParseException { - Pointer result= functions.minus_geo_set(ConversionUtils.geometry_to_gserialized((Geometry) geo), this._inner); + Pointer result= GeneratedFunctions.minus_geo_set(ConversionUtils.geometry_to_gserialized((Geometry) geo), this._inner); if(result != null) { return ConversionUtils.gserialized_to_shapely_geometry(result, 15); } @@ -260,9 +260,9 @@ public Geometry subtract_from(Object geo, String type) throws ParseException { */ public GeoSet union(Object geo, String type){ if(geo instanceof Geometry){ - return factory(type, functions.union_set_geo(this._inner, ConversionUtils.geometry_to_gserialized((Geometry) geo))); + return factory(type, GeneratedFunctions.union_set_geo(this._inner, ConversionUtils.geometry_to_gserialized((Geometry) geo))); } else if (geo instanceof GeoSet) { - return factory(type, functions.union_set_set(this._inner, ((GeoSet)geo)._inner)); + return factory(type, GeneratedFunctions.union_set_set(this._inner, ((GeoSet)geo)._inner)); } return null; } @@ -284,7 +284,7 @@ public GeoSet union(Object geo, String type){ * @return A new {@link GeoSet} object of the same subtype of "this". */ public GeoSet round(int decimals, String type){ - return factory(type, functions.temporal_round(this._inner,decimals)); + return factory(type, GeneratedFunctions.temporal_round(this._inner,decimals)); } diff --git a/jmeos-core/src/main/java/types/collections/geo/GeographySet.java b/jmeos-core/src/main/java/types/collections/geo/GeographySet.java index ee1376c1a..c7636dcaa 100644 --- a/jmeos-core/src/main/java/types/collections/geo/GeographySet.java +++ b/jmeos-core/src/main/java/types/collections/geo/GeographySet.java @@ -1,5 +1,5 @@ package types.collections.geo; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Pointer; @@ -32,7 +32,7 @@ public GeographySet(Pointer inner){ */ public GeographySet(String str){ super(str); - this._inner = functions.geogset_in(str); + this._inner = GeneratedFunctions.geogset_in(str); } public String getType(){return type;} @@ -44,7 +44,7 @@ public Pointer get_inner(){ @Override public Pointer createStringInner(String str){ - return functions.geogset_in(str); + return GeneratedFunctions.geogset_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/collections/geo/GeometrySet.java b/jmeos-core/src/main/java/types/collections/geo/GeometrySet.java index 2a9aab519..0bc30b5ca 100644 --- a/jmeos-core/src/main/java/types/collections/geo/GeometrySet.java +++ b/jmeos-core/src/main/java/types/collections/geo/GeometrySet.java @@ -1,5 +1,5 @@ package types.collections.geo; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Pointer; /** @@ -31,7 +31,7 @@ public GeometrySet(Pointer inner){ */ public GeometrySet(String str){ super(str); - this._inner = functions.geomset_in(str); + this._inner = GeneratedFunctions.geomset_in(str); } public String getType(){return type;} @@ -43,7 +43,7 @@ public Pointer get_inner(){ @Override public Pointer createStringInner(String str){ - return functions.geomset_in(str); + return GeneratedFunctions.geomset_in(str); } @Override diff --git a/jmeos-core/src/main/java/types/collections/number/FloatSet.java b/jmeos-core/src/main/java/types/collections/number/FloatSet.java index 88425e3bd..8af65302b 100644 --- a/jmeos-core/src/main/java/types/collections/number/FloatSet.java +++ b/jmeos-core/src/main/java/types/collections/number/FloatSet.java @@ -1,11 +1,13 @@ package types.collections.number; +import jnr.ffi.Memory; import jnr.ffi.Pointer; +import jnr.ffi.Runtime; import types.collections.base.Base; import types.collections.base.Set; import java.util.ArrayList; import java.util.List; -import functions.functions; +import functions.GeneratedFunctions; /** @@ -32,12 +34,12 @@ public FloatSet(Pointer inner){ public FloatSet(String str){ super(str); - _inner = functions.floatset_in(str); + _inner = GeneratedFunctions.floatset_in(str); } @Override public Pointer createStringInner(String str){ - return functions.floatset_in(str); + return GeneratedFunctions.floatset_in(str); } @Override @@ -63,7 +65,7 @@ public Pointer createInner(Pointer inner){ * @return A new {@link String} instance */ public String toString(int max_decimals){ - return functions.floatset_out(this._inner, max_decimals); + return GeneratedFunctions.floatset_out(this._inner, max_decimals); } @@ -81,7 +83,7 @@ public String toString(int max_decimals){ * @return A new {@link FloatSpanSet} instance */ public FloatSpanSet to_spanset(){ - return new FloatSpanSet(functions.set_to_spanset(this._inner)); + return new FloatSpanSet(GeneratedFunctions.set_to_spanset(this._inner)); } @@ -97,7 +99,7 @@ public FloatSpanSet to_spanset(){ * @return A new {@link FloatSpan} instance */ public FloatSpan to_span(){ - return new FloatSpan(functions.set_to_span(this._inner)); + return new FloatSpan(GeneratedFunctions.set_to_span(this._inner)); } public IntSet to_intset(){ @@ -127,7 +129,7 @@ public Pointer get_inner(){ * @return A {@link Float} instance */ public Float start_element(){ - return (float) functions.floatset_start_value(this._inner); + return (float) GeneratedFunctions.floatset_start_value(this._inner); } @@ -142,7 +144,7 @@ public Float start_element(){ * @return A {@link Float} instance */ public Float end_element(){ - return (float) functions.floatset_end_value(this._inner); + return (float) GeneratedFunctions.floatset_end_value(this._inner); } /** @@ -163,7 +165,7 @@ public Float element_n(int n) throws Exception { } public List elements(){ - Pointer elems = functions.floatset_values(this._inner); + Pointer elems = GeneratedFunctions.floatset_values(this._inner, Memory.allocate(Runtime.getSystemRuntime(), 4)); List ret = new ArrayList(); for (int i=0;i spans(){ - Pointer ps = functions.spanset_spans(this._inner); + Pointer ps = GeneratedFunctions.spanset_spans(this._inner); List spanList = new ArrayList(this.num_spans()); System.out.println(this.num_spans()); long pointerSize= Double.BYTES; @@ -238,7 +238,7 @@ public FloatSpanSet scale(int width){ * @return a new {@link FloatSpanSet} instance */ public FloatSpanSet shift_scale(int delta, int width){ - return new FloatSpanSet(functions.floatspanset_shift_scale(this._inner,delta,width,delta != 0, width != 0)); + return new FloatSpanSet(GeneratedFunctions.floatspanset_shift_scale(this._inner,delta,width,delta != 0, width != 0)); } @@ -265,7 +265,7 @@ public FloatSpanSet shift_scale(int delta, int width){ public boolean is_adjacent(Object other) throws Exception { boolean answer = false; if (other instanceof Float){ - answer = functions.adjacent_spanset_float(this._inner, (float) other); + answer = GeneratedFunctions.adjacent_spanset_float(this._inner, (float) other); } else{ answer = super.is_adjacent((Base)other); @@ -289,7 +289,7 @@ public boolean is_adjacent(Object other) throws Exception { */ public boolean contains(Object other) throws Exception { if (other instanceof Float){ - return functions.contains_spanset_float(this._inner, (float) other); + return GeneratedFunctions.contains_spanset_float(this._inner, (float) other); } else{ return super.contains((Base)other); @@ -311,7 +311,7 @@ public boolean contains(Object other) throws Exception { */ public boolean is_same(Object other) throws Exception { if (other instanceof Float){ - return functions.spanset_eq(this._inner,functions.float_to_spanset((float) other)); + return GeneratedFunctions.spanset_eq(this._inner,GeneratedFunctions.float_to_spanset((float) other)); } else{ return super.is_same((Base)other); @@ -340,7 +340,7 @@ public boolean is_same(Object other) throws Exception { public boolean is_left(Object other) throws Exception { boolean answer = false; if (other instanceof Float){ - answer = functions.left_spanset_float(this._inner,(float) other); + answer = GeneratedFunctions.left_spanset_float(this._inner,(float) other); } else{ answer = super.is_left((Base)other); @@ -367,7 +367,7 @@ public boolean is_left(Object other) throws Exception { public boolean is_over_or_left(Object other) throws Exception { boolean answer = false; if (other instanceof Float){ - answer = functions.overleft_spanset_float(this._inner,(float) other); + answer = GeneratedFunctions.overleft_spanset_float(this._inner,(float) other); } else{ answer = super.is_over_or_left((Base)other); @@ -394,7 +394,7 @@ public boolean is_over_or_left(Object other) throws Exception { public boolean is_right(Object other) throws Exception { boolean answer = false; if (other instanceof Float){ - answer = functions.right_spanset_float(this._inner,(float) other); + answer = GeneratedFunctions.right_spanset_float(this._inner,(float) other); } else{ answer = super.is_right((Base)other); @@ -422,7 +422,7 @@ public boolean is_right(Object other) throws Exception { public boolean is_over_or_right(Object other) throws Exception { boolean answer = false; if (other instanceof Float){ - answer = functions.overright_spanset_float(this._inner,(float) other); + answer = GeneratedFunctions.overright_spanset_float(this._inner,(float) other); } else{ answer = super.is_over_or_right((Base)other); @@ -450,14 +450,14 @@ public boolean is_over_or_right(Object other) throws Exception { public float distance(Object other) throws Exception { float answer = 0; if (other instanceof Float) { - answer = (float) functions.distance_spanset_float(this._inner, (int) other); + answer = (float) GeneratedFunctions.distance_spanset_float(this._inner, (int) other); } else if (other instanceof FloatSet) { FloatSpan fs = ((FloatSet) other).to_span(FloatSpan.class); - answer = (float) functions.distance_intspanset_intspan(this._inner, (fs).get_inner()); + answer = (float) GeneratedFunctions.distance_intspanset_intspan(this._inner, (fs).get_inner()); } else if (other instanceof FloatSpan) { - answer = (float) functions.distance_intspanset_intspan(this._inner, ((FloatSpan) other).get_inner()); + answer = (float) GeneratedFunctions.distance_intspanset_intspan(this._inner, ((FloatSpan) other).get_inner()); } else if (other instanceof FloatSpanSet) { - answer = (float) functions.distance_intspanset_intspanset(this._inner, ((FloatSpanSet) other).get_inner()); + answer = (float) GeneratedFunctions.distance_intspanset_intspanset(this._inner, ((FloatSpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with " + other + " type"); } @@ -482,7 +482,7 @@ public float distance(Object other) throws Exception { public FloatSpanSet intersection(Object other) throws Exception { Pointer result = null; if ((other instanceof Float) || (other instanceof Integer)){ - result= functions.intersection_spanset_float(this._inner, (float) other); + result= GeneratedFunctions.intersection_spanset_float(this._inner, (float) other); } else{ FloatSpanSet tmp= (FloatSpanSet) super.intersection((Base) other); @@ -512,7 +512,7 @@ public FloatSpanSet mul(int other) throws Exception { public FloatSpanSet minus(Object other) throws Exception { Pointer result = null; if ((other instanceof Integer) || (other instanceof Float)){ - result = functions.minus_spanset_float(this._inner, (float) other); + result = GeneratedFunctions.minus_spanset_float(this._inner, (float) other); } else{ FloatSpanSet tmp = (FloatSpanSet) super.minus((Base) other); @@ -542,7 +542,7 @@ public FloatSpanSet sub(int other) throws Exception { public FloatSpanSet union(Object other) throws Exception { Pointer result = null; if ((other instanceof Integer) || (other instanceof Float)) { - result = functions.union_spanset_float(this._inner, (float) other); + result = GeneratedFunctions.union_spanset_float(this._inner, (float) other); } else { FloatSpanSet tmp = (FloatSpanSet) super.union((Base) other); result = tmp.get_inner(); diff --git a/jmeos-core/src/main/java/types/collections/number/IntSet.java b/jmeos-core/src/main/java/types/collections/number/IntSet.java index 4ff904b09..95b76fb71 100644 --- a/jmeos-core/src/main/java/types/collections/number/IntSet.java +++ b/jmeos-core/src/main/java/types/collections/number/IntSet.java @@ -1,12 +1,14 @@ package types.collections.number; import types.collections.base.Base; import types.collections.base.Set; +import jnr.ffi.Memory; import jnr.ffi.Pointer; +import jnr.ffi.Runtime; import java.util.ArrayList; import java.util.List; import java.util.Objects; -import functions.functions; +import functions.GeneratedFunctions; /** * Class for representing a set of text values. @@ -32,12 +34,12 @@ public IntSet(Pointer inner){ public IntSet(String str){ super(str); - _inner = functions.intset_in(str); + _inner = GeneratedFunctions.intset_in(str); } @Override public Pointer createStringInner(String str){ - return functions.intset_in(str); + return GeneratedFunctions.intset_in(str); } @Override @@ -61,7 +63,7 @@ public Pointer createInner(Pointer inner){ * @return A new {@link String} instance */ public String toString(){ - return functions.intset_out(this._inner); + return GeneratedFunctions.intset_out(this._inner); } /* ------------------------- Conversions ----------------------------------- */ @@ -78,7 +80,7 @@ public String toString(){ * @return A new {@link IntSpanSet} instance */ public IntSpanSet to_spanset(){ - return new IntSpanSet(functions.set_to_spanset(this._inner)); + return new IntSpanSet(GeneratedFunctions.set_to_spanset(this._inner)); } @@ -93,7 +95,7 @@ public IntSpanSet to_spanset(){ * @return A {@link IntSpan} instance */ public IntSpan to_span(){ - return new IntSpan(functions.set_to_span(this._inner)); + return new IntSpan(GeneratedFunctions.set_to_span(this._inner)); } public FloatSet to_floatset(){ @@ -123,7 +125,7 @@ public Pointer get_inner(){ * @return A {@link Integer} instance */ public Integer start_element(){ - return functions.intset_start_value(this._inner); + return GeneratedFunctions.intset_start_value(this._inner); } @@ -138,7 +140,7 @@ public Integer start_element(){ * @return A {@link Integer} instance */ public Integer end_element(){ - return functions.intset_end_value(this._inner); + return GeneratedFunctions.intset_end_value(this._inner); } /* @@ -156,11 +158,11 @@ public Integer end_element(){ public Integer element_n(int n) throws Exception { super.element_n(n); - return Objects.requireNonNull(functions.intset_value_n(this._inner, n + 1)).getInt(Integer.BYTES); + return Objects.requireNonNull(GeneratedFunctions.intset_value_n(this._inner, n + 1)).getInt(Integer.BYTES); } public List elements(){ - Pointer elems = functions.intset_values(this._inner); + Pointer elems = GeneratedFunctions.intset_values(this._inner, Memory.allocate(Runtime.getSystemRuntime(), 4)); List ret = new ArrayList(); for (int i=0;i spans(){ - Pointer ps = functions.spanset_spans(this._inner); + Pointer ps = GeneratedFunctions.spanset_spans(this._inner); List spanList = new ArrayList(); System.out.println(this.num_spans()); long pointerSize= Long.BYTES; @@ -245,7 +245,7 @@ public IntSpanSet scale(int width){ */ public IntSpanSet shift_scale(int delta, int width){ - return new IntSpanSet(functions.intspanset_shift_scale(this._inner,delta,width,delta != 0,width!=0)); + return new IntSpanSet(GeneratedFunctions.intspanset_shift_scale(this._inner,delta,width,delta != 0,width!=0)); } @@ -274,7 +274,7 @@ public IntSpanSet shift_scale(int delta, int width){ public boolean is_adjacent(Object other) throws Exception { boolean answer = false; if (other instanceof Integer){ - answer = functions.adjacent_spanset_int(this._inner, (int) other); + answer = GeneratedFunctions.adjacent_spanset_int(this._inner, (int) other); } else{ answer = super.is_adjacent((Base)other); @@ -299,7 +299,7 @@ public boolean is_adjacent(Object other) throws Exception { public boolean contains(Object other) throws Exception { boolean answer = false; if (other instanceof Integer){ - answer = functions.contains_spanset_int(this._inner, (int) other); + answer = GeneratedFunctions.contains_spanset_int(this._inner, (int) other); } else{ answer = super.contains((Base)other); @@ -322,7 +322,7 @@ public boolean contains(Object other) throws Exception { */ public boolean is_same(Object other) throws Exception { if (other instanceof Integer){ - return functions.spanset_eq(this._inner,functions.int_to_spanset((int) other)); + return GeneratedFunctions.spanset_eq(this._inner,GeneratedFunctions.int_to_spanset((int) other)); } else{ return super.is_same((Base)other); @@ -350,7 +350,7 @@ public boolean is_same(Object other) throws Exception { public boolean is_left(Object other) throws Exception { boolean answer = false; if (other instanceof Integer){ - answer = functions.left_spanset_int(this._inner,(int) other); + answer = GeneratedFunctions.left_spanset_int(this._inner,(int) other); } else{ answer = super.is_left((Base)other); @@ -377,7 +377,7 @@ public boolean is_left(Object other) throws Exception { public boolean is_over_or_left(Object other) throws Exception { boolean answer = false; if (other instanceof Integer){ - answer = functions.overleft_spanset_int(this._inner,(int) other); + answer = GeneratedFunctions.overleft_spanset_int(this._inner,(int) other); } else{ answer = super.is_over_or_left((Base)other); @@ -404,7 +404,7 @@ public boolean is_over_or_left(Object other) throws Exception { public boolean is_right(Object other) throws Exception { boolean answer = false; if (other instanceof Integer){ - answer = functions.right_spanset_int(this._inner,(int) other); + answer = GeneratedFunctions.right_spanset_int(this._inner,(int) other); } else{ answer = super.is_right((Base)other); @@ -432,7 +432,7 @@ public boolean is_right(Object other) throws Exception { public boolean is_over_or_right(Object other) throws Exception { boolean answer = false; if (other instanceof Integer){ - answer = functions.overright_spanset_int(this._inner,(int) other); + answer = GeneratedFunctions.overright_spanset_int(this._inner,(int) other); } else{ answer = super.is_over_or_right((Base)other); @@ -460,14 +460,14 @@ public boolean is_over_or_right(Object other) throws Exception { public float distance(Object other) throws Exception { float answer = 0; if (other instanceof Integer) { - answer = (float) functions.distance_spanset_int(this._inner, (int) other); + answer = (float) GeneratedFunctions.distance_spanset_int(this._inner, (int) other); } else if (other instanceof IntSet) { IntSpan is = ((IntSet) other).to_span(IntSpan.class); - answer = (float) functions.distance_intspanset_intspan(this._inner, (is).get_inner()); + answer = (float) GeneratedFunctions.distance_intspanset_intspan(this._inner, (is).get_inner()); } else if (other instanceof IntSpan) { - answer = (float) functions.distance_intspanset_intspan(this._inner, ((IntSpan) other).get_inner()); + answer = (float) GeneratedFunctions.distance_intspanset_intspan(this._inner, ((IntSpan) other).get_inner()); } else if (other instanceof IntSpanSet) { - answer = (float) functions.distance_intspanset_intspanset(this._inner, ((IntSpanSet) other).get_inner()); + answer = (float) GeneratedFunctions.distance_intspanset_intspanset(this._inner, ((IntSpanSet) other).get_inner()); } else { throw new Exception("Operation not supported with " + other + " type"); } @@ -488,7 +488,7 @@ public float distance(Object other) throws Exception { public IntSpanSet intersection(Object other) throws Exception { Pointer result = null; if (other instanceof Integer){ - result= functions.intersection_spanset_int(this._inner, (int) other); + result= GeneratedFunctions.intersection_spanset_int(this._inner, (int) other); } else{ IntSpanSet tmp= (IntSpanSet) super.intersection((Base) other); @@ -519,7 +519,7 @@ public IntSpanSet mul(int other) throws Exception { public IntSpanSet minus(Object other) throws Exception { Pointer result = null; if ((other instanceof Integer) || (other instanceof Float)){ - result = functions.minus_spanset_int(this._inner, (int) other); + result = GeneratedFunctions.minus_spanset_int(this._inner, (int) other); } else{ IntSpanSet tmp = (IntSpanSet) super.minus((Base) other); @@ -552,7 +552,7 @@ public IntSpanSet sub(int other) throws Exception { public IntSpanSet union(Object other) throws Exception { Pointer result = null; if ((other instanceof Integer) || (other instanceof Float)){ - result = functions.union_spanset_int(this._inner, (int) other); + result = GeneratedFunctions.union_spanset_int(this._inner, (int) other); } else{ IntSpanSet tmp = (IntSpanSet) super.minus((Base) other); diff --git a/jmeos-core/src/main/java/types/collections/text/TextSet.java b/jmeos-core/src/main/java/types/collections/text/TextSet.java index 1d5cdb463..9a402c844 100644 --- a/jmeos-core/src/main/java/types/collections/text/TextSet.java +++ b/jmeos-core/src/main/java/types/collections/text/TextSet.java @@ -3,7 +3,7 @@ import jnr.ffi.Pointer; import types.collections.base.Base; import types.collections.base.Set; -import functions.functions; +import functions.GeneratedFunctions; /** * Class for representing a set of text values. @@ -31,7 +31,7 @@ public TextSet(){ public TextSet(String str){ super(str); - _inner = functions.textset_in(str); + _inner = GeneratedFunctions.textset_in(str); } public TextSet(Pointer inner){ @@ -40,7 +40,7 @@ public TextSet(Pointer inner){ } @Override public Pointer createStringInner(String str){ - return functions.textset_in(str); + return GeneratedFunctions.textset_in(str); } @Override @@ -50,7 +50,7 @@ public Pointer createInner(Pointer inner){ public String as_hexwkb(){ - String pr = functions.set_as_hexwkb(this.get_inner(),(byte) -1); + String pr = GeneratedFunctions.set_as_hexwkb(this.get_inner(),(byte) -1); return pr; } @@ -68,7 +68,7 @@ public String as_hexwkb(){ * @return A new {@link String} instance */ public String toString(){ - return functions.textset_out(this._inner); + return GeneratedFunctions.textset_out(this._inner); } @@ -88,7 +88,7 @@ public Pointer get_inner(){ * @return A {@link String} instance */ public String start_element() { - return functions.text2cstring(functions.textset_start_value(this._inner)); + return GeneratedFunctions.text_to_cstring(GeneratedFunctions.textset_start_value(this._inner)); } /** @@ -101,7 +101,7 @@ public String start_element() { * @return A {@link String} instance */ public String end_element(){ - return functions.text2cstring(functions.textset_end_value(this._inner)); + return GeneratedFunctions.text_to_cstring(GeneratedFunctions.textset_end_value(this._inner)); } /** @@ -118,7 +118,7 @@ public String end_element(){ */ public String element_n(int n) throws Exception { super.element_n(n); - return functions.text2cstring(functions.textset_value_n(this._inner,n)); + return GeneratedFunctions.text_to_cstring(GeneratedFunctions.textset_value_n(this._inner,n)); } /* ------------------------- Topological Operations -------------------------------- */ @@ -139,7 +139,7 @@ public String element_n(int n) throws Exception { public boolean contains(Object other) throws Exception { if (other instanceof String){ TextSet tset = new TextSet((String)other); - return functions.contains_set_text(this._inner,tset._inner); + return GeneratedFunctions.contains_set_text(this._inner,tset._inner); } else { return super.contains((Base)other); @@ -160,7 +160,7 @@ public boolean contains(Object other) throws Exception { * @return A new {@link TextSet} instance */ public TextSet lowercase(){ - return new TextSet(functions.textset_lower(this._inner)); + return new TextSet(GeneratedFunctions.textset_lower(this._inner)); } /** @@ -174,7 +174,7 @@ public TextSet lowercase(){ * @return A new {@link TextSet} instance */ public TextSet uppercase(){ - return new TextSet(functions.textset_upper(this._inner)); + return new TextSet(GeneratedFunctions.textset_upper(this._inner)); } @@ -193,7 +193,7 @@ public TextSet uppercase(){ * @return An object of the same type as "other" or null if the intersection is empty. */ public TextSet intersection(TextSet ts){ - return new TextSet(functions.intersection_set_set(this._inner, ts._inner)); + return new TextSet(GeneratedFunctions.intersection_set_set(this._inner, ts._inner)); } @@ -213,10 +213,10 @@ public TextSet intersection(TextSet ts){ public TextSet minus(Object other){ if (other instanceof String){ TextSet tmptxt = new TextSet((String) other); - return new TextSet(functions.minus_set_text(this._inner, tmptxt._inner)); + return new TextSet(GeneratedFunctions.minus_set_text(this._inner, tmptxt._inner)); } else if (other instanceof TextSet){ - return new TextSet(functions.minus_set_set(this._inner,((TextSet) other)._inner)); + return new TextSet(GeneratedFunctions.minus_set_set(this._inner,((TextSet) other)._inner)); } else{ return null; @@ -224,7 +224,7 @@ else if (other instanceof TextSet){ } // public String subtract_from(Object other){ -// result= functions.minus_text_set(other, this._inner); +// result= GeneratedFunctions.minus_text_set(other, this._inner); // // } @@ -244,10 +244,10 @@ else if (other instanceof TextSet){ public TextSet union(Object other){ if (other instanceof String){ TextSet tmptxt = new TextSet((String) other); - return new TextSet(functions.union_set_text(this._inner, tmptxt._inner)); + return new TextSet(GeneratedFunctions.union_set_text(this._inner, tmptxt._inner)); } else if (other instanceof TextSet){ - return new TextSet(functions.union_set_set(this._inner,((TextSet) other)._inner)); + return new TextSet(GeneratedFunctions.union_set_set(this._inner,((TextSet) other)._inner)); } else{ return null; diff --git a/jmeos-core/src/main/java/types/collections/time/dateset.java b/jmeos-core/src/main/java/types/collections/time/dateset.java index 843e567ab..62016b103 100644 --- a/jmeos-core/src/main/java/types/collections/time/dateset.java +++ b/jmeos-core/src/main/java/types/collections/time/dateset.java @@ -1,6 +1,8 @@ package types.collections.time; +import jnr.ffi.Memory; import jnr.ffi.Pointer; +import jnr.ffi.Runtime; import jnr.ffi.annotations.In; import org.locationtech.jts.io.ParseException; import types.collections.base.*; @@ -15,7 +17,7 @@ import java.util.Date; import java.util.List; import java.util.Objects; -import functions.functions; +import functions.GeneratedFunctions; import utils.ConversionUtils; /** @@ -48,7 +50,7 @@ public dateset(Pointer inner){ public dateset(String value){ super(value); - _inner = functions.dateset_in(value); + _inner = GeneratedFunctions.dateset_in(value); } public dateset(List dates) { @@ -65,7 +67,7 @@ public dateset(List dates) { } sb.append("}"); // System.out.println(sb); - _inner = functions.dateset_in(sb.toString()); + _inner = GeneratedFunctions.dateset_in(sb.toString()); } /** @@ -89,7 +91,7 @@ public Pointer createInner(Pointer inner) { @Override public Pointer createStringInner(String str) { - return functions.dateset_in(str); + return GeneratedFunctions.dateset_in(str); } @Override @@ -99,7 +101,7 @@ public Pointer get_inner() { public String toString(){ - return functions.dateset_out(this.get_inner()); + return GeneratedFunctions.dateset_out(this.get_inner()); } /** @@ -108,7 +110,7 @@ public String toString(){ public LocalDate date_adt_to_date(int ts){ DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); - String dateStr= functions.pg_date_out(ts); + String dateStr= GeneratedFunctions.date_out(ts); return LocalDate.parse(dateStr, DateTimeFormatter.ISO_LOCAL_DATE); } @@ -123,7 +125,7 @@ public LocalDate date_adt_to_date(int ts){ @Override public LocalDate start_element() throws ParseException { - return date_adt_to_date(functions.dateset_start_value(this._inner)); + return date_adt_to_date(GeneratedFunctions.dateset_start_value(this._inner)); } /** @@ -137,7 +139,7 @@ public LocalDate start_element() throws ParseException { @Override public LocalDate end_element() throws ParseException { - return date_adt_to_date(functions.dateset_end_value(this._inner)); + return date_adt_to_date(GeneratedFunctions.dateset_end_value(this._inner)); } /** @@ -162,7 +164,7 @@ public LocalDate element_n(int n) throws Exception { */ public List elements() throws Exception { - Pointer dp= functions.dateset_values(this._inner); + Pointer dp= GeneratedFunctions.dateset_values(this._inner, Memory.allocate(Runtime.getSystemRuntime(), 4)); long size= this.num_elements(); List datelist= new ArrayList(); for(int i=0; i>> DateSet('{2000-01-01, 2000-01-10}').shift_scale(shift=timedelta(days=2), dur */ public dateset shift_scale(Integer shift, Integer duration){ - return new dateset(functions.dateset_shift_scale(this._inner, shift, duration, shift!=0, duration!=0)); + return new dateset(GeneratedFunctions.dateset_shift_scale(this._inner, shift, duration, shift!=0, duration!=0)); } /** @@ -262,15 +264,15 @@ >>> DateSet('{2012-01-01, 2012-01-02}').contains(DateSet('{2012-01-01, 2012-01-0 contains_set_date, contains_set_set, contains_spanset_spanset */ public int dateToTimestamp(LocalDate date){ - return functions.pg_date_in(date.toString()); + return GeneratedFunctions.date_in(date.toString()); } public boolean contains(Object other) throws Exception { if (other instanceof LocalDateTime){ - return functions.contains_set_date(this._inner, dateToTimestamp(((LocalDateTime) other).toLocalDate())); + return GeneratedFunctions.contains_set_date(this._inner, dateToTimestamp(((LocalDateTime) other).toLocalDate())); } else if (other instanceof LocalDate){ - return functions.contains_set_date(this._inner, dateToTimestamp((LocalDate) other)); + return GeneratedFunctions.contains_set_date(this._inner, dateToTimestamp((LocalDate) other)); } else { return super.contains((Base) other); @@ -301,7 +303,7 @@ >>> DateSet('{2012-01-01, 2012-01-02}').overlaps(DateSpan('(2012-01-02, 2012-01- public boolean overlaps(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.contains_set_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.contains_set_date(this._inner, dateToTimestamp(((LocalDate) other))); } if (other instanceof datespan){ return this.to_span(datespan.class).is_adjacent((Base) other); @@ -338,7 +340,7 @@ >>> DateSet('{2012-01-01, 2012-01-02}').is_left(DateSpan('[2012-01-02, 2012-01-0 public boolean is_left(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.before_set_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.before_set_date(this._inner, dateToTimestamp(((LocalDate) other))); } if (other instanceof datespan){ return this.to_span(datespan.class).is_left(other); @@ -375,7 +377,7 @@ >>> DateSet('{2012-01-03, 2012-01-05}').is_over_or_left(DateSpan('[2012-01-01, 2 public boolean is_over_or_left(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.overbefore_set_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.overbefore_set_date(this._inner, dateToTimestamp(((LocalDate) other))); } if (other instanceof datespan){ return this.to_span(datespan.class).is_over_or_left(other); @@ -412,7 +414,7 @@ >>> DateSet('{2012-01-02, 2012-01-03}').is_over_or_right(DateSpan('[2012-01-01, public boolean is_over_or_right(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.overafter_set_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.overafter_set_date(this._inner, dateToTimestamp(((LocalDate) other))); } if (other instanceof datespan){ return this.to_span(datespan.class).is_over_or_right(other); @@ -450,7 +452,7 @@ >>> DateSet('{2012-01-02, 2012-01-03}').is_right(DateSpan('[2012-01-01, 2012-01- public boolean is_right(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.after_set_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.after_set_date(this._inner, dateToTimestamp(((LocalDate) other))); } if (other instanceof datespan){ return this.to_span(datespan.class).is_over_or_left(other); @@ -504,9 +506,9 @@ public boolean is_after(Object other) throws Exception { public Duration distance(Object other) throws Exception { Duration answer = null; if (other instanceof LocalDate) { - answer= Duration.ofSeconds(functions.distance_set_date(this._inner, dateToTimestamp((LocalDate) other))); + answer= Duration.ofSeconds(GeneratedFunctions.distance_set_date(this._inner, dateToTimestamp((LocalDate) other))); } else if (other instanceof dateset) { - answer= Duration.ofSeconds(functions.distance_dateset_dateset(this._inner, ((dateset) other)._inner)); + answer= Duration.ofSeconds(GeneratedFunctions.distance_dateset_dateset(this._inner, ((dateset) other)._inner)); } else if (other instanceof datespan) { answer= this.to_spanset(datespan.class).distance(other); } else if (other instanceof datespanset) { @@ -543,24 +545,24 @@ public LocalDateTime intersection(Object other) throws Exception { LocalDateTime result = null; if (other instanceof LocalDate){ System.out.println(dateToTimestamp((LocalDate) other)); - Pointer resultPointer= functions.intersection_set_date(this._inner, dateToTimestamp((LocalDate) other)); + Pointer resultPointer= GeneratedFunctions.intersection_set_date(this._inner, dateToTimestamp((LocalDate) other)); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } else if (other instanceof dateset){ - Pointer resultPointer= functions.intersection_set_set(this._inner, ((dateset) other)._inner); + Pointer resultPointer= GeneratedFunctions.intersection_set_set(this._inner, ((dateset) other)._inner); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } else if (other instanceof datespan){ datespan ds = this.to_span(datespan.class); - Pointer resultPointer = functions.intersection_span_span(ds.get_inner(), ((datespan) other).get_inner()); + Pointer resultPointer = GeneratedFunctions.intersection_span_span(ds.get_inner(), ((datespan) other).get_inner()); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } else if (other instanceof datespanset){ datespanset dss = this.to_spanset(datespanset.class); - Pointer resultPointer = functions.intersection_spanset_spanset(dss.get_inner(), ((datespanset) other).get_inner()); + Pointer resultPointer = GeneratedFunctions.intersection_spanset_spanset(dss.get_inner(), ((datespanset) other).get_inner()); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } @@ -587,24 +589,24 @@ else if (other instanceof datespanset){ public LocalDateTime minus(Object other) throws Exception{ LocalDateTime result = null; if (other instanceof LocalDate){ - Pointer resultPointer= functions.minus_set_date(this._inner, dateToTimestamp((LocalDate) other)); + Pointer resultPointer= GeneratedFunctions.minus_set_date(this._inner, dateToTimestamp((LocalDate) other)); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } else if (other instanceof dateset){ - Pointer resultPointer= functions.minus_set_set(this._inner, ((dateset) other)._inner); + Pointer resultPointer= GeneratedFunctions.minus_set_set(this._inner, ((dateset) other)._inner); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } else if (other instanceof datespan){ datespan ds = this.to_span(datespan.class); - Pointer resultPointer= functions.minus_span_span(ds.get_inner(), ((datespan) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.minus_span_span(ds.get_inner(), ((datespan) other).get_inner()); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } else if (other instanceof datespanset){ datespanset dss = this.to_spanset(datespanset.class); - Pointer resultPointer= functions.minus_spanset_spanset(dss.get_inner(), ((datespanset) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.minus_spanset_spanset(dss.get_inner(), ((datespanset) other).get_inner()); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } @@ -624,7 +626,7 @@ public static LocalDate timestampToLocalDate(int timestamp) { public LocalDate subtract_from(Object other) throws Exception { int ts= dateToTimestamp((LocalDate) other); - Pointer resultPointer= functions.minus_date_set(ts, this._inner); + Pointer resultPointer= GeneratedFunctions.minus_date_set(ts, this._inner); int resultTimestamp= resultPointer.getInt(0); return timestampToLocalDate(resultTimestamp); } @@ -646,21 +648,21 @@ public LocalDate subtract_from(Object other) throws Exception { public dateset union(Object other) throws Exception{ dateset result = null; if (other instanceof LocalDate){ - Pointer resultPointer= functions.union_set_date(this._inner, dateToTimestamp((LocalDate) other)); + Pointer resultPointer= GeneratedFunctions.union_set_date(this._inner, dateToTimestamp((LocalDate) other)); result = new dateset(resultPointer); } else if (other instanceof dateset){ - Pointer resultPointer= functions.union_set_set(this._inner, ((dateset) other)._inner); + Pointer resultPointer= GeneratedFunctions.union_set_set(this._inner, ((dateset) other)._inner); result = new dateset(resultPointer); } else if (other instanceof datespan){ datespan ds = this.to_span(datespan.class); - Pointer resultPointer= functions.union_span_span(ds.get_inner(), ((datespan) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.union_span_span(ds.get_inner(), ((datespan) other).get_inner()); result = new dateset(resultPointer); } else if (other instanceof datespanset){ datespanset dss = this.to_spanset(datespanset.class); - Pointer resultPointer= functions.union_spanset_spanset(dss.get_inner(), ((datespanset) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.union_spanset_spanset(dss.get_inner(), ((datespanset) other).get_inner()); result = new dateset(resultPointer); } else{ diff --git a/jmeos-core/src/main/java/types/collections/time/datespan.java b/jmeos-core/src/main/java/types/collections/time/datespan.java index 8524f9184..aa33588e1 100644 --- a/jmeos-core/src/main/java/types/collections/time/datespan.java +++ b/jmeos-core/src/main/java/types/collections/time/datespan.java @@ -12,7 +12,7 @@ import java.time.format.DateTimeFormatter; import java.time.format.DateTimeParseException; -import functions.functions; +import functions.GeneratedFunctions; import utils.ConversionUtils; /** @@ -46,7 +46,7 @@ public datespan(Pointer inner){ public datespan(String str) { super(str); - _inner = functions.datespan_in(str); + _inner = GeneratedFunctions.datespan_in(str); } // // Formatter for parsing date strings @@ -67,7 +67,7 @@ public datespan(String str) { // } // this.lowerInc = lowerInc; // this.upperInc = upperInc; -// _inner= functions.datespan_make(time) +// _inner= GeneratedFunctions.datespan_make(time) // } // // // Constructor accepting LocalDate bounds with specified inclusivity @@ -104,7 +104,7 @@ public datespanset to_spanset() throws InvocationTargetException, NoSuchMethodEx */ public tstzspan to_tstzspan() throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { - return new tstzspan(functions.datespan_to_tstzspan(this._inner)); + return new tstzspan(GeneratedFunctions.datespan_to_tstzspan(this._inner)); } /** @@ -118,7 +118,7 @@ public tstzspan to_tstzspan() throws InvocationTargetException, NoSuchMethodExce datespan_duration */ public Duration duration() throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { - return ConversionUtils.interval_to_timedelta(functions.datespan_duration(this._inner)); + return ConversionUtils.interval_to_timedelta(GeneratedFunctions.datespan_duration(this._inner)); } /** @@ -142,7 +142,7 @@ public Pointer createInner(Pointer inner) { @Override public Pointer createStringInner(String str) { - return functions.datespan_in(str); + return GeneratedFunctions.datespan_in(str); } @Override @@ -172,12 +172,12 @@ public Pointer createIntIntNb(Number lower, Number upper) { @Override public LocalDate lower() { - return date_adt_to_date(functions.datespan_lower(this._inner)); + return date_adt_to_date(GeneratedFunctions.datespan_lower(this._inner)); } @Override public LocalDate upper() { - return date_adt_to_date(functions.datespan_lower(this._inner)); + return date_adt_to_date(GeneratedFunctions.datespan_lower(this._inner)); } @Override @@ -187,7 +187,7 @@ public Pointer get_inner() { public String toString(){ - return functions.datespan_out(this.get_inner()); + return GeneratedFunctions.datespan_out(this.get_inner()); } /** @@ -196,7 +196,7 @@ public String toString(){ public LocalDate date_adt_to_date(int ts){ DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); - String dateStr= functions.pg_date_out(ts); + String dateStr= GeneratedFunctions.date_out(ts); return LocalDate.parse(dateStr, DateTimeFormatter.ISO_LOCAL_DATE); } @@ -211,7 +211,7 @@ public LocalDate date_adt_to_date(int ts){ public LocalDate start_element() throws ParseException, InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { datespanset dss = this.to_spanset(datespanset.class); - return date_adt_to_date(functions.datespanset_start_date(dss.get_inner())); + return date_adt_to_date(GeneratedFunctions.datespanset_start_date(dss.get_inner())); } /** @@ -225,7 +225,7 @@ public LocalDate start_element() throws ParseException, InvocationTargetExceptio public LocalDate end_element() throws ParseException, InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { datespanset dss = this.to_spanset(datespanset.class); - return date_adt_to_date(functions.datespanset_end_date(dss.get_inner())); + return date_adt_to_date(GeneratedFunctions.datespanset_end_date(dss.get_inner())); } /** @@ -294,7 +294,7 @@ >>> DateSpan('[2000-01-01, 2000-01-10]').shift_scale(shift=timedelta(days=2), du */ public datespan shift_scale(Integer shift, Integer duration){ - return new datespan(functions.datespan_shift_scale(this._inner, shift, duration, shift!=0, duration!=0)); + return new datespan(GeneratedFunctions.datespan_shift_scale(this._inner, shift, duration, shift!=0, duration!=0)); } /** @@ -318,15 +318,15 @@ >>> DateSpan('(2012-01-01, 2012-01-02)').contains(DateSpan('[2012-01-01, 2012-01 contains_span_span, contains_span_spanset, contains_span_date */ public int dateToTimestamp(LocalDate date){ - return functions.pg_date_in(date.toString()); + return GeneratedFunctions.date_in(date.toString()); } public boolean contains(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.contains_span_date(this._inner, dateToTimestamp((LocalDate) other)); + return GeneratedFunctions.contains_span_date(this._inner, dateToTimestamp((LocalDate) other)); } else if (other instanceof LocalDateTime){ - return functions.contains_span_date(this._inner, dateToTimestamp(((LocalDateTime) other).toLocalDate())); + return GeneratedFunctions.contains_span_date(this._inner, dateToTimestamp(((LocalDateTime) other).toLocalDate())); } else { return super.contains((Base) other); @@ -349,7 +349,7 @@ else if (other instanceof LocalDateTime){ public boolean is_adjacent(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.adjacent_span_date(this._inner, dateToTimestamp((LocalDate) other)); + return GeneratedFunctions.adjacent_span_date(this._inner, dateToTimestamp((LocalDate) other)); } else{ return super.is_adjacent((Base) other); @@ -412,7 +412,7 @@ >>> DateSpan('[2012-01-01, 2012-01-02]').is_left(DateSpan('[2012-01-02, 2012-01- public boolean is_left(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.before_span_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.before_span_date(this._inner, dateToTimestamp(((LocalDate) other))); } else { return super.is_left((Base) other); @@ -443,7 +443,7 @@ >>> DateSpan('[2012-01-03, 2012-01-05]').is_over_or_left(DateSpan('[2012-01-01, public boolean is_over_or_left(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.overbefore_span_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.overbefore_span_date(this._inner, dateToTimestamp(((LocalDate) other))); } else { return super.is_over_or_left((Base) other); @@ -474,7 +474,7 @@ >>> DateSet('{2012-01-02, 2012-01-03}').is_over_or_right(DateSpan('[2012-01-01, public boolean is_over_or_right(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.overafter_span_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.overafter_span_date(this._inner, dateToTimestamp(((LocalDate) other))); } else { return super.is_over_or_right((Base) other); @@ -506,7 +506,7 @@ >>> DateSpan('[2012-01-02, 2012-01-03]').is_right(DateSpan('[2012-01-01, 2012-01 public boolean is_right(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.after_span_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.after_span_date(this._inner, dateToTimestamp(((LocalDate) other))); } else { return super.is_right((Base) other); @@ -553,14 +553,14 @@ public boolean is_after(Object other) throws Exception { public Duration distance(Object other) throws Exception { Duration answer = null; if (other instanceof LocalDate) { - answer= Duration.ofSeconds(functions.distance_span_date(this._inner, dateToTimestamp((LocalDate) other))); + answer= Duration.ofSeconds(GeneratedFunctions.distance_span_date(this._inner, dateToTimestamp((LocalDate) other))); } else if (other instanceof dateset) { datespanset ds = ((dateset) other).to_spanset(datespanset.class); - answer= Duration.ofSeconds(functions.distance_datespanset_datespan(ds.get_inner(), this.get_inner())); + answer= Duration.ofSeconds(GeneratedFunctions.distance_datespanset_datespan(ds.get_inner(), this.get_inner())); } else if (other instanceof datespan) { - answer= Duration.ofSeconds(functions.distance_datespan_datespan(this._inner, ((datespan)other)._inner)); + answer= Duration.ofSeconds(GeneratedFunctions.distance_datespan_datespan(this._inner, ((datespan)other)._inner)); } else if (other instanceof datespanset) { - answer= Duration.ofSeconds(functions.distance_datespanset_datespan(((datespanset) other).get_inner(), this._inner)); + answer= Duration.ofSeconds(GeneratedFunctions.distance_datespanset_datespan(((datespanset) other).get_inner(), this._inner)); } else { throw new Exception("Operation not supported with " + other + " type"); } @@ -596,23 +596,23 @@ public static LocalDateTime timestampToLocalDateTime(int timestamp) { public LocalDateTime intersection(Object other) throws Exception { LocalDateTime result = null; if (other instanceof LocalDate){ - Pointer resultPointer= functions.intersection_span_date(this._inner, dateToTimestamp((LocalDate) other)); + Pointer resultPointer= GeneratedFunctions.intersection_span_date(this._inner, dateToTimestamp((LocalDate) other)); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } else if (other instanceof dateset){ datespanset ds = ((dateset) other).to_spanset(datespanset.class); - Pointer resultPointer= functions.intersection_spanset_span(ds.get_inner(), this.get_inner()); + Pointer resultPointer= GeneratedFunctions.intersection_spanset_span(ds.get_inner(), this.get_inner()); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } else if (other instanceof datespan){ - Pointer resultPointer = functions.intersection_span_span(this._inner, ((datespan) other)._inner); + Pointer resultPointer = GeneratedFunctions.intersection_span_span(this._inner, ((datespan) other)._inner); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } else if (other instanceof datespanset){ - Pointer resultPointer = functions.intersection_spanset_span(((datespanset) other).get_inner(), this._inner); + Pointer resultPointer = GeneratedFunctions.intersection_spanset_span(((datespanset) other).get_inner(), this._inner); int resultTimestamp= resultPointer.getInt(Integer.BYTES); result = timestampToLocalDateTime(resultTimestamp); } @@ -638,20 +638,20 @@ else if (other instanceof datespanset){ public datespanset minus(Object other) throws Exception{ datespanset result = null; if (other instanceof LocalDate){ - Pointer resultPointer= functions.minus_span_date(this._inner, dateToTimestamp((LocalDate) other)); + Pointer resultPointer= GeneratedFunctions.minus_span_date(this._inner, dateToTimestamp((LocalDate) other)); result = new datespanset(resultPointer); } else if (other instanceof dateset){ datespanset ds = ((dateset) other).to_spanset(datespanset.class); - Pointer resultPointer= functions.minus_spanset_span((ds).get_inner(), this._inner); + Pointer resultPointer= GeneratedFunctions.minus_spanset_span((ds).get_inner(), this._inner); result = new datespanset(resultPointer); } else if (other instanceof datespan){ - Pointer resultPointer= functions.minus_span_span(this._inner, ((datespan) other)._inner); + Pointer resultPointer= GeneratedFunctions.minus_span_span(this._inner, ((datespan) other)._inner); result = new datespanset(resultPointer); } else if (other instanceof datespanset){ - Pointer resultPointer= functions.minus_span_spanset(this._inner, ((datespanset) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.minus_span_spanset(this._inner, ((datespanset) other).get_inner()); result = new datespanset(resultPointer); } else{ @@ -671,7 +671,7 @@ public static LocalDate timestampToLocalDate(int timestamp) { public LocalDate subtract_from(Object other) throws Exception { int ts= dateToTimestamp((LocalDate) other); - Pointer resultPointer= functions.minus_date_set(ts, this._inner); + Pointer resultPointer= GeneratedFunctions.minus_date_set(ts, this._inner); int resultTimestamp= resultPointer.getInt(0); return timestampToLocalDate(resultTimestamp); } @@ -692,20 +692,20 @@ public LocalDate subtract_from(Object other) throws Exception { public datespanset union(Object other) throws Exception{ datespanset result = null; if (other instanceof LocalDate){ - Pointer resultPointer= functions.union_span_date(this._inner, dateToTimestamp((LocalDate) other)); + Pointer resultPointer= GeneratedFunctions.union_span_date(this._inner, dateToTimestamp((LocalDate) other)); result = new datespanset(resultPointer); } else if (other instanceof dateset){ datespanset ds = ((dateset) other).to_spanset(datespanset.class); - Pointer resultPointer= functions.union_spanset_span((ds).get_inner(), this.get_inner()); + Pointer resultPointer= GeneratedFunctions.union_spanset_span((ds).get_inner(), this.get_inner()); result = new datespanset(resultPointer); } else if (other instanceof datespan){ - Pointer resultPointer= functions.union_span_span(this._inner, ((datespan) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.union_span_span(this._inner, ((datespan) other).get_inner()); result = new datespanset(resultPointer); } else if (other instanceof datespanset){ - Pointer resultPointer= functions.union_spanset_span(((datespanset) other).get_inner(), this._inner); + Pointer resultPointer= GeneratedFunctions.union_spanset_span(((datespanset) other).get_inner(), this._inner); result = new datespanset(resultPointer); } else{ diff --git a/jmeos-core/src/main/java/types/collections/time/datespanset.java b/jmeos-core/src/main/java/types/collections/time/datespanset.java index 927dc210a..bdeeef620 100644 --- a/jmeos-core/src/main/java/types/collections/time/datespanset.java +++ b/jmeos-core/src/main/java/types/collections/time/datespanset.java @@ -15,7 +15,7 @@ import java.util.Date; import java.util.List; import java.util.Objects; -import functions.functions; +import functions.GeneratedFunctions; import utils.ConversionUtils; /** @@ -46,7 +46,7 @@ public datespanset(Pointer inner){ public datespanset(String str) { super(str); - _inner = functions.datespanset_in(str); + _inner = GeneratedFunctions.datespanset_in(str); } public datespanset(List dspan) { @@ -85,7 +85,7 @@ public datespanset(List dspan) { sb.append("}"); // System.out.println(sb); - _inner = functions.datespanset_in(sb.toString()); + _inner = GeneratedFunctions.datespanset_in(sb.toString()); } /** @@ -113,7 +113,7 @@ public datespan to_span() throws InvocationTargetException, NoSuchMethodExceptio */ public tstzspanset to_tstzspanset() throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { - return new tstzspanset(functions.datespanset_to_tstzspanset(this._inner)); + return new tstzspanset(GeneratedFunctions.datespanset_to_tstzspanset(this._inner)); } /** @@ -127,11 +127,11 @@ public tstzspanset to_tstzspanset() throws InvocationTargetException, NoSuchMeth datespan_duration */ public Duration duration(boolean ignore_gaps) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { - return ConversionUtils.interval_to_timedelta(functions.datespanset_duration(this._inner, ignore_gaps)); + return ConversionUtils.interval_to_timedelta(GeneratedFunctions.datespanset_duration(this._inner, ignore_gaps)); } public int num_dates(){ - return functions.datespanset_num_dates(this._inner); + return GeneratedFunctions.datespanset_num_dates(this._inner); } @Override @@ -141,7 +141,7 @@ public Pointer createInner(Pointer inner) { @Override public Pointer createStringInner(String str) { - return functions.datespanset_in(str); + return GeneratedFunctions.datespanset_in(str); } @Override @@ -150,11 +150,11 @@ public Pointer get_inner() { } public LocalDate start_date(){ - return date_adt_to_date(functions.datespanset_start_date(this._inner)); + return date_adt_to_date(GeneratedFunctions.datespanset_start_date(this._inner)); } public LocalDate end_date(){ - return date_adt_to_date(functions.datespanset_end_date(this._inner)); + return date_adt_to_date(GeneratedFunctions.datespanset_end_date(this._inner)); } /** @@ -170,7 +170,7 @@ public LocalDate date_n(int n) throws Exception { throw new Exception("Index out of bounds"); } else{ - Pointer resultPointer= functions.datespanset_date_n(this._inner, n+1); + Pointer resultPointer= GeneratedFunctions.datespanset_date_n(this._inner, n+1); assert resultPointer != null; int ts = resultPointer.getInt(0); return date_adt_to_date(ts); @@ -178,7 +178,7 @@ public LocalDate date_n(int n) throws Exception { } public String toString(){ - return functions.datespanset_out(this.get_inner()); + return GeneratedFunctions.datespanset_out(this.get_inner()); } /** @@ -187,7 +187,7 @@ public String toString(){ public LocalDate date_adt_to_date(int ts){ DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd"); - String dateStr= functions.pg_date_out(ts); + String dateStr= GeneratedFunctions.date_out(ts); return LocalDate.parse(dateStr, DateTimeFormatter.ISO_LOCAL_DATE); } @@ -201,7 +201,7 @@ public LocalDate date_adt_to_date(int ts){ */ public datespan start_span() throws ParseException { - return new datespan(functions.spanset_start_span(this._inner)); + return new datespan(GeneratedFunctions.spanset_start_span(this._inner)); } /** @@ -214,16 +214,16 @@ public datespan start_span() throws ParseException { */ public datespan end_element() throws ParseException { - return new datespan(functions.spanset_end_span(this._inner)); + return new datespan(GeneratedFunctions.spanset_end_span(this._inner)); } public datespan span_n(int n) throws ParseException { - return new datespan(functions.spanset_span_n(this._inner, n)); + return new datespan(GeneratedFunctions.spanset_span_n(this._inner, n)); } public List elements() throws Exception { return super.spans(datespan.class); -// Pointer ps = functions.spanset_spans(this._inner); +// Pointer ps = GeneratedFunctions.spanset_spans(this._inner); // int numSpans = this.num_spans(); // System.out.println(numSpans); // List spanList = new ArrayList(); @@ -305,7 +305,7 @@ >>> DateSpan('[2000-01-01, 2000-01-10]').shift_scale(shift=timedelta(days=2), du */ public datespanset shift_scale(Integer shift, Integer duration){ - return new datespanset(functions.datespanset_shift_scale(this._inner, shift, duration, shift!=0, duration!=0)); + return new datespanset(GeneratedFunctions.datespanset_shift_scale(this._inner, shift, duration, shift!=0, duration!=0)); } /** @@ -329,12 +329,12 @@ >>> DateSpan('(2012-01-01, 2012-01-02)').contains(DateSpan('[2012-01-01, 2012-01 contains_span_span, contains_span_spanset, contains_span_date */ public int dateToTimestamp(LocalDate date){ - return functions.pg_date_in(date.toString()); + return GeneratedFunctions.date_in(date.toString()); } public boolean contains(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.contains_spanset_date(this._inner, dateToTimestamp((LocalDate) other)); + return GeneratedFunctions.contains_spanset_date(this._inner, dateToTimestamp((LocalDate) other)); } else { return super.contains((Base) other); @@ -357,7 +357,7 @@ public boolean contains(Object other) throws Exception { public boolean is_adjacent(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.adjacent_spanset_date(this._inner, dateToTimestamp((LocalDate) other)); + return GeneratedFunctions.adjacent_spanset_date(this._inner, dateToTimestamp((LocalDate) other)); } else{ return super.is_adjacent((Base) other); @@ -420,7 +420,7 @@ >>> DateSpan('[2012-01-01, 2012-01-02]').is_left(DateSpan('[2012-01-02, 2012-01- public boolean is_left(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.before_spanset_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.before_spanset_date(this._inner, dateToTimestamp(((LocalDate) other))); } else { return super.is_left((Base) other); @@ -451,7 +451,7 @@ >>> DateSpan('[2012-01-03, 2012-01-05]').is_over_or_left(DateSpan('[2012-01-01, public boolean is_over_or_left(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.overbefore_spanset_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.overbefore_spanset_date(this._inner, dateToTimestamp(((LocalDate) other))); } else { return super.is_over_or_left((Base) other); @@ -482,7 +482,7 @@ >>> DateSet('{2012-01-02, 2012-01-03}').is_over_or_right(DateSpan('[2012-01-01, public boolean is_over_or_right(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.overafter_spanset_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.overafter_spanset_date(this._inner, dateToTimestamp(((LocalDate) other))); } else { return super.is_over_or_right((Base) other); @@ -514,7 +514,7 @@ >>> DateSpan('[2012-01-02, 2012-01-03]').is_right(DateSpan('[2012-01-01, 2012-01 public boolean is_right(Object other) throws Exception { if (other instanceof LocalDate){ - return functions.after_spanset_date(this._inner, dateToTimestamp(((LocalDate) other))); + return GeneratedFunctions.after_spanset_date(this._inner, dateToTimestamp(((LocalDate) other))); } else { return super.is_right((Base) other); @@ -561,14 +561,14 @@ public boolean is_after(Object other) throws Exception { public Duration distance(Object other) throws Exception { Duration answer = null; if (other instanceof LocalDate) { - answer= Duration.ofSeconds(functions.distance_spanset_date(this._inner, dateToTimestamp((LocalDate) other))); + answer= Duration.ofSeconds(GeneratedFunctions.distance_spanset_date(this._inner, dateToTimestamp((LocalDate) other))); } else if (other instanceof dateset) { datespanset ds = ((dateset) other).to_spanset(datespanset.class); - answer= Duration.ofSeconds(functions.distance_datespanset_datespanset(this._inner, (ds).get_inner())); + answer= Duration.ofSeconds(GeneratedFunctions.distance_datespanset_datespanset(this._inner, (ds).get_inner())); } else if (other instanceof datespan) { - answer= Duration.ofSeconds(functions.distance_datespanset_datespan(this._inner, ((datespan) other).get_inner())); + answer= Duration.ofSeconds(GeneratedFunctions.distance_datespanset_datespan(this._inner, ((datespan) other).get_inner())); } else if (other instanceof datespanset) { - answer= Duration.ofSeconds(functions.distance_datespanset_datespanset(this._inner, ((datespanset) other).get_inner())); + answer= Duration.ofSeconds(GeneratedFunctions.distance_datespanset_datespanset(this._inner, ((datespanset) other).get_inner())); } else { throw new Exception("Operation not supported with"+other+"type"); } @@ -604,20 +604,20 @@ public static LocalDateTime timestampToLocalDateTime(int timestamp) { public datespanset intersection(Object other) throws Exception { datespanset result = null; if (other instanceof LocalDate){ - Pointer resultPointer= functions.intersection_spanset_date(this._inner, dateToTimestamp((LocalDate) other)); + Pointer resultPointer= GeneratedFunctions.intersection_spanset_date(this._inner, dateToTimestamp((LocalDate) other)); result = new datespanset(resultPointer); } else if (other instanceof datespan){ - Pointer resultPointer= functions.intersection_spanset_span(this._inner, ((datespan) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.intersection_spanset_span(this._inner, ((datespan) other).get_inner()); result = new datespanset(resultPointer); } else if (other instanceof dateset){ datespanset ds = ((dateset) other).to_spanset(datespanset.class); - Pointer resultPointer= functions.intersection_spanset_spanset(this._inner, (ds).get_inner()); + Pointer resultPointer= GeneratedFunctions.intersection_spanset_spanset(this._inner, (ds).get_inner()); result = new datespanset(resultPointer); } else if (other instanceof datespanset){ - Pointer resultPointer= functions.intersection_spanset_spanset(this._inner, ((datespanset) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.intersection_spanset_spanset(this._inner, ((datespanset) other).get_inner()); result = new datespanset(resultPointer); } else{ @@ -642,20 +642,20 @@ else if (other instanceof datespanset){ public datespanset minus(Object other) throws Exception{ datespanset result = null; if (other instanceof LocalDate){ - Pointer resultPointer= functions.minus_spanset_date(this._inner, dateToTimestamp((LocalDate) other)); + Pointer resultPointer= GeneratedFunctions.minus_spanset_date(this._inner, dateToTimestamp((LocalDate) other)); result= new datespanset(resultPointer); } else if (other instanceof datespan){ - Pointer resultPointer= functions.minus_spanset_span(this._inner, ((datespan) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.minus_spanset_span(this._inner, ((datespan) other).get_inner()); result = new datespanset(resultPointer); } else if (other instanceof dateset){ datespanset ds = ((dateset) other).to_spanset(datespanset.class); - Pointer resultPointer= functions.minus_spanset_spanset(this._inner, (ds).get_inner()); + Pointer resultPointer= GeneratedFunctions.minus_spanset_spanset(this._inner, (ds).get_inner()); result = new datespanset(resultPointer); } else if (other instanceof datespanset){ - Pointer resultPointer= functions.minus_spanset_spanset(this._inner, ((datespanset) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.minus_spanset_spanset(this._inner, ((datespanset) other).get_inner()); result = new datespanset(resultPointer); } else{ @@ -675,7 +675,7 @@ public static LocalDate timestampToLocalDate(int timestamp) { public LocalDate subtract_from(Object other) throws Exception { int ts= dateToTimestamp((LocalDate) other); - Pointer resultPointer= functions.minus_date_set(ts, this._inner); + Pointer resultPointer= GeneratedFunctions.minus_date_set(ts, this._inner); int resultTimestamp= resultPointer.getInt(Integer.BYTES); return timestampToLocalDate(resultTimestamp); } @@ -696,20 +696,20 @@ public LocalDate subtract_from(Object other) throws Exception { public datespanset union(Object other) throws Exception{ datespanset result = null; if (other instanceof LocalDate){ - Pointer resultPointer= functions.union_spanset_date(this._inner, dateToTimestamp((LocalDate) other)); + Pointer resultPointer= GeneratedFunctions.union_spanset_date(this._inner, dateToTimestamp((LocalDate) other)); result = new datespanset(resultPointer); } else if (other instanceof datespan){ - Pointer resultPointer= functions.union_spanset_span(this._inner, ((datespan) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.union_spanset_span(this._inner, ((datespan) other).get_inner()); result = new datespanset(resultPointer); } else if (other instanceof dateset){ datespanset ds = ((dateset) other).to_spanset(datespanset.class); - Pointer resultPointer= functions.union_spanset_spanset(this._inner, (ds).get_inner()); + Pointer resultPointer= GeneratedFunctions.union_spanset_spanset(this._inner, (ds).get_inner()); result = new datespanset(resultPointer); } else if (other instanceof datespanset){ - Pointer resultPointer= functions.union_spanset_spanset(this._inner, ((datespanset) other).get_inner()); + Pointer resultPointer= GeneratedFunctions.union_spanset_spanset(this._inner, ((datespanset) other).get_inner()); result = new datespanset(resultPointer); } else{ 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 4c0e40c7a..e535dbc3a 100644 --- a/jmeos-core/src/main/java/types/collections/time/tstzset.java +++ b/jmeos-core/src/main/java/types/collections/time/tstzset.java @@ -1,6 +1,8 @@ package types.collections.time; import jnr.ffi.Pointer; +import jnr.ffi.Runtime; +import jnr.ffi.Memory; import types.TemporalObject; import types.boxes.Box; import types.collections.base.Base; @@ -10,7 +12,7 @@ import java.time.LocalDateTime; import java.time.OffsetDateTime; import java.util.ArrayList; -import functions.functions; +import functions.GeneratedFunctions; import java.util.List; import java.util.Objects; @@ -61,7 +63,7 @@ public tstzset() { public tstzset(Pointer _inner) { super(_inner); this._inner = _inner; - //String str = functions.timestampset_out(this._inner); + //String str = GeneratedFunctions.tstzset_out(this._inner); } @@ -72,13 +74,13 @@ public tstzset(Pointer _inner) { */ public tstzset(String value) { super(value); - this._inner = functions.tstzset_in(value); + this._inner = GeneratedFunctions.tstzset_in(value); } @Override public Pointer createStringInner(String str){ - return functions.tstzset_in(str); + return GeneratedFunctions.tstzset_in(str); } @Override @@ -95,7 +97,7 @@ public Pointer createInner(Pointer inner){ * @return a new tstzset instance */ // public tstzset copy() { -// return new tstzset(functions.tstz(this._inner)); +// return new tstzset(GeneratedFunctions.tstz(this._inner)); // } @@ -108,12 +110,12 @@ public Pointer createInner(Pointer inner){ * @return a new tstzset instance */ // public static tstzset from_hexwkb(String hexwkb) { -// Pointer result = functions.tstzset_(hexwkb); +// Pointer result = GeneratedFunctions.tstzset_(hexwkb); // return new tstzset(result); // } public static tstzset from_hexwkb(String hexwkb) { - Pointer result = functions.set_from_hexwkb(hexwkb); + Pointer result = GeneratedFunctions.set_from_hexwkb(hexwkb); return new tstzset(result); } @@ -128,7 +130,7 @@ public static tstzset from_hexwkb(String hexwkb) { * @return a new String instance */ public String toString(){ - return functions.tstzset_out(this._inner); + return GeneratedFunctions.tstzset_out(this._inner); } @@ -143,7 +145,7 @@ public String toString(){ * @return a new tstzspanset instance */ public tstzspanset to_periodset() { - return new tstzspanset(functions.set_to_spanset(this.get_inner())); + return new tstzspanset(GeneratedFunctions.set_to_spanset(this.get_inner())); } /** @@ -154,11 +156,11 @@ public tstzspanset to_periodset() { * @return a new tstzspan instance */ public tstzspan to_span() { - return new tstzspan(functions.set_to_span(this._inner)); + return new tstzspan(GeneratedFunctions.set_to_span(this._inner)); } public tstzspanset to_spanset() { - return new tstzspanset(functions.set_to_spanset(this._inner)); + return new tstzspanset(GeneratedFunctions.set_to_spanset(this._inner)); } /** @@ -173,7 +175,7 @@ public tstzspan to_period() { } public Duration duration(){ - return ConversionUtils.interval_to_timedelta(functions.tstzspan_duration(functions.set_to_span(this._inner))); + return ConversionUtils.interval_to_timedelta(GeneratedFunctions.tstzspan_duration(GeneratedFunctions.set_to_span(this._inner))); } @@ -196,7 +198,7 @@ public Pointer get_inner(){ * @return a new Integer instance */ public int num_timestamps(){ - return functions.set_num_values(this._inner); + return GeneratedFunctions.set_num_values(this._inner); } /** @@ -209,7 +211,7 @@ public int num_timestamps(){ * @return a {@link LocalDateTime instance} */ public LocalDateTime start_element(){ - return ConversionUtils.timestamptz_to_datetime(functions.tstzset_start_value(this._inner)); + return ConversionUtils.timestamptz_to_datetime(GeneratedFunctions.tstzset_start_value(this._inner)); } /** @@ -222,16 +224,16 @@ public LocalDateTime start_element(){ * @return a {@link LocalDateTime instance} */ public LocalDateTime end_element(){ - return ConversionUtils.timestamptz_to_datetime(functions.tstzset_end_value(this._inner)); + return ConversionUtils.timestamptz_to_datetime(GeneratedFunctions.tstzset_end_value(this._inner)); } public LocalDateTime element_n(int n) throws Exception { super.element_n(n); - return ConversionUtils.timestamptz_to_datetime(OffsetDateTime.parse(Objects.requireNonNull(functions.tstzset_value_n(this._inner, n + 1)).toString())); + return ConversionUtils.timestamptz_to_datetime(OffsetDateTime.parse(Objects.requireNonNull(GeneratedFunctions.tstzset_value_n(this._inner, n + 1)).toString())); } public List elements() throws Exception { - Pointer dp= functions.tstzset_values(this._inner); + Pointer dp= GeneratedFunctions.tstzset_values(this._inner, Memory.allocate(Runtime.getSystemRuntime(), 4)); long size= this.num_elements(); List dateTimeList= new ArrayList(); for(int i=0; i) other).time()); } else if (other instanceof Box){ - return functions.adjacent_span_span(functions.set_to_span(this._inner), ((Box) other).to_period().get_inner()); + return GeneratedFunctions.adjacent_span_span(GeneratedFunctions.set_to_span(this._inner), ((Box) other).to_period().get_inner()); } else{ return super.is_adjacent((Base) other); @@ -334,10 +336,10 @@ >>> 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 tstzspan p -> returnValue = GeneratedFunctions.contained_span_span(GeneratedFunctions.set_to_span(this._inner), p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.contained_spanset_spanset(GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.contained_span_span(GeneratedFunctions.set_to_span(this._inner), b.to_period().get_inner()); default -> returnValue = super.is_contained_in((Base) other); } return returnValue; @@ -370,7 +372,7 @@ 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 tstzset ts -> returnValue = GeneratedFunctions.contains_set_set(this._inner, ts.get_inner()); case Temporal t -> returnValue = this.contains(t.time()); default -> returnValue = super.contains((Base) other); } @@ -404,10 +406,10 @@ >>> 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()); + case tstzspan p -> returnValue = GeneratedFunctions.overlaps_span_span(GeneratedFunctions.set_to_span(this._inner), p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.overlaps_spanset_spanset(GeneratedFunctions.set_to_spanset(this._inner), ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.overlaps_set_set(this._inner, ts.get_inner()); + case Box b -> returnValue = GeneratedFunctions.overlaps_span_span(GeneratedFunctions.set_to_span(this._inner), b.to_period().get_inner()); default -> returnValue = super.overlaps((Base) other); } return returnValue; @@ -462,11 +464,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.right_span_span(GeneratedFunctions.set_to_span(this._inner), p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.right_span_spanset(GeneratedFunctions.set_to_span(this._inner), ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.right_span_span(GeneratedFunctions.set_to_span(this._inner), b.to_period().get_inner()); default -> returnValue = super.is_left((Base) other); } return returnValue; @@ -499,11 +501,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.left_span_span(GeneratedFunctions.set_to_span(this._inner), p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.left_span_spanset(GeneratedFunctions.set_to_span(this._inner), ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.left_span_span(GeneratedFunctions.set_to_span(this._inner), b.to_period().get_inner()); default -> returnValue = super.is_left((Base) other); } return returnValue; @@ -535,11 +537,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.overright_span_span(GeneratedFunctions.set_to_span(this._inner), p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.overright_span_spanset(GeneratedFunctions.set_to_span(this._inner), ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.overright_span_span(GeneratedFunctions.set_to_span(this._inner), b.to_period().get_inner()); default -> returnValue = super.is_over_or_right((Base) other); } return returnValue; @@ -572,11 +574,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.overleft_span_span(GeneratedFunctions.set_to_span(this._inner), p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.overleft_span_spanset(GeneratedFunctions.set_to_span(this._inner), ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.overleft_span_span(GeneratedFunctions.set_to_span(this._inner), b.to_period().get_inner()); default -> returnValue = super.is_over_or_left((Base) other); } return returnValue; @@ -586,15 +588,15 @@ public boolean is_over_or_before(TemporalObject other) throws Exception { public Duration distance(Object other) throws Exception { Duration answer = null; if (other instanceof LocalDateTime) { - answer= Duration.ofSeconds((long)functions.distance_set_timestamptz(this._inner, ConversionUtils.datetimeToTimestampTz((LocalDateTime) other))); + answer= Duration.ofSeconds((long)GeneratedFunctions.distance_set_timestamptz(this._inner, ConversionUtils.datetimeToTimestampTz((LocalDateTime) other))); } else if (other instanceof tstzset) { - answer= Duration.ofSeconds((long)functions.distance_tstzset_tstzset(this._inner, ((tstzset) other)._inner)); + answer= Duration.ofSeconds((long)GeneratedFunctions.distance_tstzset_tstzset(this._inner, ((tstzset) other)._inner)); } else if (other instanceof tstzspan) { answer= Duration.ofSeconds((long)this.to_span().distance((TemporalObject) other)); -// Duration.ofSeconds((long)functions.distance_tstzspanset_tstzspan(this.to_spanset(tstzspan.class).get_inner(), ((tstzspan) other).get_inner())); +// Duration.ofSeconds((long)GeneratedFunctions.distance_tstzspanset_tstzspan(this.to_spanset(tstzspan.class).get_inner(), ((tstzspan) other).get_inner())); } else if (other instanceof tstzspanset) { answer= Duration.ofSeconds((long)this.to_span().distance((TemporalObject) other)); -// Duration.ofSeconds((long)functions.distance_tstzspanset_tstzspanset(this.to_spanset(tstzspan.class).get_inner(), ((tstzspanset) other).get_inner())); +// Duration.ofSeconds((long)GeneratedFunctions.distance_tstzspanset_tstzspanset(this.to_spanset(tstzspan.class).get_inner(), ((tstzspanset) other).get_inner())); } else if (other instanceof Temporal) { answer= Duration.ofSeconds((long)this.to_span().distance((TemporalObject) other)); } else if (other instanceof Box) { @@ -607,8 +609,8 @@ public Duration distance(Object other) throws Exception { // public Duration distance(Object other) throws Exception { // Duration answer = switch (other) { -// case LocalDateTime localDateTime -> Duration.ofSeconds((long) functions.distance_set_timestamptz(this._inner, ConversionUtils.datetimeToTimestampTz(localDateTime))); -// case tstzset tstzset -> Duration.ofSeconds((long) functions.distance_tstzset_tstzset(this._inner, tstzset._inner)); +// case LocalDateTime localDateTime -> Duration.ofSeconds((long) GeneratedFunctions.distance_set_timestamptz(this._inner, ConversionUtils.datetimeToTimestampTz(localDateTime))); +// case tstzset tstzset -> Duration.ofSeconds((long) GeneratedFunctions.distance_tstzset_tstzset(this._inner, tstzset._inner)); // case tstzspan tstzspan -> Duration.ofSeconds((long) tstzspan.distance((TemporalObject) other)); // case tstzspanset tstzspanset -> Duration.ofSeconds((long) tstzspanset.to_span().distance((TemporalObject) other)); // case Temporal ts -> Duration.ofSeconds((long) this.to_span().distance((TemporalObject) other)); @@ -623,8 +625,8 @@ public Duration distance(Object other) throws Exception { // double returnValue; // switch (other){ // case tstzspan p -> returnValue = this.to_span().distance(other); -// case tstzset ts -> returnValue = functions.distance_tstzspanset_tstzspan(ts.get_inner(),this._inner); -// case Box b -> returnValue = functions.distance_tstzspan_tstzspan(this._inner, b.to_period().get_inner()); +// case tstzset ts -> returnValue = GeneratedFunctions.distance_tstzspanset_tstzspan(ts.get_inner(),this._inner); +// case Box b -> returnValue = GeneratedFunctions.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")); // } // return returnValue; @@ -651,9 +653,9 @@ 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 tstzspan p -> returnValue = new tstzspanset(GeneratedFunctions.intersection_spanset_span(GeneratedFunctions.set_to_spanset(this._inner), p.get_inner())); + case tstzspanset ps -> returnValue = new tstzspanset(GeneratedFunctions.intersection_spanset_spanset(GeneratedFunctions.set_to_spanset(this._inner),ps.get_inner())); + case tstzset ts -> returnValue = new tstzset(GeneratedFunctions.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")); @@ -697,9 +699,9 @@ 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 tstzspan p -> returnValue = new tstzspanset(GeneratedFunctions.minus_spanset_span(GeneratedFunctions.set_to_spanset(this._inner), p.get_inner())); + case tstzspanset ps -> returnValue = new tstzspanset(GeneratedFunctions.minus_spanset_spanset(GeneratedFunctions.set_to_spanset(this._inner),ps.get_inner())); + case tstzset ts -> returnValue = new tstzset(GeneratedFunctions.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")); @@ -744,9 +746,9 @@ 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 tstzspan p -> returnValue = new tstzspan(GeneratedFunctions.union_spanset_span(GeneratedFunctions.set_to_spanset(this._inner),p.get_inner())); + case tstzspanset ps -> returnValue = new tstzspanset(GeneratedFunctions.union_spanset_spanset(GeneratedFunctions.set_to_spanset(this._inner),ps.get_inner())); + case tstzset ts -> returnValue = new tstzset(GeneratedFunctions.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")); @@ -790,7 +792,7 @@ public Time add(Time other) throws Exception { /* public boolean eq(Time other) throws SQLException{ boolean result; - result = other instanceof tstzset ? functions.set_eq(this._inner,((tstzset) other).get_inner()) : false; + result = other instanceof tstzset ? GeneratedFunctions.set_eq(this._inner,((tstzset) other).get_inner()) : false; return result; } @@ -813,7 +815,7 @@ public boolean eq(Time other) throws SQLException{ /* public boolean notEquals(Time other) throws SQLException{ boolean result; - result = other instanceof tstzset ? functions.set_ne(this._inner,((tstzset) other).get_inner()) : true; + result = other instanceof tstzset ? GeneratedFunctions.set_ne(this._inner,((tstzset) other).get_inner()) : true; return result; } @@ -837,7 +839,7 @@ public boolean notEquals(Time other) throws SQLException{ /* public boolean lessThan(Time other) throws SQLException{ if (other instanceof tstzset){ - return functions.set_lt(this._inner,((tstzset) other).get_inner()); + return GeneratedFunctions.set_lt(this._inner,((tstzset) other).get_inner()); } else{ throw new SQLException("Operation not supported with this type."); @@ -865,7 +867,7 @@ public boolean lessThan(Time other) throws SQLException{ /* public boolean lessThanOrEqual(Time other) throws SQLException{ if (other instanceof tstzset){ - return functions.set_le(this._inner,((tstzset) other).get_inner()); + return GeneratedFunctions.set_le(this._inner,((tstzset) other).get_inner()); } else{ throw new SQLException("Operation not supported with this type."); @@ -892,7 +894,7 @@ public boolean lessThanOrEqual(Time other) throws SQLException{ /* public boolean greaterThan(Time other) throws SQLException{ if (other instanceof tstzset){ - return functions.set_gt(this._inner,((tstzset) other).get_inner()); + return GeneratedFunctions.set_gt(this._inner,((tstzset) other).get_inner()); } else{ throw new SQLException("Operation not supported with this type."); @@ -917,7 +919,7 @@ public boolean greaterThan(Time other) throws SQLException{ /* public boolean greaterThanOrEqual(Time other) throws SQLException{ if (other instanceof tstzset){ - return functions.set_ge(this._inner,((tstzset) other).get_inner()); + return GeneratedFunctions.set_ge(this._inner,((tstzset) other).get_inner()); } else{ throw new SQLException("Operation not supported with this type."); 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 1cd72b46a..779f06a9d 100644 --- a/jmeos-core/src/main/java/types/collections/time/tstzspan.java +++ b/jmeos-core/src/main/java/types/collections/time/tstzspan.java @@ -12,7 +12,7 @@ import types.collections.base.Span; import types.temporal.Temporal; import utils.ConversionUtils; -import functions.functions; +import functions.GeneratedFunctions; import javax.naming.OperationNotSupportedException; @@ -83,7 +83,7 @@ public tstzspan(Pointer _inner) { */ public tstzspan(final String value){ super(value); - this._inner = functions.tstzspan_in(value); + this._inner = GeneratedFunctions.tstzspan_in(value); } @@ -98,9 +98,9 @@ public tstzspan(String lower, String upper) { super(lower,upper,true,false); this.lowerInclusive = true; this.upperInclusive = false; - OffsetDateTime lower_ts = functions.pg_timestamptz_in(lower, -1); - OffsetDateTime upper_ts = functions.pg_timestamptz_in(upper, -1); - this._inner = functions.tstzspan_make(lower_ts, upper_ts, this.lowerInclusive, this.upperInclusive); + OffsetDateTime lower_ts = GeneratedFunctions.timestamptz_in(lower, -1); + OffsetDateTime upper_ts = GeneratedFunctions.timestamptz_in(upper, -1); + this._inner = GeneratedFunctions.tstzspan_make(lower_ts, upper_ts, this.lowerInclusive, this.upperInclusive); } /** @@ -113,9 +113,9 @@ public tstzspan(String lower, String upper) { */ public tstzspan(String lower, String upper, boolean lowerInclusive, boolean upperInclusive) { super(lower,upper,lowerInclusive,upperInclusive); - OffsetDateTime lower_ts = functions.pg_timestamptz_in(lower, -1); - OffsetDateTime upper_ts = functions.pg_timestamptz_in(upper, -1); - this._inner = functions.tstzspan_make(lower_ts, upper_ts, lowerInclusive, upperInclusive); + OffsetDateTime lower_ts = GeneratedFunctions.timestamptz_in(lower, -1); + OffsetDateTime upper_ts = GeneratedFunctions.timestamptz_in(upper, -1); + this._inner = GeneratedFunctions.tstzspan_make(lower_ts, upper_ts, lowerInclusive, upperInclusive); } @@ -131,7 +131,7 @@ public tstzspan(LocalDateTime lower, LocalDateTime upper) { this.upperInclusive = false; OffsetDateTime lower_ts = ConversionUtils.datetimeToTimestampTz(lower); OffsetDateTime upper_ts = ConversionUtils.datetimeToTimestampTz(upper); - this._inner = functions.tstzspan_make(lower_ts, upper_ts, this.lowerInclusive, this.upperInclusive); + this._inner = GeneratedFunctions.tstzspan_make(lower_ts, upper_ts, this.lowerInclusive, this.upperInclusive); } @@ -147,7 +147,7 @@ public tstzspan(LocalDateTime lower, LocalDateTime upper, boolean lowerInclusive super(lower.toString(),upper.toString(),lowerInclusive,upperInclusive); OffsetDateTime lower_ts = ConversionUtils.datetimeToTimestampTz(lower); OffsetDateTime upper_ts = ConversionUtils.datetimeToTimestampTz(upper); - this._inner = functions.tstzspan_make(lower_ts, upper_ts, this.lowerInclusive, this.upperInclusive); + this._inner = GeneratedFunctions.tstzspan_make(lower_ts, upper_ts, this.lowerInclusive, this.upperInclusive); } @@ -161,9 +161,9 @@ public tstzspan(String lower, LocalDateTime upper) { super(lower,upper.toString(),true,false); this.lowerInclusive = true; this.upperInclusive = false; - OffsetDateTime lower_ts = functions.pg_timestamptz_in(lower,-1); + OffsetDateTime lower_ts = GeneratedFunctions.timestamptz_in(lower,-1); OffsetDateTime upper_ts = ConversionUtils.datetimeToTimestampTz(upper); - this._inner = functions.tstzspan_make(lower_ts, upper_ts, this.lowerInclusive, this.upperInclusive); + this._inner = GeneratedFunctions.tstzspan_make(lower_ts, upper_ts, this.lowerInclusive, this.upperInclusive); } /** @@ -177,14 +177,14 @@ public tstzspan(LocalDateTime lower, String upper){ this.lowerInclusive = true; this.upperInclusive = false; OffsetDateTime lower_ts = ConversionUtils.datetimeToTimestampTz(lower); - OffsetDateTime upper_ts = functions.pg_timestamptz_in(upper,-1); - this._inner = functions.tstzspan_make(lower_ts, upper_ts, this.lowerInclusive, this.upperInclusive); + OffsetDateTime upper_ts = GeneratedFunctions.timestamptz_in(upper,-1); + this._inner = GeneratedFunctions.tstzspan_make(lower_ts, upper_ts, this.lowerInclusive, this.upperInclusive); } @Override public Pointer createStringInner(String str){ - return functions.tstzspan_in(str); + return GeneratedFunctions.tstzspan_in(str); } @Override @@ -194,25 +194,25 @@ public Pointer createInner(Pointer inner){ @Override public Pointer createIntInt(java.lang.Number lower, java.lang.Number upper, boolean lower_inc, boolean upper_inc){ - return functions.intspan_make(lower.intValue(),upper.intValue(),lower_inc,upper_inc); + return GeneratedFunctions.intspan_make(lower.intValue(),upper.intValue(),lower_inc,upper_inc); } @Override public Pointer createIntStr(java.lang.Number lower, String upper, boolean lower_inc, boolean upper_inc){ int new_upper = Integer.parseInt(upper); - return functions.intspan_make(lower.intValue(),new_upper,lower_inc,upper_inc); + return GeneratedFunctions.intspan_make(lower.intValue(),new_upper,lower_inc,upper_inc); } @Override public Pointer createStrStr(String lower, String upper, boolean lower_inc, boolean upper_inc){ - return functions.tstzspan_make(functions.pg_timestamptz_in(lower,-1),functions.pg_timestamptz_in(upper,-1),lower_inc,upper_inc); + return GeneratedFunctions.tstzspan_make(GeneratedFunctions.timestamptz_in(lower,-1),GeneratedFunctions.timestamptz_in(upper,-1),lower_inc,upper_inc); } @Override public Pointer createStrInt(String lower, java.lang.Number upper, boolean lower_inc, boolean upper_inc){ int new_lower = Integer.parseInt(lower); - return functions.intspan_make(new_lower,upper.intValue(),lower_inc,upper_inc); + return GeneratedFunctions.intspan_make(new_lower,upper.intValue(),lower_inc,upper_inc); } @Override public Pointer createIntIntNb(java.lang.Number lower, java.lang.Number upper){ - return functions.intspan_make(lower.intValue(),upper.intValue(),true,false); + return GeneratedFunctions.intspan_make(lower.intValue(),upper.intValue(),true,false); } @@ -227,7 +227,7 @@ public Pointer createIntIntNb(java.lang.Number lower, java.lang.Number upper){ * @return Instance of tstzspan class */ public tstzspan copy(){ - return new tstzspan(functions.span_copy(this._inner)); + return new tstzspan(GeneratedFunctions.span_copy(this._inner)); } @@ -244,7 +244,7 @@ public tstzspan copy(){ * @return Instance of tstzspan class */ public static tstzspan from_hexwkb(String hexwkb) { - return new tstzspan(functions.span_from_hexwkb(hexwkb)); + return new tstzspan(GeneratedFunctions.span_from_hexwkb(hexwkb)); } @@ -263,7 +263,7 @@ public static tstzspan from_hexwkb(String hexwkb) { * @return string instance */ public String toString(){ - return functions.tstzspan_out(this._inner); + return GeneratedFunctions.tstzspan_out(this._inner); } @@ -281,7 +281,7 @@ public String toString(){ * @return tstzspanset instance */ public tstzspanset to_spanset(){ - return new tstzspanset(functions.span_to_spanset(this._inner)); + return new tstzspanset(GeneratedFunctions.span_to_spanset(this._inner)); } @@ -296,7 +296,7 @@ public tstzspanset to_spanset(){ * @return tstzspanset instance */ public tstzspanset to_periodset() { - return new tstzspanset(functions.span_to_spanset(this._inner)); + return new tstzspanset(GeneratedFunctions.span_to_spanset(this._inner)); } @@ -321,7 +321,7 @@ public Pointer get_inner(){ * @return true if the lower bound of the period is inclusive and false otherwise */ public boolean lower_inc(){ - return functions.span_lower_inc(this._inner); + return GeneratedFunctions.span_lower_inc(this._inner); } /** @@ -333,7 +333,7 @@ public boolean lower_inc(){ * @return True if the upper bound of the period is inclusive and False otherwise */ public boolean upper_inc(){ - return functions.span_upper_inc(this._inner); + return GeneratedFunctions.span_upper_inc(this._inner); } @@ -346,7 +346,7 @@ public boolean upper_inc(){ * @return The lower bound of the period as a {@link LocalDateTime} */ public LocalDateTime lower() { - return ConversionUtils.timestamptz_to_datetime(functions.tstzspan_lower(this._inner)); + return ConversionUtils.timestamptz_to_datetime(GeneratedFunctions.tstzspan_lower(this._inner)); } @@ -359,7 +359,7 @@ public LocalDateTime lower() { * @return The upper bound of the period as a {@link LocalDateTime} */ public LocalDateTime upper() { - return ConversionUtils.timestamptz_to_datetime(functions.tstzspan_upper(this._inner)); + return ConversionUtils.timestamptz_to_datetime(GeneratedFunctions.tstzspan_upper(this._inner)); } @@ -372,7 +372,7 @@ public LocalDateTime upper() { * @return timedelta instance representing the duration of the period */ public Duration duration(){ - return ConversionUtils.interval_to_timedelta(functions.tstzspan_duration(this._inner)); + return ConversionUtils.interval_to_timedelta(GeneratedFunctions.tstzspan_duration(this._inner)); } @@ -398,7 +398,7 @@ public long duration_in_second(){ * @return integer instance */ public long hash(){ - return functions.span_hash(this._inner); + return GeneratedFunctions.span_hash(this._inner); } @@ -422,8 +422,8 @@ public long hash(){ * @return tstzspan instance */ // public tstzspan expand(tstzspan other) { -// Pointer copy = functions.span_copy(this._inner); -// functions.span_expand(other._inner, copy); +// Pointer copy = GeneratedFunctions.span_copy(this._inner); +// GeneratedFunctions.span_expand(other._inner, copy); // return new tstzspan(copy); // } @@ -459,12 +459,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()); + case tstzspan p -> returnValue = GeneratedFunctions.adjacent_span_span(this._inner, p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.adjacent_spanset_span(ps.get_inner(), this._inner); + //case Time dt -> returnValue = GeneratedFunctions.adjacent_span_timestamptz(this._inner, ConversionUtils.datetimeToTimestampTz(dt)); + case tstzset ts -> returnValue = GeneratedFunctions.adjacent_spanset_spanset(this._inner, GeneratedFunctions.set_to_span(ts.get_inner())); + case Temporal t -> returnValue = GeneratedFunctions.adjacent_span_span(this._inner,GeneratedFunctions.temporal_to_tstzspan(t.getInner())); + case Box b -> returnValue = GeneratedFunctions.adjacent_span_span(this._inner, b.to_period().get_inner()); default -> returnValue = super.is_adjacent((Base) other); } return returnValue; @@ -496,10 +496,10 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.contained_span_span(this._inner,p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.contained_span_span(this._inner,b.to_period().get_inner()); default -> returnValue = super.is_contained_in((Base) other); } return returnValue; @@ -533,11 +533,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.contains_span_span(this._inner,p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.contains_span_spanset(this._inner,ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.contains_span_span(this._inner,GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.contains_span_span(this._inner,b.to_period().get_inner()); default -> returnValue = super.contains((Base) other); } return returnValue; @@ -569,11 +569,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.overlaps_span_span(this._inner,p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.overlaps_spanset_span(ps.get_inner(),this._inner); + case tstzset ts -> returnValue = GeneratedFunctions.overlaps_span_span(this._inner,GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.overlaps_span_span(this._inner,b.to_period().get_inner()); default -> returnValue = super.overlaps((Base) other); } @@ -598,11 +598,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.span_eq(this._inner,p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.span_eq(this._inner,GeneratedFunctions.spanset_span(ps.get_inner())); + case tstzset ts -> returnValue = GeneratedFunctions.span_eq(this._inner,GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.span_eq(this._inner,b.to_period().get_inner()); default -> returnValue = super.is_same((Base) other); } return returnValue; @@ -639,11 +639,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.left_span_span(this._inner,p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.left_span_spanset(this._inner,ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.left_span_span(this._inner,GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.left_span_span(this._inner,b.to_period().get_inner()); default -> returnValue = super.is_left((Base) other); } return returnValue; @@ -677,11 +677,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.overleft_span_span(this._inner,p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.overleft_span_spanset(this._inner,ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.overleft_span_span(this._inner,GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.overleft_span_span(this._inner,b.to_period().get_inner()); default -> returnValue = super.is_over_or_left((Base) other); } return returnValue; @@ -714,11 +714,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.right_span_span(this._inner,p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.right_span_spanset(this._inner,ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.right_span_span(this._inner,GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.right_span_span(this._inner,b.to_period().get_inner()); default -> returnValue = super.is_right((Base) other); } return returnValue; @@ -754,11 +754,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.overright_span_span(this._inner,p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.overright_span_spanset(this._inner,ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.overright_span_span(this._inner,GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.overright_span_span(this._inner,b.to_period().get_inner()); default -> returnValue = super.is_over_or_right((Base) other); } return returnValue; @@ -787,10 +787,10 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.distance_tstzspan_tstzspan(this._inner,p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.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")); } return returnValue; @@ -817,9 +817,9 @@ 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)); + case tstzspan p -> returnValue = new tstzspan(GeneratedFunctions.intersection_span_span(this._inner,p.get_inner())); + case tstzspanset ps -> returnValue = new tstzspanset(GeneratedFunctions.intersection_spanset_span(ps.get_inner(), this._inner)); + case tstzset ts -> returnValue = new tstzset(GeneratedFunctions.intersection_spanset_span(GeneratedFunctions.set_to_spanset(ts.get_inner()),this._inner)); default -> returnValue = (Time) new Exception("Operation not supported with this type"); } return returnValue; @@ -863,9 +863,9 @@ 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()))); + case tstzspan p -> returnValue = new tstzspanset(GeneratedFunctions.minus_span_span(this._inner,p.get_inner())); + case tstzspanset ps -> returnValue = new tstzspanset(GeneratedFunctions.minus_span_spanset(this._inner,ps.get_inner())); + case tstzset ts -> returnValue = new tstzspanset(GeneratedFunctions.minus_span_spanset(this._inner,GeneratedFunctions.set_to_spanset(ts.get_inner()))); default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); } return returnValue; @@ -909,9 +909,9 @@ 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)); + case tstzspan p -> returnValue = new tstzspanset(GeneratedFunctions.union_span_span(this._inner,p.get_inner())); + case tstzspanset ps -> returnValue = new tstzspanset(GeneratedFunctions.union_spanset_span(ps.get_inner(),this._inner)); + case tstzset ts -> returnValue = new tstzspanset(GeneratedFunctions.union_spanset_span(GeneratedFunctions.set_to_spanset(ts.get_inner()),this._inner)); default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); } return returnValue; @@ -953,7 +953,7 @@ public tstzspanset add(Time other) { */ public boolean eq(Time other) { boolean result; - result = other instanceof tstzspan && functions.span_eq(this._inner, ((tstzspan) other).get_inner()); + result = other instanceof tstzspan && GeneratedFunctions.span_eq(this._inner, ((tstzspan) other).get_inner()); return result; } @@ -969,7 +969,7 @@ public boolean eq(Time other) { */ public boolean notEquals(Time other) { boolean result; - result = !(other instanceof tstzspan) || functions.span_ne(this._inner, ((tstzspan) other).get_inner()); + result = !(other instanceof tstzspan) || GeneratedFunctions.span_ne(this._inner, ((tstzspan) other).get_inner()); return result; } @@ -989,7 +989,7 @@ public boolean notEquals(Time other) { */ public boolean lessThan(Time other) throws OperationNotSupportedException { if (other instanceof tstzspan){ - return functions.span_lt(this._inner,((tstzspan) other).get_inner()); + return GeneratedFunctions.span_lt(this._inner,((tstzspan) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); @@ -1010,7 +1010,7 @@ public boolean lessThan(Time other) throws OperationNotSupportedException { */ public boolean lessThanOrEqual(Time other) throws OperationNotSupportedException { if (other instanceof tstzspan){ - return functions.span_le(this._inner,((tstzspan) other).get_inner()); + return GeneratedFunctions.span_le(this._inner,((tstzspan) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); @@ -1030,7 +1030,7 @@ public boolean lessThanOrEqual(Time other) throws OperationNotSupportedException */ public boolean greaterThan(Time other) throws OperationNotSupportedException { if (other instanceof tstzspan){ - return functions.span_gt(this._inner,((tstzspan) other).get_inner()); + return GeneratedFunctions.span_gt(this._inner,((tstzspan) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); @@ -1050,7 +1050,7 @@ public boolean greaterThan(Time other) throws OperationNotSupportedException { */ public boolean greaterThanOrEqual(Time other) throws OperationNotSupportedException { if (other instanceof tstzspan){ - return functions.span_ge(this._inner,((tstzspan) other).get_inner()); + return GeneratedFunctions.span_ge(this._inner,((tstzspan) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); 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 abae5e2d2..1cb2dd535 100644 --- a/jmeos-core/src/main/java/types/collections/time/tstzspanset.java +++ b/jmeos-core/src/main/java/types/collections/time/tstzspanset.java @@ -12,7 +12,7 @@ import javax.naming.OperationNotSupportedException; import java.time.LocalDateTime; import java.util.List; -import functions.functions; +import functions.GeneratedFunctions; /** @@ -60,7 +60,7 @@ public tstzspanset(Pointer _inner) { */ public tstzspanset(String value) { super(value); - this._inner = functions.tstzspanset_in(value); + this._inner = GeneratedFunctions.tstzspanset_in(value); } /** @@ -83,12 +83,12 @@ public tstzspanset(List periods) { } sb.append("}"); System.out.println(sb); - this._inner = functions.tstzspanset_in(sb.toString()); + this._inner = GeneratedFunctions.tstzspanset_in(sb.toString()); } @Override public Pointer createStringInner(String str){ - return functions.tstzspanset_in(str); + return GeneratedFunctions.tstzspanset_in(str); } @Override @@ -108,7 +108,7 @@ public Pointer createListInner(List periods){ } } sb.append("}"); - return functions.tstzspanset_in(sb.toString()); + return GeneratedFunctions.tstzspanset_in(sb.toString()); } /** @@ -121,7 +121,7 @@ public Pointer createListInner(List periods){ * @return a new tstzspanset instance */ public Pointer copy() { - return functions.spanset_copy(this._inner); + return GeneratedFunctions.spanset_copy(this._inner); } @@ -135,7 +135,7 @@ public Pointer copy() { * @return a new tstzspanset instance */ public Pointer from_hexwkb(String str) { - return functions.spanset_from_hexwkb(str); + return GeneratedFunctions.spanset_from_hexwkb(str); } @@ -150,7 +150,7 @@ public Pointer from_hexwkb(String str) { * @return a new String instance */ public String toString(){ - return functions.tstzspanset_out(this._inner); + return GeneratedFunctions.tstzspanset_out(this._inner); } /* ------------------------- Conversions ----------------------------------- */ @@ -162,7 +162,7 @@ public String toString(){ * @return a new tstzspan instance */ public tstzspan to_period() { - return new tstzspan(functions.spanset_span(this._inner)); + return new tstzspan(GeneratedFunctions.spanset_span(this._inner)); } @@ -196,7 +196,7 @@ public Pointer get_inner(){ * @return an Integer instance */ public int num_timestamps(){ - return functions.tstzspanset_num_timestamps(this._inner); + return GeneratedFunctions.tstzspanset_num_timestamps(this._inner); } /** @@ -208,7 +208,7 @@ public int num_timestamps(){ * @return A {@link LocalDateTime} instance */ public LocalDateTime start_timestamp(){ - return ConversionUtils.timestamptz_to_datetime(functions.tstzspanset_start_timestamptz(this._inner)); + return ConversionUtils.timestamptz_to_datetime(GeneratedFunctions.tstzspanset_start_timestamptz(this._inner)); } /** @@ -220,7 +220,7 @@ public LocalDateTime start_timestamp(){ * @return A {@link LocalDateTime} instance */ public LocalDateTime end_timestamp(){ - return ConversionUtils.timestamptz_to_datetime(functions.tstzspanset_end_timestamptz(this._inner)); + return ConversionUtils.timestamptz_to_datetime(GeneratedFunctions.tstzspanset_end_timestamptz(this._inner)); } @@ -244,7 +244,7 @@ public LocalDateTime timestamp_n(int n){ * @return an Integer instance */ public int num_periods(){ - return functions.spanset_num_spans(this._inner); + return GeneratedFunctions.spanset_num_spans(this._inner); } @@ -256,7 +256,7 @@ public int num_periods(){ * @return a new tstzspan instance */ public tstzspan start_period() { - return new tstzspan(functions.spanset_start_span(this._inner)); + return new tstzspan(GeneratedFunctions.spanset_start_span(this._inner)); } @@ -279,7 +279,7 @@ public tstzspan start_span() { * @return a new tstzspan instance */ public tstzspan end_period() { - return new tstzspan(functions.spanset_end_span(this._inner)); + return new tstzspan(GeneratedFunctions.spanset_end_span(this._inner)); } @@ -303,7 +303,7 @@ public tstzspan end_span() { * @return a new Integer instance */ public long hash(){ - return functions.spanset_hash(this._inner); + return GeneratedFunctions.spanset_hash(this._inner); } @@ -335,11 +335,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.adjacent_spanset_span(this._inner, p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.adjacent_spanset_spanset(this._inner, ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.adjacent_spanset_spanset(this._inner, GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.adjacent_spanset_span(this._inner, b.to_period().get_inner()); default -> returnValue = super.is_adjacent((Base) other); } return returnValue; @@ -369,10 +369,10 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.contained_spanset_span(this._inner, p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.contained_spanset_span(this._inner, b.to_period().get_inner()); default -> returnValue = super.is_contained_in((Base) other); } return returnValue; @@ -403,11 +403,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.contains_spanset_span(this._inner, p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.contains_spanset_spanset(this._inner, ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.contains_spanset_spanset(this._inner, GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.contains_spanset_span(this._inner, b.to_period().get_inner()); default -> returnValue = super.contains((Base) other); } return returnValue; @@ -436,11 +436,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.overlaps_spanset_span(this._inner, p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.overlaps_spanset_spanset(this._inner, ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.overlaps_spanset_spanset(this._inner, GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.overlaps_spanset_span(this._inner, b.to_period().get_inner()); default -> returnValue = super.overlaps((Base) other); } return returnValue; @@ -488,11 +488,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.left_spanset_span(this._inner, p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.left_spanset_spanset(this._inner, ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.left_spanset_spanset(this._inner, GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.left_spanset_span(this._inner, b.to_period().get_inner()); default -> returnValue = super.is_left((Base) other); } return returnValue; @@ -526,11 +526,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.overleft_spanset_span(this._inner, p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.overleft_spanset_spanset(this._inner, ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.overleft_spanset_span(this._inner, GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.overleft_spanset_span(this._inner, b.to_period().get_inner()); default -> returnValue = super.is_over_or_left((Base) other); } return returnValue; @@ -560,11 +560,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.right_spanset_span(this._inner, p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.right_spanset_spanset(this._inner, ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.right_spanset_span(this._inner, GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.right_spanset_span(this._inner, b.to_period().get_inner()); default -> returnValue = super.is_right((Base) other); } return returnValue; @@ -596,11 +596,11 @@ 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 tstzspan p -> returnValue = GeneratedFunctions.overright_spanset_span(this._inner, p.get_inner()); + case tstzspanset ps -> returnValue = GeneratedFunctions.overright_spanset_spanset(this._inner, ps.get_inner()); + case tstzset ts -> returnValue = GeneratedFunctions.overright_spanset_span(this._inner, GeneratedFunctions.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()); + case Box b -> returnValue = GeneratedFunctions.overright_spanset_span(this._inner, b.to_period().get_inner()); default -> returnValue = super.is_over_or_right((Base) other); } return returnValue; @@ -627,9 +627,9 @@ 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()))); + case tstzspan p -> returnValue = new tstzspan(GeneratedFunctions.intersection_spanset_span(this._inner,p.get_inner())); + case tstzspanset ps -> returnValue = new tstzspan(GeneratedFunctions.intersection_spanset_spanset(this._inner,ps.get_inner())); + case tstzset ts -> returnValue = new tstzspan(GeneratedFunctions.intersection_spanset_spanset(this._inner,GeneratedFunctions.set_to_spanset(ts.get_inner()))); default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); } return returnValue; @@ -668,9 +668,9 @@ 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()))); + case tstzspan p -> returnValue = new tstzspanset(GeneratedFunctions.minus_spanset_span(this._inner,p.get_inner())); + case tstzspanset ps -> returnValue = new tstzspanset(GeneratedFunctions.minus_spanset_spanset(this._inner,ps.get_inner())); + case tstzset ts -> returnValue = new tstzspanset(GeneratedFunctions.minus_spanset_spanset(this._inner,GeneratedFunctions.set_to_spanset(ts.get_inner()))); default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); } return returnValue; @@ -711,9 +711,9 @@ 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()))); + case tstzspan p -> returnValue = new tstzspanset(GeneratedFunctions.union_spanset_span(this._inner,p.get_inner())); + case tstzspanset ps -> returnValue = new tstzspanset(GeneratedFunctions.union_spanset_spanset(this._inner,ps.get_inner())); + case tstzset ts -> returnValue = new tstzspanset(GeneratedFunctions.union_spanset_spanset(this._inner,GeneratedFunctions.set_to_spanset(ts.get_inner()))); default -> throw new TypeNotPresentException(other.getClass().toString(), new Throwable("Operation not supported with this type")); } return returnValue; @@ -755,7 +755,7 @@ public tstzspanset add(Time other) { */ public boolean eq(Time other) { boolean result; - result = other instanceof tstzspanset && functions.spanset_eq(this._inner, ((tstzspanset) other).get_inner()); + result = other instanceof tstzspanset && GeneratedFunctions.spanset_eq(this._inner, ((tstzspanset) other).get_inner()); return result; } @@ -771,7 +771,7 @@ public boolean eq(Time other) { */ public boolean notEquals(Time other) { boolean result; - result = !(other instanceof tstzspanset) || functions.spanset_ne(this._inner, ((tstzspanset) other).get_inner()); + result = !(other instanceof tstzspanset) || GeneratedFunctions.spanset_ne(this._inner, ((tstzspanset) other).get_inner()); return result; } @@ -788,7 +788,7 @@ public boolean notEquals(Time other) { */ public boolean lessThan(Time other) throws OperationNotSupportedException { if (other instanceof tstzspanset){ - return functions.spanset_lt(this._inner,((tstzspanset) other).get_inner()); + return GeneratedFunctions.spanset_lt(this._inner,((tstzspanset) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); @@ -806,7 +806,7 @@ public boolean lessThan(Time other) throws OperationNotSupportedException { */ public boolean lessThanOrEqual(Time other) throws OperationNotSupportedException { if (other instanceof tstzspanset){ - return functions.spanset_le(this._inner,((tstzspanset) other).get_inner()); + return GeneratedFunctions.spanset_le(this._inner,((tstzspanset) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); @@ -825,7 +825,7 @@ public boolean lessThanOrEqual(Time other) throws OperationNotSupportedException */ public boolean greaterThan(Time other) throws OperationNotSupportedException { if (other instanceof tstzspanset){ - return functions.spanset_gt(this._inner,((tstzspanset) other).get_inner()); + return GeneratedFunctions.spanset_gt(this._inner,((tstzspanset) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); @@ -843,7 +843,7 @@ public boolean greaterThan(Time other) throws OperationNotSupportedException { */ public boolean greaterThanOrEqual(Time other) throws OperationNotSupportedException { if (other instanceof tstzspanset){ - return functions.spanset_ge(this._inner,((tstzspanset) other).get_inner()); + return GeneratedFunctions.spanset_ge(this._inner,((tstzspanset) other).get_inner()); } else{ throw new OperationNotSupportedException("Operation not supported with this type."); diff --git a/jmeos-core/src/main/java/types/temporal/Temporal.java b/jmeos-core/src/main/java/types/temporal/Temporal.java index c528596e2..c4dfde216 100644 --- a/jmeos-core/src/main/java/types/temporal/Temporal.java +++ b/jmeos-core/src/main/java/types/temporal/Temporal.java @@ -1,6 +1,6 @@ package types.temporal; -import functions.functions; +import functions.GeneratedFunctions; import jnr.ffi.Memory; import jnr.ffi.Pointer; import jnr.ffi.Runtime; @@ -63,7 +63,7 @@ public static Temporal _factory(Pointer inner, String customType, TemporalType t * @return a copy of the object */ public Temporal copy(){ - return Factory.create_temporal(functions.temporal_copy(this.inner),this.getCustomType(),this.getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.temporal_copy(this.inner),this.getCustomType(),this.getTemporalType()); } /** @@ -76,7 +76,7 @@ public Temporal copy(){ * @return A temporal object from a hex-encoded WKB string. */ public Temporal from_hexwkb(String str){ - Pointer result = functions.temporal_from_hexwkb(str); + Pointer result = GeneratedFunctions.temporal_from_hexwkb(str); return Factory.create_temporal(result, this.getCustomType(), this.getTemporalType()); } @@ -94,7 +94,7 @@ public Temporal from_hexwkb(String str){ */ public Temporal from_wkb(Pointer wkb, long size){ - Pointer result= functions.temporal_from_wkb(wkb, size); + Pointer result= GeneratedFunctions.temporal_from_wkb(wkb, size); return Factory.create_temporal(result, this.getCustomType(), this.getTemporalType()); } @@ -108,7 +108,7 @@ public Temporal from_wkb(Pointer wkb, long size){ temporal_as_hexwkb */ public String as_hexwkb(Pointer wkb, long size){ - String[] result= new String[]{functions.temporal_as_hexwkb(this.inner, (byte) -1)}; + String[] result= new String[]{GeneratedFunctions.temporal_as_hexwkb(this.inner, (byte) -1)}; // System.out.println(result[0]); return result[0]; } @@ -123,7 +123,7 @@ public String as_hexwkb(Pointer wkb, long size){ temporal_as_wkb */ public Pointer as_wkb(){ - Pointer result= functions.temporal_as_wkb(this.inner, (byte) 4); + Pointer result= GeneratedFunctions.temporal_as_wkb(this.inner, (byte) 4); return result; } @@ -137,7 +137,7 @@ public Pointer as_wkb(){ * @return A temporal object from a MF-JSON string. */ // public Temporal from_mfjson(String str){ -// Pointer result = functions.temporal_as_(str); +// Pointer result = GeneratedFunctions.temporal_as_(str); // return Factory.create_temporal(result, this.getCustomType(), this.getTemporalType()); // } @@ -161,7 +161,7 @@ public Pointer as_wkb(){ * @return The temporal object as a MF-JSON string. */ public String as_mfjson(boolean with_bbox, int flags, int precision, String srs){ - return functions.temporal_as_mfjson(this.inner,with_bbox,flags,precision,srs); + return GeneratedFunctions.temporal_as_mfjson(this.inner,with_bbox,flags,precision,srs); } @@ -206,12 +206,12 @@ public Temporal from_merge(Pointer temporals){ // Create a JNR-FFI runtime instance Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value - Pointer temporalP = Memory.allocate(Runtime.getRuntime(runtime), Long.BYTES); + Pointer temporalP = Memory.allocate(runtime, Long.BYTES); // Copy the array elements into the allocated memory for (int i = 0; i < length_list; i++) { temporalP.putPointer((long) i * Long.BYTES, temporal_list.get(i).getInner()); } - Pointer result= functions.temporal_merge_array(temporalP, length_list); + Pointer result= GeneratedFunctions.temporal_merge_array(temporalP, length_list); return Factory.create_temporal(result, this.getCustomType(), this.getTemporalType()); } @@ -241,12 +241,12 @@ public Temporal from_merge_array(List temporals) { // Create a JNR-FFI runtime instance Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value - Pointer temporalPointer = Memory.allocate(Runtime.getRuntime(runtime), Long.BYTES); + Pointer temporalPointer = Memory.allocate(runtime, Long.BYTES); // Copy the array elements into the allocated memory for (int i = 0; i < length; i++) { temporalPointer.putPointer((long) i * Long.BYTES, temporal_list.get(i).getInner()); } - Pointer result = functions.temporal_merge_array(temporalPointer, length); + Pointer result = GeneratedFunctions.temporal_merge_array(temporalPointer, length); return Factory.create_temporal(result, this.getCustomType(), this.getTemporalType()); } @@ -268,7 +268,7 @@ public Pointer getInner(){ * @return The bounding box of `self`. */ public tstzspan bounding_box(){ - return new tstzspan(functions.temporal_to_tstzspan(this.inner)); + return new tstzspan(GeneratedFunctions.temporal_to_tstzspan(this.inner)); } /** @@ -279,13 +279,13 @@ public tstzspan bounding_box(){ * @return the {@link tstzspanset} on which `self` is defined. */ public tstzspanset time(){ - return new tstzspanset(functions.temporal_time(this.inner)); + return new tstzspanset(GeneratedFunctions.temporal_time(this.inner)); } public TInterpolation interpolation(){ - return TInterpolation.fromString(functions.temporal_interp(this.inner),true); + return TInterpolation.fromString(GeneratedFunctions.temporal_interp(this.inner),true); } @@ -310,7 +310,7 @@ public tstzspan period(){ * @return */ public tstzspan timespan(){ - return new tstzspan(functions.temporal_to_tstzspan(this.inner)); + return new tstzspan(GeneratedFunctions.temporal_to_tstzspan(this.inner)); } @@ -322,7 +322,7 @@ public tstzspan timespan(){ * @return Returns the number of instants in "this". */ public int num_instants(){ - return functions.temporal_num_instants(this.inner); + return GeneratedFunctions.temporal_num_instants(this.inner); } @@ -334,7 +334,7 @@ public int num_instants(){ * @return Returns the first instant in "this". */ public Temporal start_instant(){ - return Factory.create_temporal(functions.temporal_start_instant(this.inner), this.getCustomType(), TEMPORAL_INSTANT); + return Factory.create_temporal(GeneratedFunctions.temporal_start_instant(this.inner), this.getCustomType(), TEMPORAL_INSTANT); } /** @@ -345,7 +345,7 @@ public Temporal start_instant(){ * @return Returns the last instant in "this". */ public Temporal end_instant(){ - return Factory.create_temporal(functions.temporal_end_instant(this.inner), this.getCustomType(), TEMPORAL_INSTANT); + return Factory.create_temporal(GeneratedFunctions.temporal_end_instant(this.inner), this.getCustomType(), TEMPORAL_INSTANT); } @@ -358,7 +358,7 @@ public Temporal end_instant(){ * @return Returns the instant in "this" with the minimum value. */ public Temporal min_instant(){ - return Factory.create_temporal(functions.temporal_min_instant(this.inner), this.getCustomType(), TEMPORAL_INSTANT); + return Factory.create_temporal(GeneratedFunctions.temporal_min_instant(this.inner), this.getCustomType(), TEMPORAL_INSTANT); } /** @@ -370,7 +370,7 @@ public Temporal min_instant(){ * @return Returns the instant in "this" with the maximum value. */ public Temporal max_instant(){ - return Factory.create_temporal(functions.temporal_max_instant(this.inner), this.getCustomType(), TEMPORAL_INSTANT); + return Factory.create_temporal(GeneratedFunctions.temporal_max_instant(this.inner), this.getCustomType(), TEMPORAL_INSTANT); } /** @@ -382,18 +382,18 @@ public Temporal max_instant(){ * @return a new Temporal */ public Temporal instant_n(int n){ - return Factory.create_temporal(functions.temporal_instant_n(this.inner, n+1), this.getCustomType(), TEMPORAL_INSTANT); + return Factory.create_temporal(GeneratedFunctions.temporal_instant_n(this.inner, n+1), this.getCustomType(), TEMPORAL_INSTANT); } // public List instants(){ -// functions.temporal_instants(this.inner); +// GeneratedFunctions.temporal_instants(this.inner); // } // public abstract Temporal value_at_timestamp(); public Duration duration(boolean ignore_gaps){ ignore_gaps = false; - return ConversionUtils.interval_to_timedelta(functions.temporal_duration(this.inner, ignore_gaps)); + return ConversionUtils.interval_to_timedelta(GeneratedFunctions.temporal_duration(this.inner, ignore_gaps)); } public tstzspan tstzspan(){ @@ -408,7 +408,7 @@ public tstzspan tstzspan(){ * @return Returns the number of timestamps in "this". */ public int num_timestamps(){ - return functions.temporal_num_timestamps(this.inner); + return GeneratedFunctions.temporal_num_timestamps(this.inner); } /** @@ -419,7 +419,7 @@ public int num_timestamps(){ * @return Returns the first timestamp in "this". */ public LocalDateTime start_timestamp(){ - return ConversionUtils.timestamptz_to_datetime(functions.temporal_start_timestamptz(this.inner)); + return ConversionUtils.timestamptz_to_datetime(GeneratedFunctions.temporal_start_timestamptz(this.inner)); } @@ -431,7 +431,7 @@ public LocalDateTime start_timestamp(){ * @return Returns the last timestamp in "this". */ public LocalDateTime end_timestamp(){ - return ConversionUtils.timestamptz_to_datetime(functions.temporal_end_timestamptz(this.inner)); + return ConversionUtils.timestamptz_to_datetime(GeneratedFunctions.temporal_end_timestamptz(this.inner)); } // Convert timestamp (number of seconds since epoch) to LocalDateTime @@ -440,7 +440,7 @@ public static LocalDateTime timestampToLocalDateTime(int timestamp) { } public LocalDateTime timestamp_n(int n){ - return timestampToLocalDateTime(Objects.requireNonNull(functions.temporal_timestamptz_n(this.inner, n + 1)).getInt(Integer.BYTES)); + return timestampToLocalDateTime(Objects.requireNonNull(GeneratedFunctions.temporal_timestamptz_n(this.inner, n + 1)).getInt(Integer.BYTES)); } /** @@ -454,8 +454,8 @@ public List timestamps(){ // Create a JNR-FFI runtime instance Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer array= functions.temporal_timestamps(this.inner, intPointer); + Pointer intPointer = Memory.allocate(runtime, 4); + Pointer array= GeneratedFunctions.temporal_timestamps(this.inner, intPointer); List datetimeList= new ArrayList(); for(int i=0;i instants(){ // Create a JNR-FFI runtime instance Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer array= functions.temporal_instants(this.inner, intPointer); + Pointer intPointer = Memory.allocate(runtime, 4); + Pointer array= GeneratedFunctions.temporal_instants(this.inner, intPointer); List instantList= new ArrayList(); for(int i=0; i segments(){ // Create a JNR-FFI runtime instance Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer array= functions.temporal_segments(this.inner, intPointer); + Pointer intPointer = Memory.allocate(runtime, 4); + Pointer array= GeneratedFunctions.temporal_segments(this.inner, intPointer); List segmentList= new ArrayList(); - int num_segments= functions.temporal_num_sequences(this.inner); + int num_segments= GeneratedFunctions.temporal_num_sequences(this.inner); for(int i=0;i segments(){ * @return The hash of the temporal object. */ public long hash(){ - return functions.temporal_hash(this.inner); + return GeneratedFunctions.temporal_hash(this.inner); } /* ------------------------- Transformations ---------------------------------------- */ @@ -545,7 +545,7 @@ public long hash(){ * * interpolation. */ public Temporal set_interpolation(TInterpolation interpolation){ - return Factory.create_temporal(functions.temporal_set_interp(this.inner, interpolation.getValue()),this.getCustomType(),this.getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.temporal_set_interp(this.inner, interpolation.getValue()),this.getCustomType(),this.getTemporalType()); } @@ -561,7 +561,7 @@ public Temporal set_interpolation(TInterpolation interpolation){ */ public Temporal shift_time(Duration duration){ - Pointer shifted= functions.temporal_shift_time(this.inner, ConversionUtils.timedelta_to_interval(duration)); + Pointer shifted= GeneratedFunctions.temporal_shift_time(this.inner, ConversionUtils.timedelta_to_interval(duration)); return Factory.create_temporal(shifted,this.getCustomType(),this.getTemporalType()); } @@ -577,7 +577,7 @@ public Temporal shift_time(Duration duration){ temporal_scale_time */ public Temporal scale_time(Duration duration){ - Pointer scaled= functions.temporal_scale_time(this.inner, ConversionUtils.timedelta_to_interval(duration)); + Pointer scaled= GeneratedFunctions.temporal_scale_time(this.inner, ConversionUtils.timedelta_to_interval(duration)); return Factory.create_temporal(scaled,this.getCustomType(),this.getTemporalType()); } @@ -595,7 +595,7 @@ public Temporal scale_time(Duration duration){ temporal_shift_scale_time */ public Temporal shift_scale_time(Duration shift, Duration scale){ - Pointer scaled= functions.temporal_shift_scale_time(this.inner, ConversionUtils.timedelta_to_interval(shift), ConversionUtils.timedelta_to_interval(scale)); + Pointer scaled= GeneratedFunctions.temporal_shift_scale_time(this.inner, ConversionUtils.timedelta_to_interval(shift), ConversionUtils.timedelta_to_interval(scale)); return Factory.create_temporal(scaled,this.getCustomType(),this.getTemporalType()); } @@ -618,20 +618,20 @@ public Temporal temporal_sample(Object duration, Object start, TInterpolation in Pointer dt= null; TInterpolation intrp= null; if (start == null){ - st= functions.pg_timestamptz_in("2000-01-03", -1); + st= GeneratedFunctions.timestamptz_in("2000-01-03", -1); } else if (start instanceof LocalDateTime){ st= ConversionUtils.datetimeToTimestampTz((LocalDateTime)start); } else{ - st= functions.pg_timestamptz_in(start.toString(), -1); + st= GeneratedFunctions.timestamptz_in(start.toString(), -1); } if(duration instanceof Duration){ dt= ConversionUtils.timedelta_to_interval((Duration) duration); } else{ - dt= functions.pg_interval_in(duration.toString(), -1); + dt= GeneratedFunctions.interval_in(duration.toString(), -1); } if(interpolation == null){ @@ -641,7 +641,7 @@ else if (start instanceof LocalDateTime){ intrp= interpolation; } int intrp_val= intrp.getValue(); - Pointer result= functions.temporal_tsample(this.inner, dt, st, intrp_val); + Pointer result= GeneratedFunctions.temporal_tsample(this.inner, dt, st, intrp_val); return Factory.create_temporal(result, this.getCustomType(), this.getTemporalType()); } @@ -662,22 +662,22 @@ public Temporal temporal_precision(Object duration, Object start){ OffsetDateTime st= null; Pointer dt= null; if (start == null){ - st= functions.pg_timestamptz_in("2000-01-03", -1); + st= GeneratedFunctions.timestamptz_in("2000-01-03", -1); } else if (start instanceof LocalDateTime){ st= ConversionUtils.datetimeToTimestampTz((LocalDateTime)start); } else{ - st= functions.pg_timestamptz_in(start.toString(), -1); + st= GeneratedFunctions.timestamptz_in(start.toString(), -1); } if(duration instanceof Duration){ dt= ConversionUtils.timedelta_to_interval((Duration) duration); } else{ - dt= functions.pg_interval_in(duration.toString(), -1); + dt= GeneratedFunctions.interval_in(duration.toString(), -1); } - Pointer result= functions.temporal_tprecision(this.inner, dt, st); + Pointer result= GeneratedFunctions.temporal_tprecision(this.inner, dt, st); return Factory.create_temporal(result, this.getCustomType(), this.getTemporalType()); } @@ -691,7 +691,7 @@ else if (start instanceof LocalDateTime){ * @return Returns "this" as a {@link TInstant}. */ public Temporal to_instant(){ - return Factory.create_temporal(functions.temporal_to_tinstant(this.inner),this.getCustomType(),TEMPORAL_INSTANT); + return Factory.create_temporal(GeneratedFunctions.temporal_to_tinstant(this.inner),this.getCustomType(),TEMPORAL_INSTANT); } @@ -705,7 +705,7 @@ public Temporal to_instant(){ */ public Temporal to_sequence(TInterpolation interpolation){ System.out.println(interpolation.toString()); - return Factory.create_temporal(functions.temporal_to_tsequence(this.inner, interpolation.getValue()),this.getCustomType(),TEMPORAL_SEQUENCE); + return Factory.create_temporal(GeneratedFunctions.temporal_to_tsequence(this.inner, interpolation.getValue()),this.getCustomType(),TEMPORAL_SEQUENCE); } /** @@ -717,7 +717,7 @@ public Temporal to_sequence(TInterpolation interpolation){ * @return a new {@link TSequenceSet} */ public Temporal to_sequenceset(TInterpolation interpolation){ - return Factory.create_temporal(functions.temporal_to_tsequenceset(this.inner, interpolation.getValue()),this.getCustomType(),TEMPORAL_SEQUENCE_SET); + return Factory.create_temporal(GeneratedFunctions.temporal_to_tsequenceset(this.inner, interpolation.getValue()),this.getCustomType(),TEMPORAL_SEQUENCE_SET); } @@ -762,7 +762,7 @@ public Temporal append_instant(TInstant instant, int interp, float max_dist, Dur else{ interv= ConversionUtils.timedelta_to_interval(max_time); } - Pointer resultPointer= functions.temporal_append_tinstant(this.inner, instant.getInner(), interp, (double) max_dist, interv, false); + Pointer resultPointer= GeneratedFunctions.temporal_append_tinstant(this.inner, instant.getInner(), interp, (double) max_dist, interv, false); return Factory.create_temporal(resultPointer, this.getCustomType(), this.getTemporalType()); } @@ -778,7 +778,7 @@ public Temporal append_instant(TInstant instant, int interp, float max_dist, Dur * @return a new {@link Temporal} object */ public Temporal append_sequence(TSequence sequence){ - return Factory.create_temporal(functions.temporal_append_tsequence(this.inner, sequence.getInner(), false), this.getCustomType(), this.getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.temporal_append_tsequence(this.inner, sequence.getInner(), false), this.getCustomType(), this.getTemporalType()); } @@ -808,7 +808,7 @@ private Pointer createPointerArray(List temporalList) throws Exception { // Create a JNR-FFI runtime instance Runtime runtime = Runtime.getSystemRuntime(); // Allocate memory for an integer (4 bytes) but do not set a value - Pointer pointerArray = Memory.allocate(Runtime.getRuntime(runtime), (temporalList.size() + 1) * Long.BYTES); + Pointer pointerArray = Memory.allocate(runtime, (temporalList.size() + 1) * Long.BYTES); pointerArray.putPointer(0, this.inner); // Add the current instance's inner pointer for (int i = 0; i < temporalList.size(); i++) { @@ -836,13 +836,13 @@ public Temporal merge(Object other) throws Exception { } else if (other instanceof Temporal) { Temporal temporalOther = (Temporal) other; - newTemp = functions.temporal_merge(this.inner, temporalOther.inner); + newTemp = GeneratedFunctions.temporal_merge(this.inner, temporalOther.inner); } else if (other instanceof List) { List otherList = (List) other; Pointer pointers = createPointerArray(otherList); - newTemp = functions.temporal_merge_array(pointers, otherList.size() + 1); + newTemp = GeneratedFunctions.temporal_merge_array(pointers, otherList.size() + 1); } else { throw new Exception("Operation not supported with type " + other.getClass().getName()); } @@ -864,7 +864,7 @@ else if (other instanceof List) { * * inserted. */ public Temporal insert(Temporal other, boolean connect){ - return Factory.create_temporal(functions.temporal_insert(this.inner,other.inner,connect),this.getCustomType(),this.getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.temporal_insert(this.inner,other.inner,connect),this.getCustomType(),this.getTemporalType()); } @@ -899,7 +899,7 @@ public Temporal update(Temporal other){ * * "other". */ public Temporal update(Temporal other, boolean connect){ - return Factory.create_temporal(functions.temporal_update(this.inner,other.inner,connect),this.getCustomType(),this.getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.temporal_update(this.inner,other.inner,connect),this.getCustomType(),this.getTemporalType()); } /** @@ -917,16 +917,16 @@ public Temporal update(Temporal other, boolean connect){ public Temporal delete(Object other, Boolean connect) throws Exception { Pointer new_inner=null; if(other instanceof LocalDateTime){ - new_inner= functions.temporal_delete_timestamptz(this.inner, ConversionUtils.datetimeToTimestampTz((LocalDateTime) other), connect); + new_inner= GeneratedFunctions.temporal_delete_timestamptz(this.inner, ConversionUtils.datetimeToTimestampTz((LocalDateTime) other), connect); } else if(other instanceof tstzset){ - new_inner= functions.temporal_delete_tstzset(this.inner, ((tstzset) other).get_inner(), connect); + new_inner= GeneratedFunctions.temporal_delete_tstzset(this.inner, ((tstzset) other).get_inner(), connect); } else if(other instanceof tstzspan){ - new_inner= functions.temporal_delete_tstzspan(this.inner, ((tstzspan) other).get_inner(), connect); + new_inner= GeneratedFunctions.temporal_delete_tstzspan(this.inner, ((tstzspan) other).get_inner(), connect); } else if (other instanceof tstzspanset){ - new_inner= functions.temporal_delete_tstzspanset(this.inner, ((tstzspanset) other).get_inner(), connect); + new_inner= GeneratedFunctions.temporal_delete_tstzspanset(this.inner, ((tstzspanset) other).get_inner(), connect); } else{ throw new Exception("Operation not supported with type " + other.getClass().getName()); @@ -961,13 +961,13 @@ else if (other instanceof tstzspanset){ public Temporal at(Time other){ Pointer result = null; if (other instanceof tstzset){ - result = functions.temporal_at_tstzset(this.inner,((tstzset) other).get_inner()); + result = GeneratedFunctions.temporal_at_tstzset(this.inner,((tstzset) other).get_inner()); } else if (other instanceof tstzspan) { - result = functions.temporal_at_tstzspan(this.inner,((tstzspan) other).get_inner()); + result = GeneratedFunctions.temporal_at_tstzspan(this.inner,((tstzspan) other).get_inner()); } else if (other instanceof tstzspanset) { - result = functions.temporal_at_tstzspanset(this.inner,((tstzspanset) other).get_inner()); + result = GeneratedFunctions.temporal_at_tstzspanset(this.inner,((tstzspanset) other).get_inner()); } return Factory.create_temporal(result, this.getCustomType(),this.getTemporalType()); } @@ -985,7 +985,7 @@ public Temporal at(Time other){ * @return A new temporal object of the same subtype as `self`. */ public Temporal at_min(){ - return Factory.create_temporal(functions.temporal_at_min(this.inner),this.getCustomType(),this.getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.temporal_at_min(this.inner),this.getCustomType(),this.getTemporalType()); } @@ -1001,7 +1001,7 @@ public Temporal at_min(){ * @return A new temporal object of the same subtype as `self`. */ public Temporal at_max(){ - return Factory.create_temporal(functions.temporal_at_max(this.inner),this.getCustomType(),this.getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.temporal_at_max(this.inner),this.getCustomType(),this.getTemporalType()); } @@ -1025,13 +1025,13 @@ public Temporal at_max(){ public Temporal minus(Time other){ Pointer result = null; if (other instanceof tstzset){ - result = functions.temporal_minus_tstzset(this.inner,((tstzset) other).get_inner()); + result = GeneratedFunctions.temporal_minus_tstzset(this.inner,((tstzset) other).get_inner()); } else if (other instanceof tstzspan) { - result = functions.temporal_minus_tstzspan(this.inner,((tstzspan) other).get_inner()); + result = GeneratedFunctions.temporal_minus_tstzspan(this.inner,((tstzspan) other).get_inner()); } else if (other instanceof tstzspanset) { - result = functions.temporal_minus_tstzspanset(this.inner,((tstzspanset) other).get_inner()); + result = GeneratedFunctions.temporal_minus_tstzspanset(this.inner,((tstzspanset) other).get_inner()); } return Factory.create_temporal(result, this.getCustomType(),this.getTemporalType()); } @@ -1047,7 +1047,7 @@ public Temporal minus(Time other){ * @return A new temporal object of the same subtype as "this". */ public Temporal minus_min(){ - return Factory.create_temporal(functions.temporal_minus_min(this.inner),this.getCustomType(),this.getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.temporal_minus_min(this.inner),this.getCustomType(),this.getTemporalType()); } /** @@ -1061,7 +1061,7 @@ public Temporal minus_min(){ * @return A new temporal object of the same subtype as "this". */ public Temporal minus_max(){ - return Factory.create_temporal(functions.temporal_minus_max(this.inner),this.getCustomType(),this.getTemporalType()); + return Factory.create_temporal(GeneratedFunctions.temporal_minus_max(this.inner),this.getCustomType(),this.getTemporalType()); } /* ------------------------- Topological Operations ------------------------ */ @@ -1292,7 +1292,7 @@ public boolean is_over_or_after(TemporalObject other) throws Exception { * @return A {@link Float} with the Frechet distance. */ public float frechet_distance(Temporal other){ - return (float) functions.temporal_frechet_distance(this.inner,other.getInner()); + return (float) GeneratedFunctions.temporal_frechet_distance(this.inner,other.getInner()); } /** @@ -1307,7 +1307,7 @@ public float frechet_distance(Temporal other){ * @return A {@link Float} with the Dynamic Time Warp distance. */ public float dyntimewarp_distance(Temporal other){ - return (float) functions.temporal_dyntimewarp_distance(this.inner,other.getInner()); + return (float) GeneratedFunctions.temporal_dyntimewarp_distance(this.inner,other.getInner()); } /** @@ -1322,7 +1322,7 @@ public float dyntimewarp_distance(Temporal other){ * @return A {@link Float} with the Hausdorff distance. */ public float hausdorff_distance(Temporal other){ - return (float) functions.temporal_hausdorff_distance(this.inner,other.getInner()); + return (float) GeneratedFunctions.temporal_hausdorff_distance(this.inner,other.getInner()); } @@ -1334,7 +1334,7 @@ public float hausdorff_distance(Temporal other){ * @return a new Pointer object */ public Pointer temporal_simplify_dp(Pointer temp, double dist, boolean sync){ - return functions.temporal_simplify_dp(temp,dist,sync); + return GeneratedFunctions.temporal_simplify_dp(temp,dist,sync); } /* ------------------------- Split Operations ----------------------------------- */ @@ -1358,43 +1358,31 @@ public Pointer temporal_simplify_dp(Pointer temp, double dist, boolean sync){ temporal_time_split */ - private Pointer createEmptyPointerArray(Runtime runtime) { - // Allocate memory for a list of integers (let's assume a fixed size, e.g., 10 elements) - Pointer listPointer = Memory.allocate(Runtime.getRuntime(runtime), this.num_instants()*Long.BYTES); // Adjust size as needed - return listPointer; - } - public List time_split(Object duration, Object start){ OffsetDateTime st= null; Pointer dt= null; + // The duration is always required; the start defaults to 2000-01-03. + if(duration instanceof Duration){ + dt= ConversionUtils.timedelta_to_interval((Duration) duration); + } + else{ + dt= GeneratedFunctions.interval_in(duration.toString(), -1); + } if(start == null){ - st= functions.pg_timestamptz_in("2000-01-03", -1); + st= GeneratedFunctions.timestamptz_in("2000-01-03", -1); + } + else if(start instanceof LocalDateTime){ + st= ConversionUtils.datetimeToTimestampTz((LocalDateTime) start); } else{ - if(start instanceof LocalDateTime){ - st= ConversionUtils.datetimeToTimestampTz((LocalDateTime) start); - } - else{ - st= functions.pg_timestamptz_in(start.toString(), -1); - } - - if(duration instanceof Duration){ - dt= ConversionUtils.timedelta_to_interval((Duration) duration); - } - else{ - dt= functions.pg_interval_in(duration.toString(), -1); - } + st= GeneratedFunctions.timestamptz_in(start.toString(), -1); } - // Create a JNR-FFI runtime instance - Runtime runtime = Runtime.getSystemRuntime(); - // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer listPointer = createEmptyPointerArray(runtime); - Pointer p= functions.temporal_time_split(this.inner, dt, st, listPointer, intPointer); + Pointer countPtr = Memory.allocateDirect(Runtime.getSystemRuntime(), Integer.BYTES); + Pointer fragments = GeneratedFunctions.temporal_time_split(this.inner, dt, st, null, countPtr); + int count = countPtr.getInt(0); List tempList= new ArrayList<>(); - int count= intPointer.getInt(Integer.BYTES); for(int i=0;i time_split_n(int n){ if(this.start_timestamp() == this.end_timestamp()){ return Collections.singletonList(this); } - st= functions.temporal_start_timestamptz(this.inner); + st= GeneratedFunctions.temporal_start_timestamptz(this.inner); LocalDateTime start= this.start_timestamp(); LocalDateTime end= this.end_timestamp(); Duration dur= calculateIntermediateDuration(start, end, n); dt = ConversionUtils.timedelta_to_interval(dur); - // Create a JNR-FFI runtime instance - Runtime runtime = Runtime.getSystemRuntime(); - // Allocate memory for an integer (4 bytes) but do not set a value - Pointer intPointer = Memory.allocate(Runtime.getRuntime(runtime), 4); - Pointer listPointer = createEmptyPointerArray(runtime); - Pointer p= functions.temporal_time_split(this.inner, dt, st, listPointer, intPointer); + Pointer countPtr = Memory.allocateDirect(Runtime.getSystemRuntime(), Integer.BYTES); + Pointer fragments = GeneratedFunctions.temporal_time_split(this.inner, dt, st, null, countPtr); + int count = countPtr.getInt(0); List tempList= new ArrayList<>(); - int count= intPointer.getInt(Integer.BYTES); for(int i=0;i time_split_n(int n){ public Temporal stops(double max_distance, Duration max_duration){ Pointer new_inner= null; - new_inner= functions.temporal_stops(this.inner, max_distance, ConversionUtils.timedelta_to_interval(max_duration)); + new_inner= GeneratedFunctions.temporal_stops(this.inner, max_distance, ConversionUtils.timedelta_to_interval(max_duration)); return Factory.create_temporal(new_inner, this.getCustomType(), this.getTemporalType()); } @@ -1503,7 +1487,7 @@ public Temporal stops(double max_distance, Duration max_duration){ * @return A {@link Boolean} with the result of the equality relation. */ public boolean eq(Temporal other){ - return functions.temporal_eq(this.inner,other.getInner()); + return GeneratedFunctions.temporal_eq(this.inner,other.getInner()); } /** @@ -1517,7 +1501,7 @@ public boolean eq(Temporal other){ * @return A {@link Boolean} with the result of the not equal relation. */ public boolean notEquals(Temporal other){ - return functions.temporal_ne(this.inner,other.getInner()); + return GeneratedFunctions.temporal_ne(this.inner,other.getInner()); } /** @@ -1531,7 +1515,7 @@ public boolean notEquals(Temporal other){ * @return A {@link Boolean} with the result of the less than relation. */ public boolean lessThan(Temporal other){ - return functions.temporal_lt(this.inner,other.getInner()); + return GeneratedFunctions.temporal_lt(this.inner,other.getInner()); } @@ -1546,7 +1530,7 @@ public boolean lessThan(Temporal other){ * @return A {@link Boolean} with the result of the less or equal than relation. */ public boolean lessThanOrEqual(Temporal other){ - return functions.temporal_le(this.inner,other.getInner()); + return GeneratedFunctions.temporal_le(this.inner,other.getInner()); } @@ -1561,7 +1545,7 @@ public boolean lessThanOrEqual(Temporal other){ * @return A {@link Boolean} with the result of the greater than relation. */ public boolean greaterThan(Temporal other){ - return functions.temporal_gt(this.inner,other.getInner()); + return GeneratedFunctions.temporal_gt(this.inner,other.getInner()); } @@ -1577,7 +1561,7 @@ public boolean greaterThan(Temporal other){ * * relation. */ public boolean greaterThanOrEqual(Temporal other){ - return functions.temporal_ge(this.inner,other.getInner()); + return GeneratedFunctions.temporal_ge(this.inner,other.getInner()); } diff --git a/jmeos-core/src/main/java/utils/ConversionUtils.java b/jmeos-core/src/main/java/utils/ConversionUtils.java index 5ea4ba4d8..9e4d38443 100644 --- a/jmeos-core/src/main/java/utils/ConversionUtils.java +++ b/jmeos-core/src/main/java/utils/ConversionUtils.java @@ -20,7 +20,7 @@ import java.util.regex.Matcher; import java.util.regex.Pattern; -import functions.functions; +import functions.GeneratedFunctions; /** * Class based on the manually-defined functions from PyMeos. @@ -40,10 +40,10 @@ public class ConversionUtils { */ public static OffsetDateTime datetimeToTimestampTz(LocalDateTime dt) { error_handler handler= new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(handler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(handler); String formattedDt = dt.atZone(ZoneOffset.UTC).format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss")); - return functions.pg_timestamptz_in(formattedDt, -1); + return GeneratedFunctions.timestamptz_in(formattedDt, -1); } @@ -56,23 +56,29 @@ public static OffsetDateTime datetimeToTimestampTz(LocalDateTime dt) { public static LocalDateTime timestamptz_to_datetime(OffsetDateTime ts) { DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ssX"); // Parse the string to LocalDateTime - return LocalDateTime.parse(functions.pg_timestamptz_out(ts), formatter); + return LocalDateTime.parse(GeneratedFunctions.timestamptz_out(ts), formatter); } public static Pointer timedelta_to_interval(Duration td){ - int years = 0; - int month = 0; - int weeks = 0; - int days = (int)td.toDays(); - int hours = (int)td.toHours(); - int minutes = (int)td.toMinutes(); - double seconds = (double)td.toSeconds(); - return functions.interval_make(years,month,weeks,days,hours,minutes,seconds); + // Build a PostgreSQL interval literal and parse it with interval_in + // rather than interval_make. interval_make takes six int arguments + // followed by a trailing double (secs); jnr-ffi mis-passes that trailing + // double on this platform (the six leading ints fill all integer + // registers), so the resulting interval carries a garbage sub-day field. + // interval_in parses the textual form correctly. The parts are decomposed + // per field (toHoursPart/… give the component, not the cumulative total). + long days = td.toDaysPart(); + int hours = td.toHoursPart(); + int minutes = td.toMinutesPart(); + double seconds = td.toSecondsPart() + td.toNanosPart() / 1_000_000_000.0; + String literal = String.format(java.util.Locale.ROOT, + "%d days %d hours %d minutes %f seconds", days, hours, minutes, seconds); + return GeneratedFunctions.interval_in(literal, -1); } public static Duration interval_to_timedelta(Pointer p){ - String res= functions.pg_interval_out(p); + String res= GeneratedFunctions.interval_out(p); System.out.println(res); Pattern pattern = Pattern.compile("(\\d+)\\s+days(?:\\s+(\\d{2}):(\\d{2}):(\\d{2}))?"); Matcher matcher = pattern.matcher(res); @@ -107,25 +113,25 @@ public static Duration interval_to_timedelta(Pointer p){ public static Pointer intrange_to_intspan(Range intrange) throws SQLException { boolean lower_inc = intrange.lowerBoundType() == BoundType.CLOSED; boolean upper_inc = intrange.upperBoundType() == BoundType.CLOSED; - return functions.intspan_make(intrange.lowerEndpoint(),intrange.upperEndpoint(),lower_inc, upper_inc); + return GeneratedFunctions.intspan_make(intrange.lowerEndpoint(),intrange.upperEndpoint(),lower_inc, upper_inc); } public static Range intspan_to_intrange(Pointer span){ - BoundType lower_inc = functions.span_lower_inc(span) ? BoundType.CLOSED : BoundType.OPEN; - BoundType upper_inc = functions.span_upper_inc(span) ? BoundType.CLOSED : BoundType.OPEN; - return Range.range(functions.intspan_lower(span), lower_inc, functions.intspan_upper(span), upper_inc); + BoundType lower_inc = GeneratedFunctions.span_lower_inc(span) ? BoundType.CLOSED : BoundType.OPEN; + BoundType upper_inc = GeneratedFunctions.span_upper_inc(span) ? BoundType.CLOSED : BoundType.OPEN; + return Range.range(GeneratedFunctions.intspan_lower(span), lower_inc, GeneratedFunctions.intspan_upper(span), upper_inc); } public static Pointer floatrange_to_floatspan(Range floatrange){ boolean lower_inc = floatrange.lowerBoundType() == BoundType.CLOSED; boolean upper_inc = floatrange.upperBoundType() == BoundType.CLOSED; - return functions.floatspan_make(floatrange.lowerEndpoint(),floatrange.upperEndpoint(),lower_inc, upper_inc); + return GeneratedFunctions.floatspan_make(floatrange.lowerEndpoint(),floatrange.upperEndpoint(),lower_inc, upper_inc); } public static Range floatspan_to_floatrange(Pointer span){ - BoundType lower_inc = functions.span_lower_inc(span) ? BoundType.CLOSED : BoundType.OPEN; - BoundType upper_inc = functions.span_upper_inc(span) ? BoundType.CLOSED : BoundType.OPEN; - return Range.range(functions.floatspan_lower(span), lower_inc, functions.floatspan_upper(span), upper_inc); + BoundType lower_inc = GeneratedFunctions.span_lower_inc(span) ? BoundType.CLOSED : BoundType.OPEN; + BoundType upper_inc = GeneratedFunctions.span_upper_inc(span) ? BoundType.CLOSED : BoundType.OPEN; + return Range.range(GeneratedFunctions.floatspan_lower(span), lower_inc, GeneratedFunctions.floatspan_upper(span), upper_inc); } @@ -159,7 +165,7 @@ public static Pointer geometry_to_gserialized(Geometry geom){ if (geom.getSRID() > 0){ text = "SRID="+geom.getSRID()+";"+text; } - Pointer ptr = functions.geom_in(text,-1); + Pointer ptr = GeneratedFunctions.geom_in(text,-1); return ptr; } @@ -170,7 +176,7 @@ public static Pointer geography_to_gserialized(Geometry geom){ if (geom.getSRID() > 0){ text = "SRID="+geom.getSRID()+";"+text; } - Pointer ptr = functions.geog_in(text,-1); + Pointer ptr = GeneratedFunctions.geog_in(text,-1); return ptr; } @@ -180,10 +186,10 @@ public static Point gserialized_to_shapely_point(Pointer geom, int precision) th } public static Geometry gserialized_to_shapely_geometry(Pointer geom, int precision) throws ParseException, ParseException { - String text = functions.geo_as_text(geom,precision); + String text = GeneratedFunctions.geo_as_text(geom,precision); WKTReader wktReader = new WKTReader(); Geometry geometry = wktReader.read(text); - int srid = functions.geo_srid(geom); + int srid = GeneratedFunctions.geo_srid(geom); if (srid > 0){ geometry.setSRID(srid); } diff --git a/jmeos-core/src/main/resources/lib/libmeos.so b/jmeos-core/src/main/resources/lib/libmeos.so index 9cc9bdbd4..24ebd35a6 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/basic/TBoolTest.java b/jmeos-core/src/test/java/basic/TBoolTest.java index ef50b60ac..e37b9a953 100644 --- a/jmeos-core/src/test/java/basic/TBoolTest.java +++ b/jmeos-core/src/test/java/basic/TBoolTest.java @@ -1,5 +1,5 @@ package basic; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.*; @@ -36,8 +36,9 @@ public class TBoolTest { static error_handler_fn errorHandler = new error_handler(); static Stream TBool_copy_constructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst"), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq"), @@ -48,8 +49,9 @@ static Stream TBool_copy_constructor() throws SQLException { static Stream TBool_string_constructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("True@2019-09-01", "TBoolInst", TInterpolation.NONE, "t@2019-09-01 00:00:00+00"), Arguments.of("{True@2019-09-01, False@2019-09-02}", "TBoolSeq", TInterpolation.DISCRETE, "{t@2019-09-01 00:00:00+00, f@2019-09-02 00:00:00+00}"), @@ -60,8 +62,9 @@ static Stream TBool_string_constructor() throws SQLException { static Stream TBool_base_time_constructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzset("{2019-09-01, 2019-09-02}"), "TBoolSeq", TInterpolation.DISCRETE), Arguments.of(new tstzspan("[2019-09-01, 2019-09-02]"), "TBoolSeqSet", TInterpolation.STEPWISE), @@ -71,8 +74,9 @@ static Stream TBool_base_time_constructor() throws SQLException { static Stream TBool_string() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", "t@2019-09-01 00:00:00+00"), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq", "{t@2019-09-01 00:00:00+00, f@2019-09-02 00:00:00+00}"), @@ -82,8 +86,9 @@ static Stream TBool_string() throws SQLException { } static Stream TBool_bounding() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", new tstzspan("[2019-09-01, 2019-09-01]")), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq", new tstzspan("[2019-09-01, 2019-09-02]")), @@ -94,8 +99,9 @@ static Stream TBool_bounding() throws SQLException { static Stream TBool_interp() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", TInterpolation.NONE), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq", TInterpolation.DISCRETE), @@ -105,8 +111,9 @@ static Stream TBool_interp() throws SQLException { } static Stream TBool_start() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", true), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq", true), @@ -117,8 +124,9 @@ static Stream TBool_start() throws SQLException { static Stream TBool_end() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", true), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq", false), @@ -129,8 +137,9 @@ static Stream TBool_end() throws SQLException { static Stream TBool_time() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", new tstzspanset("{[2019-09-01, 2019-09-01]}")), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq", new tstzspanset("{[2019-09-01, 2019-09-01], [2019-09-02, 2019-09-02]}")), @@ -141,8 +150,9 @@ static Stream TBool_time() throws SQLException { static Stream TBool_numinst() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", 1), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",2), @@ -153,8 +163,9 @@ static Stream TBool_numinst() throws SQLException { static Stream TBool_startinst() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", new TBoolInst("True@2019-09-01")), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq", new TBoolInst("True@2019-09-01")), @@ -165,8 +176,9 @@ static Stream TBool_startinst() throws SQLException { static Stream TBool_endinst() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", new TBoolInst("True@2019-09-01")), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq", new TBoolInst("False@2019-09-02")), @@ -177,8 +189,9 @@ static Stream TBool_endinst() throws SQLException { static Stream TBool_mininst() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", new TBoolInst("True@2019-09-01")), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq", new TBoolInst("False@2019-09-02")), @@ -189,8 +202,9 @@ static Stream TBool_mininst() throws SQLException { static Stream TBool_maxinst() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", new TBoolInst("True@2019-09-01")), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq", new TBoolInst("True@2019-09-01")), @@ -202,8 +216,9 @@ static Stream TBool_maxinst() throws SQLException { static Stream TBool_instn() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", 0, new TBoolInst("True@2019-09-01")), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",1, new TBoolInst("False@2019-09-02")), @@ -214,8 +229,9 @@ static Stream TBool_instn() throws SQLException { static Stream TBool_startmstp() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",LocalDateTime.of(2019, 9, 1, 0, 0,0)), @@ -226,8 +242,9 @@ static Stream TBool_startmstp() throws SQLException { static Stream TBool_endtmstp() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",LocalDateTime.of(2019, 9, 2, 0, 0,0)), @@ -238,8 +255,9 @@ static Stream TBool_endtmstp() throws SQLException { static Stream TBool_hash() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", 440045287), // Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",2385901957l), @@ -250,8 +268,9 @@ static Stream TBool_hash() throws SQLException { static Stream TBool_instant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), new TBoolInst("True@2019-09-01")), Arguments.of(new TBoolSeq("{True@2019-09-01}"), new TBoolInst("True@2019-09-01")), @@ -262,8 +281,9 @@ static Stream TBool_instant() throws SQLException { static Stream TBool_tosequence() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), TInterpolation.NONE, new TBoolSeq("[True@2019-09-01]")), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), TInterpolation.DISCRETE , new TBoolSeq("{True@2019-09-01, False@2019-09-02}")), @@ -274,8 +294,9 @@ static Stream TBool_tosequence() throws SQLException { static Stream TBool_tosequenceset() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), TInterpolation.NONE, new TBoolSeqSet("{[True@2019-09-01]}")), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), TInterpolation.NONE , new TBoolSeqSet("{[True@2019-09-01], [False@2019-09-02]}")) @@ -285,8 +306,9 @@ static Stream TBool_tosequenceset() throws SQLException { } static Stream TBool_insert() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), new TBoolSeq("{True@2019-09-03}"), new TBoolSeq("{True@2019-09-01, True@2019-09-03}"), "TBoolInst"), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), new TBoolSeq("{True@2019-09-03}") , new TBoolSeq("{True@2019-09-01, False@2019-09-02, True@2019-09-03}"), "TBoolSeq"), @@ -296,8 +318,9 @@ static Stream TBool_insert() throws SQLException { static Stream TBool_update() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), new TBoolInst("False@2019-09-01"), new TBoolInst("False@2019-09-01"), "TBoolInst"), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), new TBoolInst("False@2019-09-01") , new TBoolSeq("{False@2019-09-01, False@2019-09-02}"), "TBoolSeq"), @@ -306,8 +329,9 @@ static Stream TBool_update() throws SQLException { } static Stream TBool_appendseq() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), new TBoolSeq("{True@2019-09-03}") , new TBoolSeq("{True@2019-09-01, False@2019-09-02, True@2019-09-03}"), "TBoolSeq"), Arguments.of(new TBoolSeqSet("{[True@2019-09-01, False@2019-09-02],[True@2019-09-03, True@2019-09-05]}"), new TBoolSeq("[True@2019-09-06]"), new TBoolSeqSet("{[True@2019-09-01, False@2019-09-02],[True@2019-09-03, True@2019-09-05],[True@2019-09-06]}"), "TBoolSeqSet") @@ -317,8 +341,9 @@ static Stream TBool_appendseq() throws SQLException { static Stream TBool_whentrue() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", new tstzspanset("{[2019-09-01, 2019-09-01]}")), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq" , new tstzspanset("{[2019-09-01, 2019-09-01]}")), @@ -328,8 +353,9 @@ static Stream TBool_whentrue() throws SQLException { } static Stream TBool_whenfalse() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq" , new tstzspanset("{[2019-09-02, 2019-09-02]}")), Arguments.of(new TBoolSeq("[True@2019-09-01, False@2019-09-02]"), "TBoolSeq", new tstzspanset("{[2019-09-02, 2019-09-02]}")), @@ -339,8 +365,9 @@ static Stream TBool_whenfalse() throws SQLException { static Stream TBool_alwaystrue() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", true), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",false), @@ -351,8 +378,9 @@ static Stream TBool_alwaystrue() throws SQLException { static Stream TBool_alwaysfalse() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", false), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",false), @@ -363,8 +391,9 @@ static Stream TBool_alwaysfalse() throws SQLException { static Stream TBool_evertrue() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", true), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",true), @@ -375,8 +404,9 @@ static Stream TBool_evertrue() throws SQLException { static Stream TBool_everfalse() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", false), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",true), @@ -387,8 +417,9 @@ static Stream TBool_everfalse() throws SQLException { static Stream TBool_nevertrue() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", false), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",false), @@ -399,8 +430,9 @@ static Stream TBool_nevertrue() throws SQLException { static Stream TBool_neverfalse() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBoolInst("True@2019-09-01"), "TBoolInst", true), Arguments.of(new TBoolSeq("{True@2019-09-01, False@2019-09-02}"), "TBoolSeq",false), @@ -422,8 +454,9 @@ static Stream TBool_neverfalse() throws SQLException { @ParameterizedTest(name = "value={0}, type={1}, interp={2}, repr={3}") @MethodSource("TBool_string_constructor") public void testFromStringConstructor(String value, String type, TInterpolation interp, String repr) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { TBoolInst tb = new TBoolInst(value); System.out.println(tb.to_string()); @@ -449,8 +482,9 @@ public void testFromStringConstructor(String value, String type, TInterpolation @ParameterizedTest(name = "base={0}, type={1}, interp={2}") @MethodSource("TBool_base_time_constructor") public void testFromBaseTimeConstructor(Time base, String type, TInterpolation interp) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { TBoolInst tb = (TBoolInst) TBool.from_base_time(true, base); System.out.println(tb.to_string()); @@ -472,8 +506,9 @@ public void testFromBaseTimeConstructor(Time base, String type, TInterpolation i @ParameterizedTest(name = "base={0}, type={1}") @MethodSource("TBool_copy_constructor") public void testCopyConstructor(Temporal base, String type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { TBoolInst tb = (TBoolInst) base.copy(); assertEquals(tb.to_string(),(((TBoolInst) base).to_string())); @@ -491,8 +526,9 @@ public void testCopyConstructor(Temporal base, String type) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_string") public void testString(Temporal base, String type, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { assertEquals(expected,(((TBoolInst) base).to_string())); } else if (type == "TBoolSeq") { @@ -506,8 +542,9 @@ public void testString(Temporal base, String type, String expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_bounding") public void testBoundingBox(Temporal base, String type, tstzspan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.bounding_box().toString(),expected.toString()); } @@ -516,8 +553,9 @@ public void testBoundingBox(Temporal base, String type, tstzspan expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_interp") public void testInterpolation(Temporal base, String type, TInterpolation expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.interpolation(),expected); } @@ -525,8 +563,9 @@ public void testInterpolation(Temporal base, String type, TInterpolation expecte @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_start") public void testStartValues(Temporal base, String type, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TBool) base).start_value() ,expected); } @@ -534,8 +573,9 @@ public void testStartValues(Temporal base, String type, boolean expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_end") public void testEndValues(Temporal base, String type, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TBool) base).end_value() ,expected); } @@ -543,8 +583,9 @@ public void testEndValues(Temporal base, String type, boolean expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_time") public void testTime(Temporal base, String type, tstzspanset expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.time().toString() ,expected.toString()); } @@ -552,8 +593,9 @@ public void testTime(Temporal base, String type, tstzspanset expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_bounding") public void testtstzspan(Temporal base, String type, tstzspan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.period().toString() ,expected.toString()); } @@ -561,8 +603,9 @@ public void testtstzspan(Temporal base, String type, tstzspan expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_bounding") public void testSpan(Temporal base, String type, tstzspan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.timespan().toString(),expected.toString()); } @@ -570,8 +613,9 @@ public void testSpan(Temporal base, String type, tstzspan expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_numinst") public void testNumInst(Temporal base, String type, int expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.num_instants(),expected); } @@ -579,8 +623,9 @@ public void testNumInst(Temporal base, String type, int expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_startinst") public void testStartInst(Temporal base, String type, TBoolInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TBoolInst)base.start_instant()).to_string(),expected.to_string()); } @@ -588,8 +633,9 @@ public void testStartInst(Temporal base, String type, TBoolInst expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_endinst") public void testEndInst(Temporal base, String type, TBoolInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TBoolInst)base.end_instant()).to_string(),expected.to_string()); } @@ -597,8 +643,9 @@ public void testEndInst(Temporal base, String type, TBoolInst expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_mininst") public void testMinInst(Temporal base, String type, TBoolInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TBoolInst)base.min_instant()).to_string(),expected.to_string()); } @@ -606,16 +653,18 @@ public void testMinInst(Temporal base, String type, TBoolInst expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_maxinst") public void testMaxInst(Temporal base, String type, TBoolInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TBoolInst)base.max_instant()).to_string(),expected.to_string()); } @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_instn") public void testInstN(Temporal base, String type, int n, TBoolInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TBoolInst)base.instant_n(n)).to_string(),expected.to_string()); } @@ -623,8 +672,9 @@ public void testInstN(Temporal base, String type, int n, TBoolInst expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_numinst") public void testNumtmstmp(Temporal base, String type, int expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.num_timestamps(),expected); } @@ -632,8 +682,9 @@ public void testNumtmstmp(Temporal base, String type, int expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_startmstp") public void testStarttmstmp(Temporal base, String type, LocalDateTime expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.start_timestamp(),expected); } @@ -641,8 +692,9 @@ public void testStarttmstmp(Temporal base, String type, LocalDateTime expected) @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_endtmstp") public void testEndtmstmp(Temporal base, String type, LocalDateTime expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.end_timestamp(),expected); } @@ -650,8 +702,9 @@ public void testEndtmstmp(Temporal base, String type, LocalDateTime expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_hash") public void testHash(Temporal base, String type, long expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.hash(),expected); } @@ -659,8 +712,9 @@ public void testHash(Temporal base, String type, long expected) { @ParameterizedTest(name = "base={0}, type={1}") @MethodSource("TBool_instant") public void testInstant(Temporal base, TBoolInst type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); Temporal tmp = base.to_instant(); assertTrue(tmp instanceof TBoolInst); assertEquals(((TBoolInst) tmp).to_string(), type.to_string()); @@ -670,8 +724,9 @@ public void testInstant(Temporal base, TBoolInst type) { @ParameterizedTest(name = "base={0}, type={1}, tseq={2}") @MethodSource("TBool_tosequence") public void testSequence(Temporal base, TInterpolation type, TBoolSeq tseq) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); Temporal tmp = base.to_sequence(type); assertTrue(tmp instanceof TBoolSeq); assertEquals(((TBoolSeq) tmp).to_string(), tseq.to_string()); @@ -681,8 +736,9 @@ public void testSequence(Temporal base, TInterpolation type, TBoolSeq tseq) { @ParameterizedTest(name = "base={0}, type={1}, tseqset={2}") @MethodSource("TBool_tosequenceset") public void testSequenceSet(Temporal base, TInterpolation type, TBoolSeqSet tseqset) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); Temporal tmp = base.to_sequenceset(type); assertTrue(tmp instanceof TBoolSeqSet); assertEquals(((TBoolSeqSet) tmp).to_string(), tseqset.to_string()); @@ -692,8 +748,9 @@ public void testSequenceSet(Temporal base, TInterpolation type, TBoolSeqSet tseq @ParameterizedTest(name = "base={0}, base2={1}, type={2}") @MethodSource("TBool_insert") public void testInsert(Temporal base, Temporal base2, Temporal tseq, String type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { assertEquals(((TBoolInst)base.insert(base2)).to_string(), ((TBoolSeq) tseq).to_string()); } else if (type == "TBoolSeq") { @@ -707,8 +764,9 @@ public void testInsert(Temporal base, Temporal base2, Temporal tseq, String type @ParameterizedTest(name = "base={0}, base2={1}, type={2}") @MethodSource("TBool_update") public void testUpdate(Temporal base, Temporal base2, Temporal tseq, String type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { assertEquals(((TBoolInst)base.update(base2)).to_string(), ((TBoolInst) tseq).to_string()); } else if (type == "TBoolSeq") { @@ -722,8 +780,9 @@ public void testUpdate(Temporal base, Temporal base2, Temporal tseq, String type @ParameterizedTest(name = "base={0}, base2={1}, tseq={2}, type={3}") @MethodSource("TBool_appendseq") public void testAppendSeq(Temporal base, TSequence base2, Temporal tseq, String type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolSeq") { assertEquals(((TBoolSeq)base.append_sequence(base2)).to_string(), ((TBoolSeq) tseq).to_string()); } else if (type == "TBoolSeqSet") { @@ -736,8 +795,9 @@ public void testAppendSeq(Temporal base, TSequence base2, Temporal tseq, String @ParameterizedTest(name = "base={0}, type={1}, pset={2}") @MethodSource("TBool_whentrue") public void testWhentrue(Temporal base, String type, tstzspanset pset) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { assertEquals( ((TBoolInst) base).when_true().toString(), pset.toString()); } else if (type == "TBoolSeq") { @@ -751,8 +811,9 @@ public void testWhentrue(Temporal base, String type, tstzspanset pset) { @ParameterizedTest(name = "base={0}, type={1}, pset={2}") @MethodSource("TBool_whenfalse") public void testWhenfalse(Temporal base, String type, tstzspanset pset) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolSeq") { System.out.println(((TBoolSeq) base).when_false().toString()); System.out.println(pset.toString()); @@ -768,8 +829,9 @@ public void testWhenfalse(Temporal base, String type, tstzspanset pset) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_alwaystrue") public void testAlwaystrue(Temporal base, String type, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { assertEquals( ((TBoolInst) base).always_eq(true), expected); } else if (type == "TBoolSeq") { @@ -783,8 +845,9 @@ public void testAlwaystrue(Temporal base, String type, boolean expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_alwaysfalse") public void testAlwaysfalse(Temporal base, String type, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { assertEquals( ((TBoolInst) base).always_eq(false), expected); } else if (type == "TBoolSeq") { @@ -799,8 +862,9 @@ public void testAlwaysfalse(Temporal base, String type, boolean expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_evertrue") public void testEvertrue(Temporal base, String type, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { assertEquals( ((TBoolInst) base).ever_eq(true), expected); } else if (type == "TBoolSeq") { @@ -815,8 +879,9 @@ public void testEvertrue(Temporal base, String type, boolean expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_everfalse") public void testEverfalse(Temporal base, String type, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { assertEquals( ((TBoolInst) base).ever_eq(false), expected); } else if (type == "TBoolSeq") { @@ -830,8 +895,9 @@ public void testEverfalse(Temporal base, String type, boolean expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_nevertrue") public void testNevertrue(Temporal base, String type, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { assertEquals( ((TBoolInst) base).never_eq(true), expected); } else if (type == "TBoolSeq") { @@ -846,8 +912,9 @@ public void testNevertrue(Temporal base, String type, boolean expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TBool_neverfalse") public void testNeverfalse(Temporal base, String type, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TBoolInst") { assertEquals( ((TBoolInst) base).never_eq(false), expected); } else if (type == "TBoolSeq") { diff --git a/jmeos-core/src/test/java/basic/TFloatTest.java b/jmeos-core/src/test/java/basic/TFloatTest.java index 29cde834f..fa9036f23 100644 --- a/jmeos-core/src/test/java/basic/TFloatTest.java +++ b/jmeos-core/src/test/java/basic/TFloatTest.java @@ -1,6 +1,6 @@ package basic; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -40,8 +40,9 @@ public class TFloatTest { static error_handler_fn errorHandler = new error_handler(); private static Stream frombasetemporal() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TFloatInst", TInterpolation.NONE), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TFloatSeq", TInterpolation.LINEAR), @@ -51,8 +52,9 @@ private static Stream frombasetemporal() { private static Stream frombasetime() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzset("{2019-09-01, 2019-09-02}"), "TFloatSeq", TInterpolation.DISCRETE), Arguments.of(new tstzspan("[2019-09-01, 2019-09-02]"), "TFloatSeqSet", TInterpolation.LINEAR), @@ -72,8 +74,9 @@ private static Stream fromstring() { private static Stream fromcopy() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst"), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq"), @@ -83,8 +86,9 @@ private static Stream fromcopy() { } private static Stream totint() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", "1@2019-09-01 00:00:00+00") //Arguments.of(new TFloatSeq("{1.5@2019-09-01, 2.5@2019-09-02}"), "TFloatSeq", "[1@2019-09-01 00:00:00+00, 2@2019-09-02 00:00:00+00]"), @@ -95,8 +99,9 @@ private static Stream totint() { private static Stream bounding() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", new TBox("TBOXFLOAT XT([1.5,1.5],[2019-09-01, 2019-09-01])")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", new TBox("TBOXFLOAT XT([1.5,2.5],[2019-09-01, 2019-09-02])")), @@ -107,8 +112,9 @@ private static Stream bounding() throws SQLException { private static Stream interp() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", TInterpolation.NONE), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", TInterpolation.LINEAR), @@ -118,8 +124,9 @@ private static Stream interp() throws SQLException { private static Stream value_span() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", new FloatSpan(1.5f, 1.5f, true, true)), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", new FloatSpan(1.5f, 2.5f, true, true)), @@ -129,8 +136,9 @@ private static Stream value_span() throws SQLException { private static Stream value_spans() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new IntSpanSet("{[1,1]}")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", new IntSpanSet("{[1,2]}")), @@ -140,8 +148,9 @@ private static Stream value_spans() throws SQLException { private static Stream start_value() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", 1.5f), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", 1.5f), @@ -151,8 +160,9 @@ private static Stream start_value() throws SQLException { private static Stream end_value() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", 1.5f), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", 2.5f), @@ -162,8 +172,9 @@ private static Stream end_value() throws SQLException { private static Stream min_value() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", 1.5f), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", 1.5f), @@ -173,8 +184,9 @@ private static Stream min_value() throws SQLException { private static Stream max_value() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TIntInst", 1.5f), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TIntSeq", 2.5f), @@ -184,8 +196,9 @@ private static Stream max_value() throws SQLException { private static Stream time() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", new tstzspanset("{[2019-09-01, 2019-09-01]}")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", new tstzspanset("{[2019-09-01, 2019-09-02]}")), @@ -195,8 +208,9 @@ private static Stream time() throws SQLException { private static Stream period() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", new tstzspan("[2019-09-01, 2019-09-01]")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", new tstzspan("[2019-09-01, 2019-09-02]")), @@ -205,8 +219,9 @@ private static Stream period() throws SQLException { } private static Stream num_instant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", 1), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq",2), @@ -217,8 +232,9 @@ private static Stream num_instant() throws SQLException { private static Stream start_instant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TIntInst", new TFloatInst("1.5@2019-09-01")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TIntSeq",new TFloatInst("1.5@2019-09-01")), @@ -229,8 +245,9 @@ private static Stream start_instant() throws SQLException { private static Stream end_instant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", new TFloatInst("1.5@2019-09-01")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq",new TFloatInst("2.5@2019-09-02")), @@ -240,8 +257,9 @@ private static Stream end_instant() throws SQLException { private static Stream max_instant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", new TFloatInst("1.5@2019-09-01")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq",new TFloatInst("2.5@2019-09-02")), @@ -251,8 +269,9 @@ private static Stream max_instant() throws SQLException { private static Stream instant_n() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), 0, new TFloatInst("1.5@2019-09-01")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), 1,new TFloatInst("2.5@2019-09-02")), @@ -263,8 +282,9 @@ private static Stream instant_n() throws SQLException { private static Stream num_timestamps() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), 1, new TIntInst("1@2019-09-01")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), 2,new TIntInst("2@2019-09-02")), @@ -275,8 +295,9 @@ private static Stream num_timestamps() throws SQLException { private static Stream start_timestamps() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), 1, LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), 2, LocalDateTime.of(2019, 9, 1, 0, 0,0)), @@ -286,8 +307,9 @@ private static Stream start_timestamps() throws SQLException { private static Stream end_timestamps() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), 1, LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), 2, LocalDateTime.of(2019, 9, 2, 0, 0,0)), @@ -297,8 +319,9 @@ private static Stream end_timestamps() throws SQLException { private static Stream hash() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), 1307112078, LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), 1935376725, LocalDateTime.of(2019, 9, 2, 0, 0,0)) @@ -308,8 +331,9 @@ private static Stream hash() throws SQLException { private static Stream toinstant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", new TFloatInst("1.5@2019-09-01")), Arguments.of(new TFloatSeq("[1.5@2019-09-01]"), "TFloatSeq", new TFloatInst("1.5@2019-09-01")), @@ -319,8 +343,9 @@ private static Stream toinstant() throws SQLException { private static Stream tosequence() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", TInterpolation.LINEAR, new TFloatSeq("[1.5@2019-09-01]")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", TInterpolation.LINEAR, new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]")), @@ -330,8 +355,9 @@ private static Stream tosequence() throws SQLException { private static Stream tosequenceset() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", TInterpolation.LINEAR, new TFloatSeqSet("{[1.5@2019-09-01]}")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", TInterpolation.LINEAR, new TFloatSeqSet("{[1.5@2019-09-01, 2.5@2019-09-02]}")), @@ -341,8 +367,9 @@ private static Stream tosequenceset() throws SQLException { private static Stream insert() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( //Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", new TFloatSeq("{1.5@2019-09-03}"), new TFloatSeq("{1.5@2019-09-01, 1.5@2019-09-03}")) Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", new TFloatSeq("[1.5@2019-09-03]"), new TFloatSeqSet("[1.5@2019-09-01, 2.5@2019-09-02, 1.5@2019-09-03]")), @@ -352,8 +379,9 @@ private static Stream insert() throws SQLException { private static Stream update() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", new TFloatInst("2.5@2019-09-01"), new TFloatInst("2.5@2019-09-01")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", new TFloatInst("2.5@2019-09-01"), new TFloatSeqSet("{[2.5@2019-09-01], (1.5@2019-09-01, 2.5@2019-09-02]}")), @@ -363,8 +391,9 @@ private static Stream update() throws SQLException { private static Stream append_sequence() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", new TFloatSeq("[1.5@2019-09-03]"), new TFloatSeqSet("{[1.5@2019-09-01, 2.5@2019-09-02], [1.5@2019-09-03]}")), Arguments.of(new TFloatSeqSet("{[1.5@2019-09-01, 2.5@2019-09-02],[1.5@2019-09-03, 1.5@2019-09-05]}"), "TFloatSeqSet", new TFloatSeq("[1.5@2019-09-06]"), new TFloatSeqSet("{[1.5@2019-09-01, 2.5@2019-09-02],[1.5@2019-09-03, 1.5@2019-09-05],[1.5@2019-09-06]}")) @@ -373,8 +402,9 @@ private static Stream append_sequence() throws SQLException { private static Stream abs() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", new TFloatInst("2.5@2019-09-01"), new TFloatInst("2.5@2019-09-01")), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", new TFloatInst("2.5@2019-09-01"), new TFloatSeqSet("{[2.5@2019-09-01], (1.5@2019-09-01, 2.5@2019-09-02]}")), @@ -384,8 +414,9 @@ private static Stream abs() throws SQLException { /* private static Stream delta_value() throws SQLException { - functions.meos_initialize_timezone("UTC"); -functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); +GeneratedFunctions.meos_initialize_error_handler(errorHandler); +GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatSeq("[1.5@2019-09-01, 2.5@2019-09-02]"), "TFloatSeq", new TFloatSeq("Interp=Step;[1@2019-09-01, 1@2019-09-02)")), Arguments.of(new TFloatSeqSet("{[1.5@2019-09-01, 2.5@2019-09-02],[1.5@2019-09-03, 1.5@2019-09-05]}"), "TFloatSeqSet", new TFloatSeqSet("Interp=Step;{[1@2019-09-01, 1@2019-09-02),[0@2019-09-03, 0@2019-09-05)}")) @@ -397,8 +428,9 @@ private static Stream delta_value() throws SQLException { private static Stream always_equal() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", 1.5f, true ), Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", 2.5f, false ), @@ -412,8 +444,9 @@ private static Stream always_equal() throws SQLException { private static Stream ever_equal() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", 1.5f, true ), Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", 2.5f, false ), @@ -427,8 +460,9 @@ private static Stream ever_equal() throws SQLException { private static Stream ever_greater() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", 1.5f, false ), Arguments.of(new TFloatInst("1.5@2019-09-01"), "TFloatInst", 2.5f, true ), @@ -461,8 +495,9 @@ private static Stream ever_greater() throws SQLException { @ParameterizedTest(name="source={0}, type={1}, interpolation={2}") @MethodSource("frombasetime") void testFromBaseTimeConstructor(Time source, String type, TInterpolation interpolation) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TFloatSeq") { TFloatSeq ti = (TFloatSeq) TFloat.from_base_time(1.5f, source, interpolation); assertTrue(ti instanceof TFloatSeq); @@ -481,8 +516,9 @@ void testFromBaseTimeConstructor(Time source, String type, TInterpolation interp @ParameterizedTest(name ="source={0}, type={1}, interpolation={2}") @MethodSource("frombasetemporal") void testFromBaseTemporalConstructor(Temporal source, String type, TInterpolation interpolation) { - //functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + //GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TFloatInst"){ TFloatInst ti = new TFloatInst(); TFloatInst new_ti = (TFloatInst) ti.from_base_temporal(1.5f,source,interpolation); @@ -509,8 +545,9 @@ else if (type == "TFloatSeq") { @ParameterizedTest(name ="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromstring") void testStringConstructor(String source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TFloatInst"){ TFloatInst tinst = new TFloatInst(source); assertTrue(tinst instanceof TFloatInst); @@ -537,8 +574,9 @@ else if (type == "TFloatSeq") { @ParameterizedTest(name ="source={0}, type={1}") @MethodSource("fromcopy") void testCopyConstructor(Temporal source, String type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TFloatInst"){ TFloatInst tb = (TFloatInst)source.copy(); assertEquals(tb.to_string(15),(((TFloatInst) source).to_string(15))); @@ -558,8 +596,9 @@ else if (type == "TFloatSeq") { @ParameterizedTest(name ="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromstring") void testString(String source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TFloatInst"){ TFloatInst tinst = new TFloatInst(source); assertEquals(tinst.to_string(15),expected); @@ -578,8 +617,9 @@ else if (type == "TFloatSeq") { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("totint") void testToTInt(TFloat source, String type, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TFloatInst"){ TInt tinst = ((TFloatInst) source).to_tint(); assertEquals(tinst.to_string(),expected); @@ -601,8 +641,9 @@ else if (type == "TFloatSeq") { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("bounding") void testBoundingBox(Temporal source, String type, Box expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.bounding_box().toString(),expected.to_period().toString()); } @@ -612,8 +653,9 @@ void testBoundingBox(Temporal source, String type, Box expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("interp") void testInterpolation(Temporal source, String type, TInterpolation expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.interpolation(),expected); } @@ -621,8 +663,9 @@ void testInterpolation(Temporal source, String type, TInterpolation expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("value_span") void testValueSpan(TFloat source, String type, FloatSpan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.value_span().toString(15),expected.toString(15)); } @@ -630,8 +673,9 @@ void testValueSpan(TFloat source, String type, FloatSpan expected) { @ParameterizedTest(name ="Test values span ") @MethodSource("value_spans") void testValuesSpan(TInt source, String type, IntSpanSet expected) { - functions.meos_initialize_timezone("UTC"); -functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); +GeneratedFunctions.meos_initialize_error_handler(errorHandler); +GeneratedFunctions.meos_initialize_collation(); assertEquals(source.value_spans().toString(),expected.toString()); } @@ -641,8 +685,9 @@ void testValuesSpan(TInt source, String type, IntSpanSet expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("start_value") void testStart_value(TFloat source, String type, float expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.start_value(),expected); } @@ -650,8 +695,9 @@ void testStart_value(TFloat source, String type, float expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("end_value") void testEnd_value(TFloat source, String type, float expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.end_value(),expected); } @@ -659,8 +705,9 @@ void testEnd_value(TFloat source, String type, float expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("min_value") void testMin_value(TFloat source, String type, float expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.min_value(),expected); } @@ -668,8 +715,9 @@ void testMin_value(TFloat source, String type, float expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("max_value") void testMax_value(TFloat source, String type, float expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.max_value(),expected); } @@ -677,8 +725,9 @@ void testMax_value(TFloat source, String type, float expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("time") void testTime(Temporal source, String type, tstzspanset expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.time().toString(),expected.toString()); } @@ -687,8 +736,9 @@ void testTime(Temporal source, String type, tstzspanset expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("period") void testtstzspan(Temporal source, String type, tstzspan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.period().toString(),expected.toString()); } @@ -696,8 +746,9 @@ void testtstzspan(Temporal source, String type, tstzspan expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("period") void testTimespan(Temporal source, String type, tstzspan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.timespan().toString(),expected.toString()); } @@ -705,8 +756,9 @@ void testTimespan(Temporal source, String type, tstzspan expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("num_instant") void testNumInstant(Temporal source, String type, int expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.num_instants(),expected); } @@ -714,8 +766,9 @@ void testNumInstant(Temporal source, String type, int expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("start_instant") void testStartInstant(Temporal source, String type, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TFloatInst)source.start_instant()).to_string(15),((TFloatInst)expected.start_instant()).to_string(15)); } @@ -723,8 +776,9 @@ void testStartInstant(Temporal source, String type, Temporal expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("end_instant") void testEndInstant(Temporal source, String type, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TFloatInst)source.end_instant()).to_string(15),((TFloatInst)expected.end_instant()).to_string(15)); } @@ -733,8 +787,9 @@ void testEndInstant(Temporal source, String type, Temporal expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("start_instant") void testMinInstant(Temporal source, String type, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TFloatInst)source.min_instant()).to_string(15),((TFloatInst)expected.min_instant()).to_string(15)); } @@ -742,8 +797,9 @@ void testMinInstant(Temporal source, String type, Temporal expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("max_instant") void testMaxInstant(Temporal source, String type, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TFloatInst)source.max_instant()).to_string(15),((TFloatInst)expected.max_instant()).to_string(15)); } @@ -752,8 +808,9 @@ void testMaxInstant(Temporal source, String type, Temporal expected) { @ParameterizedTest(name ="source={0}, n={1}, expected={2}") @MethodSource("instant_n") void testInstant_n(Temporal source, int n, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TFloatInst)source.instant_n(n)).to_string(15),((TFloatInst)expected).to_string(15)); } @@ -761,8 +818,9 @@ void testInstant_n(Temporal source, int n, Temporal expected) { @ParameterizedTest(name ="source={0}, n={1}, expected={2}") @MethodSource("num_timestamps") void testNumTimestamps(Temporal source, int n, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.num_timestamps(),n); } @@ -770,8 +828,9 @@ void testNumTimestamps(Temporal source, int n, Temporal expected) { @ParameterizedTest(name ="source={0}, n={1}, expected={2}") @MethodSource("start_timestamps") void testStartTimestamps(Temporal source, int n, LocalDateTime expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.start_timestamp(),expected); } @@ -779,8 +838,9 @@ void testStartTimestamps(Temporal source, int n, LocalDateTime expected) { @ParameterizedTest(name ="source={0}, n={1}, expected={2}") @MethodSource("end_timestamps") void testEndTimestamps(Temporal source, int n, LocalDateTime expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.end_timestamp(),expected); } @@ -788,8 +848,9 @@ void testEndTimestamps(Temporal source, int n, LocalDateTime expected) { @ParameterizedTest(name ="source={0}, n={1}, expected={2}") @MethodSource("hash") void testHash(Temporal source, long n, LocalDateTime expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.hash(),n); } @@ -797,8 +858,9 @@ void testHash(Temporal source, long n, LocalDateTime expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("toinstant") void testToinstant(Temporal source, String type, TFloatInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TFloatInst tmp = (TFloatInst) source.to_instant(); assertTrue(tmp instanceof TFloatInst); assertEquals(tmp.to_string(15),expected.to_string(15)); @@ -810,8 +872,9 @@ void testToinstant(Temporal source, String type, TFloatInst expected) { @ParameterizedTest(name ="source={0}, type={1}, interp={2}, expected={3}") @MethodSource("tosequence") void testTosequence(Temporal source, String type, TInterpolation interp, TFloatSeq expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TFloatSeq tmp = (TFloatSeq) source.to_sequence(interp); assertTrue(tmp instanceof TFloatSeq); assertEquals(tmp.to_string(15),expected.to_string(15)); @@ -822,8 +885,9 @@ void testTosequence(Temporal source, String type, TInterpolation interp, TFloatS @ParameterizedTest(name ="source={0}, type={1}, interp={2}, expected={3}") @MethodSource("tosequenceset") void testTosequenceset(Temporal source, String type, TInterpolation interp, TFloatSeqSet expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TFloatSeqSet tmp = (TFloatSeqSet) source.to_sequenceset(interp); assertTrue(tmp instanceof TFloatSeqSet); assertEquals(interp, tmp.interpolation()); @@ -835,8 +899,9 @@ void testTosequenceset(Temporal source, String type, TInterpolation interp, TFlo @ParameterizedTest(name ="source={0}, type={1}, tseq={2}, expected={3}") @MethodSource("insert") void testInsert(Temporal source, String type, TFloatSeq tseq, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TFloatInst"){ TFloatInst tmp = (TFloatInst) source.insert(tseq); assertEquals(tmp.to_string(15), ((TFloatSeq)expected).to_string(15)); @@ -855,8 +920,9 @@ void testInsert(Temporal source, String type, TFloatSeq tseq, Temporal expected) @ParameterizedTest(name ="source={0}, type={1}, tseq={2}, expected={3}") @MethodSource("update") void testUpdate(Temporal source, String type, TFloatInst tseq, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TFloatInst"){ TFloatInst tmp = (TFloatInst) source.update(tseq); assertEquals(tmp.to_string(15), ((TFloatInst)expected).to_string(15)); @@ -873,8 +939,9 @@ void testUpdate(Temporal source, String type, TFloatInst tseq, Temporal expected @ParameterizedTest(name ="source={0}, type={1}, tseq={2}, expected={3}") @MethodSource("append_sequence") void testAppendSequence(Temporal source, String type, TFloatSeq tseq, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TFloatSeq") { TFloatSeq tmp = (TFloatSeq) source.append_sequence(tseq); assertEquals(tmp.to_string(15), ((TFloatSeqSet)expected).to_string(15)); @@ -891,8 +958,9 @@ void testAppendSequence(Temporal source, String type, TFloatSeq tseq, Temporal e @ParameterizedTest(name ="source={0}, type={1}, tseq={2}, expected={3}") @MethodSource("abs") void testAbs(Temporal source, String type, TFloatInst tseq, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TFloatInst"){ TNumber tmp = ((TNumber) source).abs(); assertEquals(((TFloatInst)tmp).to_string(15), ((TFloatInst)source).to_string(15)); @@ -909,8 +977,9 @@ void testAbs(Temporal source, String type, TFloatInst tseq, Temporal expected) { @ParameterizedTest(name ="Test delta value method") @MethodSource("delta_value") void testDeltaValue(Temporal source, String type, Temporal expected) { - functions.meos_initialize_timezone("UTC"); -functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); +GeneratedFunctions.meos_initialize_error_handler(errorHandler); +GeneratedFunctions.meos_initialize_collation(); if(type == "TFloatInst"){ TNumber tmp = ((TNumber) source).delta_value(); assertEquals(((TFloatInst)tmp).tostring(15), ((TFloatInst)expected).tostring(15)); @@ -930,8 +999,9 @@ void testDeltaValue(Temporal source, String type, Temporal expected) { @ParameterizedTest(name ="source={0}, type={1}, arg={2}, expected={3}") @MethodSource("always_equal") void testAlwaysEqual(Temporal source, String type, float arg, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TFloat)source).always_equal(arg),expected); assertEquals(((TFloat)source).never_not_equal(arg),expected); assertEquals(((TFloat)source).ever_not_equal(arg),! expected); @@ -943,8 +1013,9 @@ void testAlwaysEqual(Temporal source, String type, float arg, boolean expected) @ParameterizedTest(name ="source={0}, type={1}, arg={2}, expected={3}") @MethodSource("ever_equal") void testEverEqual(Temporal source, String type, float arg, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TFloat)source).ever_equal(arg),expected); assertEquals(((TFloat)source).always_not_equal(arg),!expected); assertEquals(((TFloat)source).never_equal(arg),! expected); @@ -954,8 +1025,9 @@ void testEverEqual(Temporal source, String type, float arg, boolean expected) { @ParameterizedTest(name ="source={0}, type={1}, arg={2}, expected={3}") @MethodSource("ever_greater") void testEverGreater(Temporal source, String type, float arg, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TFloat)source).always_less(arg),expected); assertEquals(((TFloat)source).never_greater_or_equal(arg),expected); assertEquals(((TFloat)source).ever_greater_or_equal(arg),! expected); diff --git a/jmeos-core/src/test/java/basic/TGeogPointTest.java b/jmeos-core/src/test/java/basic/TGeogPointTest.java index cddf719e5..3cfa1ff91 100644 --- a/jmeos-core/src/test/java/basic/TGeogPointTest.java +++ b/jmeos-core/src/test/java/basic/TGeogPointTest.java @@ -1,6 +1,6 @@ package basic; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; @@ -55,8 +55,9 @@ public class TGeogPointTest { static error_handler_fn errorHandler = new error_handler(); private static Stream fromtemporal() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1.5 1.5)@2019-09-01"), "TGeogPointInst",TInterpolation.NONE, "POINT(1 1)@2019-09-01 00:00:00+00"), Arguments.of(new TGeogPointSeq("{Point(1.5 1.5)@2019-09-01, Point(2.5 2.5)@2019-09-02}"), "TGeogPointSeq",TInterpolation.DISCRETE, "{POINT(1 1)@2019-09-01 00:00:00+00, POINT(2 2)@2019-09-02 00:00:00+00}"), @@ -68,8 +69,9 @@ private static Stream fromtemporal() { static Stream from_time() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzset("{2019-09-01, 2019-09-02}"), "TGeogPointSeq", TInterpolation.DISCRETE), Arguments.of(new tstzspan("[2019-09-01, 2019-09-02]"), "TGeogPointSeqSet", TInterpolation.STEPWISE), @@ -80,8 +82,9 @@ static Stream from_time() throws SQLException { private static Stream fromstring() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), "TGeogPointInst",TInterpolation.NONE, "POINT(1 1)@2019-09-01 00:00:00+00"), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeogPointSeq",TInterpolation.DISCRETE, "{POINT(1 1)@2019-09-01 00:00:00+00, POINT(2 2)@2019-09-02 00:00:00+00}"), @@ -92,8 +95,9 @@ private static Stream fromstring() { private static Stream bounding() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), "TGeogPointInst", new STBox("GEODSTBOX XT(((1, 1),(1, 1)),[2019-09-01, 2019-09-01])") ), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeogPointSeq", new STBox("GEODSTBOX XT(((1, 1),(2, 2)),[2019-09-01, 2019-09-02])") ), @@ -104,8 +108,9 @@ private static Stream bounding() { private static Stream fromstart() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), "TGeogPointInst", "POINT (1 1)" ), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeogPointSeq", "POINT (1 1)" ), @@ -116,8 +121,9 @@ private static Stream fromstart() { private static Stream endstart() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), "TGeogPointInst", "POINT (1 1)" ), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeogPointSeq", "POINT (2 2)" ), @@ -128,8 +134,9 @@ private static Stream endstart() { private static Stream test_time() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), "TGeogPointInst", new tstzspanset("{[2019-09-01, 2019-09-01]}") ), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeogPointSeq", new tstzspanset("{[2019-09-01, 2019-09-01], [2019-09-02, 2019-09-02]}") ), @@ -140,8 +147,9 @@ private static Stream test_time() { private static Stream period() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), "TGeogPointInst", new tstzspan("[2019-09-01, 2019-09-01]") ), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeogPointSeq", new tstzspan("[2019-09-01, 2019-09-02]") ), @@ -151,8 +159,9 @@ private static Stream period() { } private static Stream num_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), "TGeogPointInst", 1 ), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeogPointSeq", 2 ), @@ -163,8 +172,9 @@ private static Stream num_instant() { private static Stream start_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("Point(1 1)@2019-09-01", "TGeogPointInst", new TGeogPointInst("Point(1 1)@2019-09-01") ), Arguments.of("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}", "TGeogPointSeq", new TGeogPointInst("Point(1 1)@2019-09-01") ), @@ -177,8 +187,9 @@ private static Stream start_instant() { private static Stream end_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("Point(1 1)@2019-09-01", "TGeogPointInst", new TGeogPointInst("Point(1 1)@2019-09-01") ), Arguments.of("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}", "TGeogPointSeq", new TGeogPointInst("Point(2 2)@2019-09-02") ), @@ -189,8 +200,9 @@ private static Stream end_instant() { private static Stream asmfjson() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); String jsonString1 = "{\n" + " \"type\": \"MovingGeomPoint\",\n" + " \"bbox\": [\n" + @@ -369,8 +381,9 @@ private static Stream asmfjson() { private static Stream min_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), "TGeogPointInst", new TGeogPointInst("Point(1 1)@2019-09-01") ), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeogPointSeq", new TGeogPointInst("Point(1 1)@2019-09-01") ), @@ -381,8 +394,9 @@ private static Stream min_instant() { private static Stream max_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), "TGeogPointInst", new TGeogPointInst("Point(1 1)@2019-09-01") ), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeogPointSeq", new TGeogPointInst("Point(2 2)@2019-09-02") ), @@ -393,8 +407,9 @@ private static Stream max_instant() { private static Stream instantn() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), 0, new TGeogPointInst("Point(1 1)@2019-09-01") ), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), 1, new TGeogPointInst("Point(2 2)@2019-09-02") ), @@ -405,8 +420,9 @@ private static Stream instantn() { private static Stream num_timestamps() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), 1), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), 2), @@ -418,8 +434,9 @@ private static Stream num_timestamps() { private static Stream start_timestamps() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), LocalDateTime.of(2019, 9, 1, 0, 0,0)), @@ -430,8 +447,9 @@ private static Stream start_timestamps() { private static Stream end_timestamps() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), LocalDateTime.of(2019, 9, 2, 0, 0,0)), @@ -443,8 +461,9 @@ private static Stream end_timestamps() { private static Stream hash() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( // Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), 382694564), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), 1545137628), @@ -455,8 +474,9 @@ private static Stream hash() { private static Stream lower_inc() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), true), Arguments.of(new TGeogPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"), true) @@ -466,8 +486,9 @@ private static Stream lower_inc() { private static Stream length() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), 0), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), 0), @@ -478,8 +499,9 @@ private static Stream length() { private static Stream cumullength() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), new TFloatInst("0@2019-09-01")), Arguments.of(new TGeogPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"), new TFloatSeq("[0@2019-09-01, 156876.14940188668@2019-09-02]")), @@ -489,8 +511,9 @@ private static Stream cumullength() { private static Stream speed() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), null), Arguments.of(new TGeogPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"), new TFloatSeq("[1.8157@2019-09-01, 1.8157@2019-09-02]")), @@ -500,8 +523,9 @@ private static Stream speed() { private static Stream xy() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), new TFloatInst("1@2019-09-01")), Arguments.of(new TGeogPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"), new TFloatSeq("[1@2019-09-01, 2@2019-09-02]")), @@ -511,8 +535,9 @@ private static Stream xy() { private static Stream xyz() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1 1)@2019-09-01"), new TFloatInst("1@2019-09-01")), Arguments.of(new TGeogPointSeq("[Point(1 1 1)@2019-09-01, Point(2 2 2)@2019-09-02]"), new TFloatSeq("[1@2019-09-01, 2@2019-09-02]")), @@ -522,8 +547,9 @@ private static Stream xyz() { private static Stream hasz() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), false), Arguments.of(new TGeogPointSeq("[Point(1 1 1)@2019-09-01, Point(2 2 2)@2019-09-02]"), true), @@ -533,8 +559,9 @@ private static Stream hasz() { private static Stream is_simple() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), true), Arguments.of(new TGeogPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"), true), @@ -544,8 +571,9 @@ private static Stream is_simple() { private static Stream angular_difference() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02], [Point(1 1)@2019-09-03, Point(1 1)@2019-09-05]}"), "TGeogPointSeqSet", new TFloatSeqSet("{0@2019-09-01,0@2019-09-02}")) ); @@ -554,8 +582,9 @@ private static Stream angular_difference() { private static Stream togeom() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), new TGeomPointInst("Point(1 1)@2019-09-01")) //Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}")), @@ -566,8 +595,9 @@ private static Stream togeom() { private static Stream to_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), new TGeogPointInst("Point(1 1)@2019-09-01")), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01}"), new TGeogPointInst("Point(1 1)@2019-09-01")), @@ -579,8 +609,9 @@ private static Stream to_instant() { private static Stream to_sequence() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), TInterpolation.LINEAR, new TGeogPointSeq("[Point(1 1)@2019-09-01]")), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), TInterpolation.DISCRETE, new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}")), @@ -591,8 +622,9 @@ private static Stream to_sequence() { private static Stream to_sequenceset() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), TInterpolation.LINEAR, new TGeogPointSeqSet("{[Point(1 1)@2019-09-01]}")), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), TInterpolation.LINEAR, new TGeogPointSeqSet("{[Point(1 1)@2019-09-01], [Point(2 2)@2019-09-02]}")), @@ -604,8 +636,9 @@ private static Stream to_sequenceset() { private static Stream set_interp() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1 1)@2019-09-01"), "TGeogPointInst", TInterpolation.DISCRETE, new TGeogPointSeq("{Point(1 1)@2019-09-01}")), Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"),"TGeogPointSeq", TInterpolation.DISCRETE, new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}")), @@ -616,8 +649,9 @@ private static Stream set_interp() { private static Stream round() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointInst("Point(1.123456789 1.123456789)@2019-09-01"), "TGeogPointInst", new TGeogPointInst("Point(1.12 1.12)@2019-09-01")), Arguments.of(new TGeogPointSeq("{Point(1.123456789 1.123456789)@2019-09-01, Point(2.123456789 2.123456789)@2019-09-02}"),"TGeogPointSeq", new TGeogPointSeq("{Point(1.12 1.12)@2019-09-01,Point(2.12 2.12)@2019-09-02}")), @@ -628,8 +662,9 @@ private static Stream round() { private static Stream insert() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeogPointSeq",new TGeogPointSeq("{Point(1 1)@2019-09-03}"), new TGeogPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02, Point(1 1)@2019-09-03}") ), Arguments.of(new TGeogPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02], [Point(1 1)@2019-09-03, Point(1 1)@2019-09-05]}"), "TGeogPointSeqSet", new TGeogPointSeq("[Point(1 1)@2019-09-06]"), new TGeogPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02],[Point(1 1)@2019-09-03, Point(1 1)@2019-09-05],[Point(1 1)@2019-09-06]}")) @@ -639,8 +674,9 @@ private static Stream insert() { private static Stream append_sequence() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeogPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"),"TGeogPointSeq", new TGeogPointSeq("[Point(1 1)@2019-09-03]"), new TGeogPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02], [Point(1 1)@2019-09-03]}")), Arguments.of(new TGeogPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02],[Point(1 1)@2019-09-03, Point(1 1)@2019-09-05]}"), "TGeogPointSeqSet", new TGeogPointSeq("[Point(1 1)@2019-09-06]"), new TGeogPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02],[Point(1 1)@2019-09-03, Point(1 1)@2019-09-05],[Point(1 1)@2019-09-06]}")) @@ -673,8 +709,9 @@ private static Stream append_sequence() { @ParameterizedTest(name="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromtemporal") void testFromTemporalConstructor(TGeogPoint source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointInst") { GeometryFactory factory4326 = new GeometryFactory(new PrecisionModel(PrecisionModel.FLOATING), 4326); Point point = factory4326.createPoint(new Coordinate(1, 1)); @@ -700,8 +737,9 @@ void testFromTemporalConstructor(TGeogPoint source, String type, TInterpolation @ParameterizedTest(name="source={0}, type={1}, interpolation={2}") @MethodSource("from_time") void testFromBaseTimeConstructor(Time source, String type, TInterpolation interpolation) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointInst") { GeometryFactory factory4326 = new GeometryFactory(new PrecisionModel(PrecisionModel.FLOATING), 4326); Point p = factory4326.createPoint(new Coordinate(1, 1)); @@ -723,8 +761,9 @@ void testFromBaseTimeConstructor(Time source, String type, TInterpolation interp @ParameterizedTest(name="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromstring") void testFromStringConstructor(TGeogPoint source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointInst") { TGeogPointInst ti = new TGeogPointInst(expected); assertTrue(ti instanceof TGeogPointInst); @@ -747,8 +786,9 @@ void testFromStringConstructor(TGeogPoint source, String type, TInterpolation in @ParameterizedTest(name="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromstring") void testCopyConstructor(Temporal source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointInst") { TGeogPointInst ti = (TGeogPointInst) source.copy(); assertTrue(ti instanceof TGeogPointInst); @@ -771,8 +811,9 @@ void testCopyConstructor(Temporal source, String type, TInterpolation interpolat @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("bounding") void testBounding(TGeogPoint source, String type, STBox expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointInst") { //assertEquals(source.bounding_box_point().toString(15), expected.toString(15)); } else if (type == "TGeogPointSeq") { @@ -787,8 +828,9 @@ void testBounding(TGeogPoint source, String type, STBox expected) { @ParameterizedTest(name="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromstring") void testInterpolation(Temporal source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointInst") { assertEquals(source.interpolation(),interpolation); } else if (type == "TGeogPointSeq") { @@ -803,8 +845,9 @@ void testInterpolation(Temporal source, String type, TInterpolation interpolatio @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("asmfjson") void testAsmfjson(Temporal source, String type, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); System.out.println(source.as_mfjson()); // assertEquals(source.as_mfjson(), expected); } @@ -813,8 +856,9 @@ void testAsmfjson(Temporal source, String type, String expected) { @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("fromstart") void testStartvalue(TGeogPoint source, String type, String expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.start_value(15).toString(), expected); } @@ -822,8 +866,9 @@ void testStartvalue(TGeogPoint source, String type, String expected) throws Par @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("endstart") void testEndvalue(TGeogPoint source, String type, String expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.end_value(15).toString(), expected); } @@ -831,8 +876,9 @@ void testEndvalue(TGeogPoint source, String type, String expected) throws Parse @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("test_time") void testTime(TGeogPoint source, String type, tstzspanset expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((Temporal)source).time().toString(), expected.toString()); } @@ -841,8 +887,9 @@ void testTime(TGeogPoint source, String type, tstzspanset expected) throws Pars @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("period") void testtstzspan(TGeogPoint source, String type, tstzspan expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((Temporal)source).period().toString(), expected.toString()); } @@ -850,16 +897,18 @@ void testtstzspan(TGeogPoint source, String type, tstzspan expected) throws Par @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("period") void testTimeSpan(TGeogPoint source, String type, tstzspan expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((Temporal)source).period().toString(), expected.toString()); } @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("num_instant") void testNumInst(TGeogPoint source, String type, int expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((Temporal)source).num_instants(), expected); } @@ -867,8 +916,9 @@ void testNumInst(TGeogPoint source, String type, int expected) throws ParseExce @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("start_instant") void testStartInstant(String source, String type, TGeogPoint expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointInst") { TGeogPointInst tg = new TGeogPointInst(source); TGeogPointInst new_tg = (TGeogPointInst) tg.start_instant(); @@ -889,8 +939,9 @@ void testStartInstant(String source, String type, TGeogPoint expected) throws P @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("end_instant") void testEndInstant(String source, String type, TGeogPoint expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointInst") { TGeogPointInst tg = new TGeogPointInst(source); TGeogPointInst new_tg = (TGeogPointInst) tg.end_instant(); @@ -910,8 +961,9 @@ void testEndInstant(String source, String type, TGeogPoint expected) throws Par @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("min_instant") void testMinInst(Temporal source, String type, TGeogPointInst expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TGeogPointInst)source.min_instant()).to_string(), expected.to_string()); } @@ -920,8 +972,9 @@ void testMinInst(Temporal source, String type, TGeogPointInst expected) throws @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("max_instant") void testMaxInst(Temporal source, String type, TGeogPointInst expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TGeogPointInst)source.max_instant()).to_string(), expected.to_string()); } @@ -929,8 +982,9 @@ void testMaxInst(Temporal source, String type, TGeogPointInst expected) throws @ParameterizedTest(name="source={0}, n={1}, expected={2}") @MethodSource("instantn") void testInstN(Temporal source, int n, TGeogPointInst expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TGeogPointInst)source.instant_n(n)).to_string(), expected.to_string()); } @@ -938,8 +992,9 @@ void testInstN(Temporal source, int n, TGeogPointInst expected) throws ParseExc @ParameterizedTest(name="source={0}, n={1}") @MethodSource("num_timestamps") void testNumTimestamps(Temporal source, int n) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.num_timestamps(), n); } @@ -947,8 +1002,9 @@ void testNumTimestamps(Temporal source, int n) throws ParseException { @ParameterizedTest(name="source={0}, local={1}") @MethodSource("start_timestamps") void testStartTimestamps(Temporal source, LocalDateTime local) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.start_timestamp(), local); } @@ -956,8 +1012,9 @@ void testStartTimestamps(Temporal source, LocalDateTime local) throws ParseExcep @ParameterizedTest(name="source={0}, local={1}") @MethodSource("end_timestamps") void testEndTimestamps(Temporal source, LocalDateTime local) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.end_timestamp(), local); } @@ -965,8 +1022,9 @@ void testEndTimestamps(Temporal source, LocalDateTime local) throws ParseExcepti @ParameterizedTest(name="source={0}, hash={1}") @MethodSource("hash") void testHash(Temporal source, long hash) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.hash(), hash); } @@ -974,8 +1032,9 @@ void testHash(Temporal source, long hash) throws ParseException { @ParameterizedTest(name="source={0}, hash={1}") @MethodSource("length") void testLength(TGeogPoint source, double hash) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TPoint)source).length(), hash); } @@ -983,8 +1042,9 @@ void testLength(TGeogPoint source, double hash) throws ParseException { @ParameterizedTest(name="source={0}, tfloat={1}") @MethodSource("cumullength") void testCumulLength(TGeogPoint source, TFloat tfloat) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals((source).cumulative_length().to_string(15), tfloat.to_string(15)); } @@ -992,8 +1052,9 @@ void testCumulLength(TGeogPoint source, TFloat tfloat) throws ParseException { @ParameterizedTest(name="source={0}, tfloat={1}") @MethodSource("xy") void testXY(TGeogPoint source, TFloat tfloat) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.x().to_string(15), tfloat.to_string(15)); assertEquals(source.y().to_string(15), tfloat.to_string(15)); } @@ -1002,8 +1063,9 @@ void testXY(TGeogPoint source, TFloat tfloat) throws ParseException { @ParameterizedTest(name="source={0}, tfloat={1}") @MethodSource("xyz") void testXYZ(TGeogPoint source, TFloat tfloat) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.x().to_string(15), tfloat.to_string(15)); assertEquals(source.y().to_string(15), tfloat.to_string(15)); assertEquals(source.z().to_string(15), tfloat.to_string(15)); @@ -1013,8 +1075,9 @@ void testXYZ(TGeogPoint source, TFloat tfloat) throws ParseException { @ParameterizedTest(name="source={0}, val={1}") @MethodSource("hasz") void testHasz(TGeogPoint source, boolean val) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.has_z(), val); } @@ -1022,8 +1085,9 @@ void testHasz(TGeogPoint source, boolean val) throws ParseException { @ParameterizedTest(name="source={0}, val={1}") @MethodSource("is_simple") void testIsSimple(TGeogPoint source, boolean val) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.is_simple(), val); } @@ -1031,8 +1095,9 @@ void testIsSimple(TGeogPoint source, boolean val) throws ParseException { @ParameterizedTest(name="source={0}, val={1}") @MethodSource("is_simple") void testSRID(TGeogPoint source, boolean val) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.srid(), 4326); } @@ -1041,8 +1106,9 @@ void testSRID(TGeogPoint source, boolean val) throws ParseException { @ParameterizedTest(name="source={0}, type={1}, val={2}") @MethodSource("angular_difference") void testAngula(TGeogPoint source, String type, TFloat val) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointSeq"){ TFloatSeqSet tf = (TFloatSeqSet) source.angular_difference().to_degrees(true); assertEquals(tf.to_string(15), val.to_string(15)); @@ -1057,8 +1123,9 @@ void testAngula(TGeogPoint source, String type, TFloat val) throws ParseExceptio @ParameterizedTest(name="source={0}, tgeog={1}") @MethodSource("to_instant") void testToInstant(Temporal source, TGeogPointInst tgeog) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TGeogPointInst tmp = (TGeogPointInst) source.to_instant(); assertTrue(tmp instanceof TGeogPointInst); assertEquals(tmp.to_string(),tgeog.to_string()); @@ -1068,8 +1135,9 @@ void testToInstant(Temporal source, TGeogPointInst tgeog) throws ParseException @ParameterizedTest(name="source={0}, interpolation={1}, tgeog={2}") @MethodSource("to_sequence") void testToSequence(Temporal source, TInterpolation interpolation, TGeogPointSeq tgeog) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TGeogPointSeq tmp = (TGeogPointSeq) source.to_sequence(interpolation); assertTrue(tmp instanceof TGeogPointSeq); assertEquals(tmp.to_string(),tgeog.to_string()); @@ -1079,8 +1147,9 @@ void testToSequence(Temporal source, TInterpolation interpolation, TGeogPointSeq @ParameterizedTest(name="source={0}, interpolation={1}, tgeog={2}") @MethodSource("to_sequenceset") void testToSequenceSet(Temporal source, TInterpolation interpolation, TGeogPointSeqSet tgeog) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TGeogPointSeqSet tmp = (TGeogPointSeqSet) source.to_sequenceset(interpolation); assertTrue(tmp instanceof TGeogPointSeqSet); assertEquals(tmp.to_string(),tgeog.to_string()); @@ -1090,8 +1159,9 @@ void testToSequenceSet(Temporal source, TInterpolation interpolation, TGeogPoint @ParameterizedTest(name="source={0}, type={1}, interpolation={2}, tgeog={3}") @MethodSource("set_interp") void testSetInterp(Temporal source, String type, TInterpolation interpolation, TGeogPointSeq tgeog) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointInst"){ TGeogPointInst tmp = (TGeogPointInst) source.set_interpolation(interpolation); assertTrue(tmp instanceof TGeogPointInst); @@ -1113,8 +1183,9 @@ void testSetInterp(Temporal source, String type, TInterpolation interpolation, T @ParameterizedTest(name="source={0}, type={1}, tgeog={2}") @MethodSource("round") void testRound(TPoint source, String type, TPoint tgeog) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TGeogPointInst" ){ assertTrue(source instanceof TGeogPointInst); assertEquals(source.round(2).to_string(),tgeog.to_string()); @@ -1131,8 +1202,9 @@ void testRound(TPoint source, String type, TPoint tgeog) throws ParseException { @ParameterizedTest(name="source={0}, type={1}, add={2}, expected={3}") @MethodSource("insert") void testInsert(Temporal source, String type, Temporal add, Temporal expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointSeq"){ TGeogPointSeq tgeog = (TGeogPointSeq) source.insert(add); assertEquals(tgeog.to_string(), ((TGeogPointSeq) expected).to_string()); @@ -1146,8 +1218,9 @@ void testInsert(Temporal source, String type, Temporal add, Temporal expected) t @ParameterizedTest(name="source={0}, type={1}, tgeoseq={2}, expected={3}") @MethodSource("append_sequence") void testAppendSequence(Temporal source, String type, TGeogPointSeq tgeoseq, Temporal expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeogPointSeq"){ TGeogPointSeq tseq = (TGeogPointSeq) source.append_sequence(tgeoseq); diff --git a/jmeos-core/src/test/java/basic/TGeomPointTest.java b/jmeos-core/src/test/java/basic/TGeomPointTest.java index 23f989ddc..14ef1ebf2 100644 --- a/jmeos-core/src/test/java/basic/TGeomPointTest.java +++ b/jmeos-core/src/test/java/basic/TGeomPointTest.java @@ -1,6 +1,6 @@ package basic; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -52,8 +52,9 @@ public class TGeomPointTest { static error_handler_fn errorHandler = new error_handler(); private static Stream fromtemporal() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1.5 1.5)@2019-09-01"), "TGeomPointInst",TInterpolation.NONE, "POINT(1 1)@2019-09-01 00:00:00+00"), Arguments.of(new TGeomPointSeq("{Point(1.5 1.5)@2019-09-01, Point(2.5 2.5)@2019-09-02}"), "TGeomPointSeq",TInterpolation.DISCRETE, "{POINT(1 1)@2019-09-01 00:00:00+00, POINT(2 2)@2019-09-02 00:00:00+00}"), @@ -65,8 +66,9 @@ private static Stream fromtemporal() { static Stream from_time() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzset("{2019-09-01, 2019-09-02}"), "TGeomPointSeq", TInterpolation.DISCRETE), Arguments.of(new tstzspan("[2019-09-01, 2019-09-02]"), "TGeomPointSeqSet", TInterpolation.LINEAR), @@ -77,8 +79,9 @@ static Stream from_time() throws SQLException { private static Stream fromstring() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), "TGeomPointInst",TInterpolation.NONE, "POINT(1 1)@2019-09-01 00:00:00+00"), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeomPointSeq",TInterpolation.DISCRETE, "{POINT(1 1)@2019-09-01 00:00:00+00, POINT(2 2)@2019-09-02 00:00:00+00}"), @@ -89,8 +92,9 @@ private static Stream fromstring() { private static Stream bounding() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), "TGeomPointInst", new STBox("STBOX XT(((1, 1),(1, 1)),[2019-09-01, 2019-09-01])") ), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeomPointSeq", new STBox("STBOX XT(((1, 1),(2, 2)),[2019-09-01, 2019-09-02])") ), @@ -101,8 +105,9 @@ private static Stream bounding() { private static Stream fromstart() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), "TGeomPointInst", "POINT (1 1)" ), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeomPointSeq", "POINT (1 1)" ), @@ -113,8 +118,9 @@ private static Stream fromstart() { private static Stream endstart() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), "TGeomPointInst", "POINT (1 1)" ), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeomPointSeq", "POINT (2 2)" ), @@ -125,8 +131,9 @@ private static Stream endstart() { private static Stream test_time() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), "TGeomPointInst", new tstzspanset("{[2019-09-01, 2019-09-01]}") ), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeomPointSeq", new tstzspanset("{[2019-09-01, 2019-09-01], [2019-09-02, 2019-09-02]}") ), @@ -137,8 +144,9 @@ private static Stream test_time() { private static Stream period() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), "TGeomPointInst", new tstzspan("[2019-09-01, 2019-09-01]") ), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeomPointSeq", new tstzspan("[2019-09-01, 2019-09-02]") ), @@ -148,8 +156,9 @@ private static Stream period() { } private static Stream num_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), "TGeomPointInst", 1 ), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeomPointSeq", 2 ), @@ -160,8 +169,9 @@ private static Stream num_instant() { private static Stream start_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("Point(1 1)@2019-09-01", "TGeomPointInst", new TGeomPointInst("Point(1 1)@2019-09-01") ), Arguments.of("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}", "TGeomPointSeq", new TGeomPointInst("Point(1 1)@2019-09-01") ), @@ -174,8 +184,9 @@ private static Stream start_instant() { private static Stream end_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("Point(1 1)@2019-09-01", "TGeomPointInst", new TGeomPointInst("Point(1 1)@2019-09-01") ), Arguments.of("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}", "TGeomPointSeq", new TGeomPointInst("Point(2 2)@2019-09-02") ), @@ -186,8 +197,9 @@ private static Stream end_instant() { private static Stream asmfjson() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); String jsonString1 = "{\n" + " \"type\": \"MovingGeomPoint\",\n" + " \"bbox\": [\n" + @@ -366,8 +378,9 @@ private static Stream asmfjson() { private static Stream min_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), "TGeomPointInst", new TGeomPointInst("Point(1 1)@2019-09-01") ), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeomPointSeq", new TGeomPointInst("Point(1 1)@2019-09-01") ), @@ -378,8 +391,9 @@ private static Stream min_instant() { private static Stream max_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), "TGeomPointInst", new TGeomPointInst("Point(1 1)@2019-09-01") ), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeomPointSeq", new TGeomPointInst("Point(2 2)@2019-09-02") ), @@ -390,8 +404,9 @@ private static Stream max_instant() { private static Stream instantn() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), 0, new TGeomPointInst("Point(1 1)@2019-09-01") ), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), 1, new TGeomPointInst("Point(2 2)@2019-09-02") ), @@ -402,8 +417,9 @@ private static Stream instantn() { private static Stream num_timestamps() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), 1), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), 2), @@ -415,8 +431,9 @@ private static Stream num_timestamps() { private static Stream start_timestamps() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), LocalDateTime.of(2019, 9, 1, 0, 0,0)), @@ -427,8 +444,9 @@ private static Stream start_timestamps() { private static Stream end_timestamps() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), LocalDateTime.of(2019, 9, 2, 0, 0,0)), @@ -440,8 +458,9 @@ private static Stream end_timestamps() { private static Stream hash() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), 382694564), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), 1664033448), @@ -452,8 +471,9 @@ private static Stream hash() { private static Stream lower_inc() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), true), Arguments.of(new TGeomPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"), true) @@ -463,8 +483,9 @@ private static Stream lower_inc() { private static Stream length() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), 0), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), 0), @@ -475,8 +496,9 @@ private static Stream length() { private static Stream cumullength() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), new TFloatInst("0@2019-09-01")), Arguments.of(new TGeomPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"), new TFloatSeq("[0@2019-09-01, 1.4142135623730951@2019-09-02]")), @@ -486,8 +508,9 @@ private static Stream cumullength() { private static Stream speed() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), null), Arguments.of(new TGeomPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"), new TFloatSeq("[1.8157@2019-09-01, 1.8157@2019-09-02]")), @@ -497,8 +520,9 @@ private static Stream speed() { private static Stream xy() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), new TFloatInst("1@2019-09-01")), Arguments.of(new TGeomPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"), new TFloatSeq("[1@2019-09-01, 2@2019-09-02]")), @@ -508,8 +532,9 @@ private static Stream xy() { private static Stream xyz() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1 1)@2019-09-01"), new TFloatInst("1@2019-09-01")), Arguments.of(new TGeomPointSeq("[Point(1 1 1)@2019-09-01, Point(2 2 2)@2019-09-02]"), new TFloatSeq("[1@2019-09-01, 2@2019-09-02]")), @@ -519,8 +544,9 @@ private static Stream xyz() { private static Stream hasz() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), false), Arguments.of(new TGeomPointSeq("[Point(1 1 1)@2019-09-01, Point(2 2 2)@2019-09-02]"), true), @@ -530,8 +556,9 @@ private static Stream hasz() { private static Stream is_simple() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), true), Arguments.of(new TGeomPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"), true), @@ -541,8 +568,9 @@ private static Stream is_simple() { private static Stream angular_difference() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02], [Point(1 1)@2019-09-03, Point(1 1)@2019-09-05]}"), "TGeomPointSeqSet", new TFloatSeqSet("{0@2019-09-01,0@2019-09-02}")) ); @@ -551,8 +579,9 @@ private static Stream angular_difference() { private static Stream togeom() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), new TGeomPointInst("Point(1 1)@2019-09-01")) //Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}")), @@ -563,8 +592,9 @@ private static Stream togeom() { private static Stream to_instant() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), new TGeomPointInst("Point(1 1)@2019-09-01")), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01}"), new TGeomPointInst("Point(1 1)@2019-09-01")), @@ -576,8 +606,9 @@ private static Stream to_instant() { private static Stream to_sequence() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), TInterpolation.LINEAR, new TGeomPointSeq("[Point(1 1)@2019-09-01]")), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), TInterpolation.DISCRETE, new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}")), @@ -588,8 +619,9 @@ private static Stream to_sequence() { private static Stream to_sequenceset() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), TInterpolation.LINEAR, new TGeomPointSeqSet("{[Point(1 1)@2019-09-01]}")), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), TInterpolation.LINEAR, new TGeomPointSeqSet("{[Point(1 1)@2019-09-01], [Point(2 2)@2019-09-02]}")), @@ -601,8 +633,9 @@ private static Stream to_sequenceset() { private static Stream set_interp() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1 1)@2019-09-01"), "TGeomPointInst", TInterpolation.DISCRETE, new TGeomPointSeq("{Point(1 1)@2019-09-01}")), Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"),"TGeomPointSeq", TInterpolation.DISCRETE, new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}")), @@ -613,8 +646,9 @@ private static Stream set_interp() { private static Stream round() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointInst("Point(1.123456789 1.123456789)@2019-09-01"), "TGeomPointInst", new TGeomPointInst("Point(1.12 1.12)@2019-09-01")), Arguments.of(new TGeomPointSeq("{Point(1.123456789 1.123456789)@2019-09-01, Point(2.123456789 2.123456789)@2019-09-02}"),"TGeomPointSeq", new TGeomPointSeq("{Point(1.12 1.12)@2019-09-01,Point(2.12 2.12)@2019-09-02}")), @@ -625,8 +659,9 @@ private static Stream round() { private static Stream insert() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02}"), "TGeomPointSeq",new TGeomPointSeq("{Point(1 1)@2019-09-03}"), new TGeomPointSeq("{Point(1 1)@2019-09-01, Point(2 2)@2019-09-02, Point(1 1)@2019-09-03}") ), Arguments.of(new TGeomPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02], [Point(1 1)@2019-09-03, Point(1 1)@2019-09-05]}"), "TGeomPointSeqSet", new TGeomPointSeq("[Point(1 1)@2019-09-06]"), new TGeomPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02],[Point(1 1)@2019-09-03, Point(1 1)@2019-09-05],[Point(1 1)@2019-09-06]}")) @@ -636,8 +671,9 @@ private static Stream insert() { private static Stream append_sequence() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TGeomPointSeq("[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02]"),"TGeomPointSeq", new TGeomPointSeq("[Point(1 1)@2019-09-03]"), new TGeomPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02], [Point(1 1)@2019-09-03]}")), Arguments.of(new TGeomPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02],[Point(1 1)@2019-09-03, Point(1 1)@2019-09-05]}"), "TGeomPointSeqSet", new TGeomPointSeq("[Point(1 1)@2019-09-06]"), new TGeomPointSeqSet("{[Point(1 1)@2019-09-01, Point(2 2)@2019-09-02],[Point(1 1)@2019-09-03, Point(1 1)@2019-09-05],[Point(1 1)@2019-09-06]}")) @@ -670,8 +706,9 @@ private static Stream append_sequence() { @ParameterizedTest(name="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromtemporal") void testFromTemporalConstructor(TGeomPoint source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointInst") { GeometryFactory factory4326 = new GeometryFactory(new PrecisionModel(PrecisionModel.FLOATING), 4326); Point point = factory4326.createPoint(new Coordinate(1, 1)); @@ -697,8 +734,9 @@ void testFromTemporalConstructor(TGeomPoint source, String type, TInterpolation @ParameterizedTest(name="source={0}, type={1}, interpolation={2}") @MethodSource("from_time") void testFromBaseTimeConstructor(Time source, String type, TInterpolation interpolation) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointInst") { GeometryFactory factory4326 = new GeometryFactory(new PrecisionModel(PrecisionModel.FLOATING)); Point p = factory4326.createPoint(new Coordinate(1, 1)); @@ -720,8 +758,9 @@ void testFromBaseTimeConstructor(Time source, String type, TInterpolation interp @ParameterizedTest(name="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromstring") void testFromStringConstructor(TGeomPoint source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointInst") { TGeomPointInst ti = new TGeomPointInst(expected); assertTrue(ti instanceof TGeomPointInst); @@ -744,8 +783,9 @@ void testFromStringConstructor(TGeomPoint source, String type, TInterpolation in @ParameterizedTest(name="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromstring") void testCopyConstructor(Temporal source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointInst") { TGeomPointInst ti = (TGeomPointInst) source.copy(); assertTrue(ti instanceof TGeomPointInst); @@ -768,8 +808,9 @@ void testCopyConstructor(Temporal source, String type, TInterpolation interpolat @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("bounding") void testBounding(TGeomPoint source, String type, STBox expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointInst") { //assertEquals(source.bounding_box_point().toString(15), expected.toString(15)); } else if (type == "TGeomPointSeq") { @@ -784,8 +825,9 @@ void testBounding(TGeomPoint source, String type, STBox expected) { @ParameterizedTest(name="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromstring") void testInterpolation(Temporal source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointInst") { assertEquals(source.interpolation(),interpolation); } else if (type == "TGeomPointSeq") { @@ -800,8 +842,9 @@ void testInterpolation(Temporal source, String type, TInterpolation interpolatio @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("asmfjson") void testAsmfjson(Temporal source, String type, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); System.out.println(source.as_mfjson()); } @@ -809,8 +852,9 @@ void testAsmfjson(Temporal source, String type, String expected) { @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("fromstart") void testStartvalue(TGeomPoint source, String type, String expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.start_value(15).toString(), expected); } @@ -818,8 +862,9 @@ void testStartvalue(TGeomPoint source, String type, String expected) throws Par @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("endstart") void testEndvalue(TGeomPoint source, String type, String expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.end_value(15).toString(), expected); } @@ -827,8 +872,9 @@ void testEndvalue(TGeomPoint source, String type, String expected) throws Parse @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("test_time") void testTime(TGeomPoint source, String type, tstzspanset expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((Temporal)source).time().toString(), expected.toString()); } @@ -837,8 +883,9 @@ void testTime(TGeomPoint source, String type, tstzspanset expected) throws Pars @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("period") void testtstzspan(TGeomPoint source, String type, tstzspan expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((Temporal)source).period().toString(), expected.toString()); } @@ -846,16 +893,18 @@ void testtstzspan(TGeomPoint source, String type, tstzspan expected) throws Par @ParameterizedTest(name="source={0}, type{1}, expected={2}") @MethodSource("period") void testTimeSpan(TGeomPoint source, String type, tstzspan expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((Temporal)source).period().toString(), expected.toString()); } @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("num_instant") void testNumInst(TGeomPoint source, String type, int expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((Temporal)source).num_instants(), expected); } @@ -863,8 +912,9 @@ void testNumInst(TGeomPoint source, String type, int expected) throws ParseExce @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("start_instant") void testStartInstant(String source, String type, TGeomPoint expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointInst") { TGeomPointInst tg = new TGeomPointInst(source); TGeomPointInst new_tg = (TGeomPointInst) tg.start_instant(); @@ -885,8 +935,9 @@ void testStartInstant(String source, String type, TGeomPoint expected) throws P @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("end_instant") void testEndInstant(String source, String type, TGeomPoint expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointInst") { TGeomPointInst tg = new TGeomPointInst(source); TGeomPointInst new_tg = (TGeomPointInst) tg.end_instant(); @@ -906,8 +957,9 @@ void testEndInstant(String source, String type, TGeomPoint expected) throws Par @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("min_instant") void testMinInst(Temporal source, String type, TGeomPointInst expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TGeomPointInst)source.min_instant()).to_string(), expected.to_string()); } @@ -916,8 +968,9 @@ void testMinInst(Temporal source, String type, TGeomPointInst expected) throws @ParameterizedTest(name="source={0}, type={1}, expected={2}") @MethodSource("max_instant") void testMaxInst(Temporal source, String type, TGeomPointInst expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TGeomPointInst)source.max_instant()).to_string(), expected.to_string()); } @@ -925,8 +978,9 @@ void testMaxInst(Temporal source, String type, TGeomPointInst expected) throws @ParameterizedTest(name="source={0}, n={1}, expected={2}") @MethodSource("instantn") void testInstN(Temporal source, int n, TGeomPointInst expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TGeomPointInst)source.instant_n(n)).to_string(), expected.to_string()); } @@ -934,8 +988,9 @@ void testInstN(Temporal source, int n, TGeomPointInst expected) throws ParseExc @ParameterizedTest(name="source={0}, n={1}") @MethodSource("num_timestamps") void testNumTimestamps(Temporal source, int n) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.num_timestamps(), n); } @@ -943,8 +998,9 @@ void testNumTimestamps(Temporal source, int n) throws ParseException { @ParameterizedTest(name="source={0}, local={1}") @MethodSource("start_timestamps") void testStartTimestamps(Temporal source, LocalDateTime local) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.start_timestamp(), local); } @@ -952,8 +1008,9 @@ void testStartTimestamps(Temporal source, LocalDateTime local) throws ParseExcep @ParameterizedTest(name="source={0}, local={1}") @MethodSource("end_timestamps") void testEndTimestamps(Temporal source, LocalDateTime local) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.end_timestamp(), local); } @@ -961,8 +1018,9 @@ void testEndTimestamps(Temporal source, LocalDateTime local) throws ParseExcepti @ParameterizedTest(name="source={0}, hash={1}") @MethodSource("hash") void testHash(Temporal source, long hash) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.hash(), hash); } @@ -970,8 +1028,9 @@ void testHash(Temporal source, long hash) throws ParseException { @ParameterizedTest(name="source={0}, hash={1}") @MethodSource("length") void testLength(TGeomPoint source, double hash) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TPoint)source).length(), hash); } @@ -979,8 +1038,9 @@ void testLength(TGeomPoint source, double hash) throws ParseException { @ParameterizedTest(name="source={0}, tfloat={1}") @MethodSource("cumullength") void testCumulLength(TGeomPoint source, TFloat tfloat) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals((source).cumulative_length().to_string(15), tfloat.to_string(15)); } @@ -988,8 +1048,9 @@ void testCumulLength(TGeomPoint source, TFloat tfloat) throws ParseException { @ParameterizedTest(name="source={0}, tfloat={1}") @MethodSource("xy") void testXY(TGeomPoint source, TFloat tfloat) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.x().to_string(15), tfloat.to_string(15)); assertEquals(source.y().to_string(15), tfloat.to_string(15)); } @@ -998,8 +1059,9 @@ void testXY(TGeomPoint source, TFloat tfloat) throws ParseException { @ParameterizedTest(name="source={0}, tfloat={1}") @MethodSource("xyz") void testXYZ(TGeomPoint source, TFloat tfloat) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.x().to_string(15), tfloat.to_string(15)); assertEquals(source.y().to_string(15), tfloat.to_string(15)); assertEquals(source.z().to_string(15), tfloat.to_string(15)); @@ -1009,8 +1071,9 @@ void testXYZ(TGeomPoint source, TFloat tfloat) throws ParseException { @ParameterizedTest(name="source={0}, val={1}") @MethodSource("hasz") void testHasz(TGeomPoint source, boolean val) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.has_z(), val); } @@ -1018,8 +1081,9 @@ void testHasz(TGeomPoint source, boolean val) throws ParseException { @ParameterizedTest(name="source={0}, val={1}") @MethodSource("is_simple") void testIsSimple(TGeomPoint source, boolean val) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.is_simple(), val); } @@ -1027,8 +1091,9 @@ void testIsSimple(TGeomPoint source, boolean val) throws ParseException { @ParameterizedTest(name="source={0}, val={1}") @MethodSource("is_simple") void testSRID(TGeomPoint source, boolean val) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.srid(), 0); } @@ -1037,8 +1102,9 @@ void testSRID(TGeomPoint source, boolean val) throws ParseException { @ParameterizedTest(name="source={0}, type={1}, val={2}") @MethodSource("angular_difference") void testAngula(TGeomPoint source, String type, TFloat val) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointSeq"){ TFloatSeqSet tf = (TFloatSeqSet) source.angular_difference().to_degrees(true); assertEquals(tf.to_string(15), val.to_string(15)); @@ -1053,8 +1119,9 @@ void testAngula(TGeomPoint source, String type, TFloat val) throws ParseExceptio @ParameterizedTest(name="source={0}, TGeom={1}") @MethodSource("to_instant") void testToInstant(Temporal source, TGeomPointInst TGeom) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TGeomPointInst tmp = (TGeomPointInst) source.to_instant(); assertTrue(tmp instanceof TGeomPointInst); assertEquals(tmp.to_string(),TGeom.to_string()); @@ -1064,8 +1131,9 @@ void testToInstant(Temporal source, TGeomPointInst TGeom) throws ParseException @ParameterizedTest(name="source={0}, interpolation={1}, TGeom={2}") @MethodSource("to_sequence") void testToSequence(Temporal source, TInterpolation interpolation, TGeomPointSeq TGeom) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TGeomPointSeq tmp = (TGeomPointSeq) source.to_sequence(interpolation); assertTrue(tmp instanceof TGeomPointSeq); assertEquals(tmp.to_string(),TGeom.to_string()); @@ -1075,8 +1143,9 @@ void testToSequence(Temporal source, TInterpolation interpolation, TGeomPointSeq @ParameterizedTest(name="source={0}, interpolation={1}, TGeom={2}") @MethodSource("to_sequenceset") void testToSequenceSet(Temporal source, TInterpolation interpolation, TGeomPointSeqSet TGeom) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TGeomPointSeqSet tmp = (TGeomPointSeqSet) source.to_sequenceset(interpolation); assertTrue(tmp instanceof TGeomPointSeqSet); assertEquals(tmp.to_string(),TGeom.to_string()); @@ -1086,8 +1155,9 @@ void testToSequenceSet(Temporal source, TInterpolation interpolation, TGeomPoint @ParameterizedTest(name="source={0}, type={1}, interpolation={2}, TGeom={3}") @MethodSource("set_interp") void testSetInterp(Temporal source, String type, TInterpolation interpolation, TGeomPointSeq TGeom) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointInst"){ TGeomPointInst tmp = (TGeomPointInst) source.set_interpolation(interpolation); assertTrue(tmp instanceof TGeomPointInst); @@ -1109,8 +1179,9 @@ void testSetInterp(Temporal source, String type, TInterpolation interpolation, T @ParameterizedTest(name="source={0}, type={1}, TGeom={2}") @MethodSource("round") void testRound(TPoint source, String type, TPoint TGeom) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TGeomPointInst" ){ assertTrue(source instanceof TGeomPointInst); assertEquals(source.round(2).to_string(),TGeom.to_string()); @@ -1127,8 +1198,9 @@ void testRound(TPoint source, String type, TPoint TGeom) throws ParseException { @ParameterizedTest(name="source={0}, type={1}, add={2}, expected={3}") @MethodSource("insert") void testInsert(Temporal source, String type, Temporal add, Temporal expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointSeq"){ TGeomPointSeq TGeom = (TGeomPointSeq) source.insert(add); assertEquals(TGeom.to_string(), ((TGeomPointSeq) expected).to_string()); @@ -1142,8 +1214,9 @@ void testInsert(Temporal source, String type, Temporal add, Temporal expected) t @ParameterizedTest(name="source={0}, type={1}, tgeoseq={2}, expected={3}") @MethodSource("append_sequence") void testAppendSequence(Temporal source, String type, TGeomPointSeq tgeoseq, Temporal expected) throws ParseException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TGeomPointSeq"){ TGeomPointSeq tseq = (TGeomPointSeq) source.append_sequence(tgeoseq); diff --git a/jmeos-core/src/test/java/basic/TIntTest.java b/jmeos-core/src/test/java/basic/TIntTest.java index 850b4afe4..d96f994a6 100644 --- a/jmeos-core/src/test/java/basic/TIntTest.java +++ b/jmeos-core/src/test/java/basic/TIntTest.java @@ -1,5 +1,5 @@ package basic; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; @@ -36,8 +36,9 @@ public class TIntTest { static error_handler_fn errorHandler = new error_handler(); private static Stream frombasetemporal() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TFloatInst("1.5@2019-09-01"), "TIntInst", TInterpolation.NONE), Arguments.of(new TFloatSeq("[1.5@2019-09-01, 0.5@2019-09-02]"), "TIntSeq", TInterpolation.STEPWISE), @@ -47,8 +48,9 @@ private static Stream frombasetemporal() { private static Stream frombasetime() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzset("{2019-09-01, 2019-09-02}"), "TIntSeq", TInterpolation.DISCRETE), Arguments.of(new tstzspan("[2019-09-01, 2019-09-02]"), "TIntSeq", TInterpolation.STEPWISE), @@ -68,8 +70,9 @@ private static Stream fromstring() { private static Stream fromcopy() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst"), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq"), @@ -78,8 +81,9 @@ private static Stream fromcopy() { } private static Stream totfloat() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", "1@2019-09-01 00:00:00+00"), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", "Interp=Step;[1@2019-09-01 00:00:00+00, 2@2019-09-02 00:00:00+00]"), @@ -90,8 +94,9 @@ private static Stream totfloat() { private static Stream bounding() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new TBox("TBOXINT XT([1,1],[2019-09-01, 2019-09-01])")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", new TBox("TBOXINT XT([1,2],[2019-09-01, 2019-09-02])")), @@ -100,8 +105,9 @@ private static Stream bounding() throws SQLException { } private static Stream interp() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", TInterpolation.NONE), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", TInterpolation.STEPWISE), @@ -111,8 +117,9 @@ private static Stream interp() throws SQLException { private static Stream value_span() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new IntSpan(1, 1, true, true)), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", new IntSpan(1, 2, true, true)), @@ -122,8 +129,9 @@ private static Stream value_span() throws SQLException { private static Stream value_spans() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new IntSpanSet("{[1,1]}")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", new IntSpanSet("{[1,2]}")), @@ -133,8 +141,9 @@ private static Stream value_spans() throws SQLException { private static Stream start_value() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 1), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", 1), @@ -144,8 +153,9 @@ private static Stream start_value() throws SQLException { private static Stream end_value() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 1), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", 2), @@ -155,8 +165,9 @@ private static Stream end_value() throws SQLException { private static Stream min_value() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 1), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", 1), @@ -166,8 +177,9 @@ private static Stream min_value() throws SQLException { private static Stream max_value() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 1), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", 2), @@ -177,8 +189,9 @@ private static Stream max_value() throws SQLException { private static Stream time() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new tstzspanset("{[2019-09-01, 2019-09-01]}")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", new tstzspanset("{[2019-09-01, 2019-09-02]}")), @@ -188,8 +201,9 @@ private static Stream time() throws SQLException { private static Stream period() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new tstzspan("[2019-09-01, 2019-09-01]")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", new tstzspan("[2019-09-01, 2019-09-02]")), @@ -198,8 +212,9 @@ private static Stream period() throws SQLException { } private static Stream num_instant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 1), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq",2), @@ -210,8 +225,9 @@ private static Stream num_instant() throws SQLException { private static Stream start_instant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new TIntInst("1@2019-09-01")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq",new TIntInst("1@2019-09-01")), @@ -222,8 +238,9 @@ private static Stream start_instant() throws SQLException { private static Stream end_instant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new TIntInst("1@2019-09-01")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq",new TIntInst("2@2019-09-02")), @@ -233,8 +250,9 @@ private static Stream end_instant() throws SQLException { private static Stream max_instant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new TIntInst("1@2019-09-01")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq",new TIntInst("2@2019-09-02")), @@ -244,8 +262,9 @@ private static Stream max_instant() throws SQLException { private static Stream instant_n() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), 0, new TIntInst("1@2019-09-01")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), 1,new TIntInst("2@2019-09-02")), @@ -256,8 +275,9 @@ private static Stream instant_n() throws SQLException { private static Stream num_timestamps() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), 1, new TIntInst("1@2019-09-01")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), 2,new TIntInst("2@2019-09-02")), @@ -268,8 +288,9 @@ private static Stream num_timestamps() throws SQLException { private static Stream start_timestamps() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), 1, LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), 2, LocalDateTime.of(2019, 9, 1, 0, 0,0)), @@ -279,8 +300,9 @@ private static Stream start_timestamps() throws SQLException { private static Stream end_timestamps() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), 1, LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), 2, LocalDateTime.of(2019, 9, 2, 0, 0,0)), @@ -290,8 +312,9 @@ private static Stream end_timestamps() throws SQLException { private static Stream hash() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), 440045287, LocalDateTime.of(2019, 9, 1, 0, 0,0)), // Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), 3589664982l, LocalDateTime.of(2019, 9, 2, 0, 0,0)), @@ -301,8 +324,9 @@ private static Stream hash() throws SQLException { private static Stream toinstant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new TIntInst("1@2019-09-01")), Arguments.of(new TIntSeq("[1@2019-09-01]"), "TIntSeq", new TIntInst("1@2019-09-01")), @@ -312,8 +336,9 @@ private static Stream toinstant() throws SQLException { private static Stream tosequence() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", TInterpolation.NONE, new TIntSeq("[1@2019-09-01]")), // Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", TInterpolation.DISCRETE, new TIntSeq("[1@2019-09-01, 2@2019-09-02]")) @@ -323,8 +348,9 @@ private static Stream tosequence() throws SQLException { private static Stream tosequenceset() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", TInterpolation.NONE, new TIntSeqSet("{[1@2019-09-01]}")) // Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", TInterpolation.STEPWISE, new TIntSeqSet("{[1@2019-09-01, 2@2019-09-02]}")) @@ -334,8 +360,9 @@ private static Stream tosequenceset() throws SQLException { private static Stream insert() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new TIntSeq("{1@2019-09-03}"), new TIntSeq("{1@2019-09-01, 1@2019-09-03}")), Arguments.of(new TIntSeq("{[1@2019-09-01, 2@2019-09-02]}"), "TIntSeq", new TIntSeq("[1@2019-09-03]"), new TIntSeqSet("{[1@2019-09-01, 2@2019-09-02], [1@2019-09-03]}")), @@ -345,8 +372,9 @@ private static Stream insert() throws SQLException { private static Stream update() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new TIntInst("2@2019-09-01"), new TIntInst("2@2019-09-01")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", new TIntInst("2@2019-09-01"), new TIntSeqSet("{[2@2019-09-01], (1@2019-09-01, 2@2019-09-02]}")), @@ -356,8 +384,9 @@ private static Stream update() throws SQLException { private static Stream append_sequence() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", new TIntSeq("[1@2019-09-03]"), new TIntSeqSet("{[1@2019-09-01, 2@2019-09-02], [1@2019-09-03]}")), Arguments.of(new TIntSeqSet("{[1@2019-09-01, 2@2019-09-02],[1@2019-09-03, 1@2019-09-05]}"), "TIntSeqSet", new TIntSeq("[1@2019-09-06]"), new TIntSeqSet("{[1@2019-09-01, 2@2019-09-02],[1@2019-09-03, 1@2019-09-05],[1@2019-09-06]}")) @@ -366,8 +395,9 @@ private static Stream append_sequence() throws SQLException { private static Stream abs() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", new TIntInst("2@2019-09-01"), new TIntInst("2@2019-09-01")), Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", new TIntInst("2@2019-09-01"), new TIntSeqSet("{[2@2019-09-01], (1@2019-09-01, 2@2019-09-02]}")), @@ -377,8 +407,9 @@ private static Stream abs() throws SQLException { private static Stream delta_value() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntSeq("[1@2019-09-01, 2@2019-09-02]"), "TIntSeq", new TIntInst("2@2019-09-01"), new TIntSeq("[1@2019-09-01, 1@2019-09-02)")), Arguments.of(new TIntSeqSet("{[1@2019-09-01, 2@2019-09-02],[1@2019-09-03, 1@2019-09-05]}"), "TIntSeqSet", new TIntInst("2@2019-09-01"), new TIntSeqSet("{[1@2019-09-01, 1@2019-09-02),[0@2019-09-03, 0@2019-09-05)}")) @@ -388,8 +419,9 @@ private static Stream delta_value() throws SQLException { private static Stream always_equal() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 1, true ), Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 2, false ), @@ -403,8 +435,9 @@ private static Stream always_equal() throws SQLException { private static Stream ever_equal() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 1, true ), Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 2, false ), @@ -418,8 +451,9 @@ private static Stream ever_equal() throws SQLException { private static Stream ever_greater() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 1, false ), Arguments.of(new TIntInst("1@2019-09-01"), "TIntInst", 2, true ), @@ -452,8 +486,9 @@ private static Stream ever_greater() throws SQLException { @ParameterizedTest(name="source={0}, type={1}, interpolation={2}") @MethodSource("frombasetime") void testFromBaseTimeConstructor(Time source, String type, TInterpolation interpolation) throws InvocationTargetException, NoSuchMethodException, InstantiationException, IllegalAccessException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TIntSeq") { System.out.println(source.toString()); TIntSeq ti = (TIntSeq)TInt.from_base_time(1, source, interpolation); @@ -474,8 +509,9 @@ void testFromBaseTimeConstructor(Time source, String type, TInterpolation interp @ParameterizedTest(name ="source={0}, type={1}, interpolation={2}") @MethodSource("frombasetemporal") void testFromBaseTemporalConstructor(Temporal source, String type, TInterpolation interpolation) { - //functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + //GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TIntInst"){ TIntInst ti = new TIntInst(); TIntInst new_ti = (TIntInst) ti.from_base_temporal(1,source,interpolation); @@ -502,8 +538,9 @@ else if (type == "TIntSeq") { @ParameterizedTest(name ="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromstring") void testStringConstructor(String source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TIntInst"){ TIntInst tinst = new TIntInst(source); assertTrue(tinst instanceof TIntInst); @@ -530,8 +567,9 @@ else if (type == "TIntSeq") { @ParameterizedTest(name ="source={0}, type={1}") @MethodSource("fromcopy") void testCopyConstructor(Temporal source, String type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TIntInst"){ TIntInst tb = (TIntInst)source.copy(); assertEquals(tb.to_string(),(((TIntInst) source).to_string())); @@ -551,8 +589,9 @@ else if (type == "TIntSeq") { @ParameterizedTest(name ="source={0}, type={1}, interpolation={2}, expected={3}") @MethodSource("fromstring") void testString(String source, String type, TInterpolation interpolation, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TIntInst"){ TIntInst tinst = new TIntInst(source); assertEquals(tinst.to_string(),expected); @@ -571,8 +610,9 @@ else if (type == "TIntSeq") { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("totfloat") void testToTfloat(TInt source, String type, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TIntInst"){ TFloatInst tinst = (TFloatInst) source.to_tfloat(); assertEquals(tinst.to_string(2),expected); @@ -592,8 +632,9 @@ else if (type == "TIntSeq") { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("bounding") void testBoundingBox(Temporal source, String type, Box expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.bounding_box().toString(),expected.to_period().toString()); } @@ -601,8 +642,9 @@ void testBoundingBox(Temporal source, String type, Box expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("interp") void testInterpolation(Temporal source, String type, TInterpolation expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.interpolation(),expected); } @@ -610,8 +652,9 @@ void testInterpolation(Temporal source, String type, TInterpolation expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("value_span") void testValueSpan(TInt source, String type, IntSpan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.value_span().toString(),expected.toString()); } @@ -619,8 +662,9 @@ void testValueSpan(TInt source, String type, IntSpan expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("value_spans") void testValuesSpan(TInt source, String type, IntSpanSet expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.value_spans().toString(),expected.toString()); } @@ -628,8 +672,9 @@ void testValuesSpan(TInt source, String type, IntSpanSet expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("start_value") void testStart_value(TInt source, String type, int expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.start_value(),expected); } @@ -637,8 +682,9 @@ void testStart_value(TInt source, String type, int expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("end_value") void testEnd_value(TInt source, String type, int expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.end_value(),expected); } @@ -646,8 +692,9 @@ void testEnd_value(TInt source, String type, int expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("min_value") void testMin_value(TInt source, String type, int expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.min_value(),expected); } @@ -655,8 +702,9 @@ void testMin_value(TInt source, String type, int expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("max_value") void testMax_value(TInt source, String type, int expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.max_value(),expected); } @@ -664,8 +712,9 @@ void testMax_value(TInt source, String type, int expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("time") void testTime(Temporal source, String type, tstzspanset expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.time().toString(),expected.toString()); } @@ -674,8 +723,9 @@ void testTime(Temporal source, String type, tstzspanset expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("period") void testtstzspan(Temporal source, String type, tstzspan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.period().toString(),expected.toString()); } @@ -683,8 +733,9 @@ void testtstzspan(Temporal source, String type, tstzspan expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("period") void testTimespan(Temporal source, String type, tstzspan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.timespan().toString(),expected.toString()); } @@ -692,8 +743,9 @@ void testTimespan(Temporal source, String type, tstzspan expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("num_instant") void testNumInstant(Temporal source, String type, int expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.num_instants(),expected); } @@ -701,8 +753,9 @@ void testNumInstant(Temporal source, String type, int expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("start_instant") void testStartInstant(Temporal source, String type, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TIntInst)source.start_instant()).to_string(),((TIntInst)expected.start_instant()).to_string()); } @@ -710,8 +763,9 @@ void testStartInstant(Temporal source, String type, Temporal expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("end_instant") void testEndInstant(Temporal source, String type, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TIntInst)source.end_instant()).to_string(),((TIntInst)expected.end_instant()).to_string()); } @@ -720,8 +774,9 @@ void testEndInstant(Temporal source, String type, Temporal expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("start_instant") void testMinInstant(Temporal source, String type, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TIntInst)source.min_instant()).to_string(),((TIntInst)expected.min_instant()).to_string()); } @@ -729,8 +784,9 @@ void testMinInstant(Temporal source, String type, Temporal expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("max_instant") void testMaxInstant(Temporal source, String type, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TIntInst)source.max_instant()).to_string(),((TIntInst)expected.max_instant()).to_string()); } @@ -739,8 +795,9 @@ void testMaxInstant(Temporal source, String type, Temporal expected) { @ParameterizedTest(name ="source={0}, n={1}, expected={2}") @MethodSource("instant_n") void testInstant_n(Temporal source, int n, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TIntInst)source.instant_n(n)).to_string(),((TIntInst)expected).to_string()); } @@ -748,8 +805,9 @@ void testInstant_n(Temporal source, int n, Temporal expected) { @ParameterizedTest(name ="source={0}, n={1}, expected={2}") @MethodSource("num_timestamps") void testNumTimestamps(Temporal source, int n, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.num_timestamps(),n); } @@ -757,8 +815,9 @@ void testNumTimestamps(Temporal source, int n, Temporal expected) { @ParameterizedTest(name ="source={0}, n={1}, expected={2}") @MethodSource("start_timestamps") void testStartTimestamps(Temporal source, int n, LocalDateTime expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.start_timestamp(),expected); } @@ -766,8 +825,9 @@ void testStartTimestamps(Temporal source, int n, LocalDateTime expected) { @ParameterizedTest(name ="source={0}, n={1}, expected={2}") @MethodSource("end_timestamps") void testEndTimestamps(Temporal source, int n, LocalDateTime expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.end_timestamp(),expected); } @@ -775,8 +835,9 @@ void testEndTimestamps(Temporal source, int n, LocalDateTime expected) { @ParameterizedTest(name ="source={0}, n={1}, expected={2}") @MethodSource("hash") void testHash(Temporal source, long n, LocalDateTime expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(source.hash(),n); } @@ -784,8 +845,9 @@ void testHash(Temporal source, long n, LocalDateTime expected) { @ParameterizedTest(name ="source={0}, type={1}, expected={2}") @MethodSource("toinstant") void testToinstant(Temporal source, String type, TIntInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TIntInst tmp = (TIntInst) source.to_instant(); assertTrue(tmp instanceof TIntInst); assertEquals(tmp.to_string(),expected.to_string()); @@ -797,8 +859,9 @@ void testToinstant(Temporal source, String type, TIntInst expected) { @ParameterizedTest(name ="source={0}, type={1}, interp={2}, expected={3}") @MethodSource("tosequence") void testTosequence(Temporal source, String type, TInterpolation interp, TIntSeq expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); System.out.println(source.to_sequence(interp).start_timestamp()); // System.out.println(source.to_sequenceset(interp)); TIntSeq tmp = (TIntSeq) source.to_sequence(interp); @@ -810,8 +873,9 @@ void testTosequence(Temporal source, String type, TInterpolation interp, TIntSeq @ParameterizedTest(name ="source={0}, type={1}, interp={2}, expected={3}") @MethodSource("tosequenceset") void testTosequenceset(Temporal source, String type, TInterpolation interp, TIntSeqSet expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); System.out.println(source.to_sequenceset(interp).start_timestamp()); TIntSeqSet tmp = (TIntSeqSet) source.to_sequenceset(interp); assertTrue(tmp instanceof TIntSeqSet); @@ -824,8 +888,9 @@ void testTosequenceset(Temporal source, String type, TInterpolation interp, TInt @ParameterizedTest(name ="source={0}, type={1}, tseq={2}, expected={3}") @MethodSource("insert") void testInsert(Temporal source, String type, TIntSeq tseq, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TIntInst"){ TIntInst tmp = (TIntInst) source.insert(tseq); assertEquals(tmp.to_string(), ((TIntSeq)expected).to_string()); @@ -844,8 +909,9 @@ void testInsert(Temporal source, String type, TIntSeq tseq, Temporal expected) { @ParameterizedTest(name ="source={0}, type={1}, tseq={2}, expected={3}") @MethodSource("update") void testUpdate(Temporal source, String type, TIntInst tseq, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TIntInst"){ TIntInst tmp = (TIntInst) source.update(tseq); assertEquals(tmp.to_string(), ((TIntInst)expected).to_string()); @@ -861,8 +927,9 @@ void testUpdate(Temporal source, String type, TIntInst tseq, Temporal expected) @ParameterizedTest(name ="source={0}, type={1}, tseq={2}, expected={3}") @MethodSource("append_sequence") void testAppendSequence(Temporal source, String type, TIntSeq tseq, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TIntSeq") { TIntSeq tmp = (TIntSeq) source.append_sequence(tseq); assertEquals(tmp.to_string(), ((TIntSeqSet)expected).to_string()); @@ -875,8 +942,9 @@ void testAppendSequence(Temporal source, String type, TIntSeq tseq, Temporal exp @ParameterizedTest(name ="source={0}, type={1}, tseq={2}, expected={3}") @MethodSource("abs") void testAbs(Temporal source, String type, TIntInst tseq, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TIntInst"){ TNumber tmp = ((TNumber) source).abs(); assertEquals(((TIntInst)tmp).to_string(), ((TIntInst)source).to_string()); @@ -893,8 +961,9 @@ void testAbs(Temporal source, String type, TIntInst tseq, Temporal expected) { @ParameterizedTest(name ="source={0}, type={1}, tseq={2}, expected={3}") @MethodSource("delta_value") void testDeltaValue(Temporal source, String type, TIntInst tseq, Temporal expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if(type == "TIntInst"){ TNumber tmp = ((TNumber) source).delta_value(); assertEquals(((TIntInst)tmp).to_string(), ((TIntInst)expected).to_string()); @@ -912,8 +981,9 @@ void testDeltaValue(Temporal source, String type, TIntInst tseq, Temporal expect @ParameterizedTest(name ="source={0}, type={1}, arg={2}, expected={3}") @MethodSource("always_equal") void testAlwaysEqual(Temporal source, String type, int arg, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); System.out.println(((TInt)source).never_not_equal(arg)); System.out.println(expected); assertEquals(((TInt)source).always_equal(arg),expected); @@ -927,8 +997,9 @@ void testAlwaysEqual(Temporal source, String type, int arg, boolean expected) { @ParameterizedTest(name ="source={0}, type={1}, arg={2}, expected={3}") @MethodSource("ever_equal") void testEverEqual(Temporal source, String type, int arg, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); // assertEquals(((TInt)source).ever_equal(arg),expected); assertEquals(((TInt)source).always_not_equal(arg),!expected); // assertEquals(((TInt)source).never_equal(arg),! expected); @@ -938,8 +1009,9 @@ void testEverEqual(Temporal source, String type, int arg, boolean expected) { @ParameterizedTest(name ="source={0}, type={1}, arg={2}, expected={3}") @MethodSource("ever_greater") void testEverGreater(Temporal source, String type, int arg, boolean expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TInt)source).always_less(arg),expected); assertEquals(((TInt)source).never_greater_or_equal(arg),expected); assertEquals(((TInt)source).ever_greater_or_equal(arg),! expected); diff --git a/jmeos-core/src/test/java/basic/TTextTest.java b/jmeos-core/src/test/java/basic/TTextTest.java index e259edc37..5290debc2 100644 --- a/jmeos-core/src/test/java/basic/TTextTest.java +++ b/jmeos-core/src/test/java/basic/TTextTest.java @@ -1,6 +1,6 @@ package basic; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; @@ -32,8 +32,9 @@ public class TTextTest { static error_handler_fn errorHandler = new error_handler(); static Stream TText_string_constructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("AAA@2019-09-01", "TTextInst", TInterpolation.NONE, "\"AAA\"@2019-09-01 00:00:00+00"), Arguments.of("{AAA@2019-09-01, BBB@2019-09-02}", "TTextSeq", TInterpolation.DISCRETE, "{\"AAA\"@2019-09-01 00:00:00+00, \"BBB\"@2019-09-02 00:00:00+00}"), @@ -43,8 +44,9 @@ static Stream TText_string_constructor() throws SQLException { } static Stream TText_base_time_constructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzset("{2019-09-01, 2019-09-02}"), "TTextSeq", TInterpolation.DISCRETE), Arguments.of(new tstzspan("[2019-09-01, 2019-09-02]"), "TTextSeqSet", TInterpolation.STEPWISE), @@ -54,8 +56,9 @@ static Stream TText_base_time_constructor() throws SQLException { static Stream TText_copy_constructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", TInterpolation.NONE), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", TInterpolation.DISCRETE), @@ -66,8 +69,9 @@ static Stream TText_copy_constructor() throws SQLException { static Stream TText_string() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", "\"AAA\"@2019-09-01 00:00:00+00"), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq","{\"AAA\"@2019-09-01 00:00:00+00, \"BBB\"@2019-09-02 00:00:00+00}"), @@ -78,8 +82,9 @@ static Stream TText_string() throws SQLException { static Stream TText_bounding() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst",new tstzspan("[2019-09-01, 2019-09-01]")), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", new tstzspan("[2019-09-01, 2019-09-02]")), @@ -90,8 +95,9 @@ static Stream TText_bounding() throws SQLException { static Stream TText_interp() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", TInterpolation.NONE), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", TInterpolation.DISCRETE), @@ -101,8 +107,9 @@ static Stream TText_interp() throws SQLException { } static Stream TText_start() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", "AAA"), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", "AAA"), @@ -113,8 +120,9 @@ static Stream TText_start() throws SQLException { static Stream TText_end() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", "AAA"), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", "BBB"), @@ -125,8 +133,9 @@ static Stream TText_end() throws SQLException { static Stream TText_time() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", new tstzspanset("{[2019-09-01, 2019-09-01]}")), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", new tstzspanset("{[2019-09-01, 2019-09-01], [2019-09-02, 2019-09-02]}")), @@ -137,8 +146,9 @@ static Stream TText_time() throws SQLException { static Stream TText_numinst() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", 1), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", 2), @@ -150,8 +160,9 @@ static Stream TText_numinst() throws SQLException { static Stream TText_startinst() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", new TTextInst("AAA@2019-09-01")), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", new TTextInst("AAA@2019-09-01")), @@ -162,8 +173,9 @@ static Stream TText_startinst() throws SQLException { static Stream TText_endinst() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", new TTextInst("AAA@2019-09-01")), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", new TTextInst("BBB@2019-09-02")), @@ -175,8 +187,9 @@ static Stream TText_endinst() throws SQLException { static Stream TText_mininst() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", new TTextInst("AAA@2019-09-01")), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", new TTextInst("AAA@2019-09-01")), @@ -187,8 +200,9 @@ static Stream TText_mininst() throws SQLException { static Stream TText_maxinst() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", new TTextInst("AAA@2019-09-01")), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq", new TTextInst("BBB@2019-09-02")), @@ -198,8 +212,9 @@ static Stream TText_maxinst() throws SQLException { } static Stream TText_instn() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", 0, new TTextInst("AAA@2019-09-01")), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq",1, new TTextInst("BBB@2019-09-02")), @@ -210,8 +225,9 @@ static Stream TText_instn() throws SQLException { static Stream TText_numtmstp() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", 1), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq",2), @@ -222,8 +238,9 @@ static Stream TText_numtmstp() throws SQLException { static Stream TText_starttmstp() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq",LocalDateTime.of(2019, 9, 1, 0, 0,0)), @@ -233,8 +250,9 @@ static Stream TText_starttmstp() throws SQLException { } static Stream TText_endtmstp() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", LocalDateTime.of(2019, 9, 1, 0, 0,0)), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq",LocalDateTime.of(2019, 9, 2, 0, 0,0)), @@ -245,8 +263,9 @@ static Stream TText_endtmstp() throws SQLException { static Stream TText_hash() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), "TTextInst", 1893808825), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), "TTextSeq",1223816819), @@ -257,8 +276,9 @@ static Stream TText_hash() throws SQLException { static Stream TText_toinstant() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"),new TTextInst("AAA@2019-09-01")), Arguments.of(new TTextSeq("{AAA@2019-09-01}"), new TTextInst("AAA@2019-09-01")), @@ -269,8 +289,9 @@ static Stream TText_toinstant() throws SQLException { static Stream TText_tosequence() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), TInterpolation.STEPWISE, new TTextSeq("[AAA@2019-09-01]")), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), TInterpolation.DISCRETE, new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}")), @@ -281,8 +302,9 @@ static Stream TText_tosequence() throws SQLException { static Stream TText_tosequenceset() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), TInterpolation.STEPWISE, new TTextSeqSet("{[AAA@2019-09-01]}")), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), TInterpolation.STEPWISE, new TTextSeqSet("{[AAA@2019-09-01], [BBB@2019-09-02]}")) @@ -294,8 +316,9 @@ static Stream TText_tosequenceset() throws SQLException { static Stream TText_insert() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), new TTextSeq("{AAA@2019-09-03}"), new TTextSeq("{AAA@2019-09-01, AAA@2019-09-03}"), "TTextInst"), Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), new TTextSeq("{AAA@2019-09-03}"), new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02, AAA@2019-09-03}"), "TTextSeq"), @@ -306,8 +329,9 @@ static Stream TText_insert() throws SQLException { static Stream TText_update() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextInst("AAA@2019-09-01"), new TTextInst("BBB@2019-09-01"), new TTextInst("BBB@2019-09-01"), "TTextInst" ), Arguments.of(new TTextSeq("[AAA@2019-09-01, BBB@2019-09-02]"), new TTextInst("BBB@2019-09-01"), new TTextSeqSet("{[BBB@2019-09-01], (AAA@2019-09-01, BBB@2019-09-02]}"), "TTextSeq"), @@ -318,8 +342,9 @@ static Stream TText_update() throws SQLException { static Stream TText_appendseq() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02}"), new TTextSeq("{AAA@2019-09-03}"), new TTextSeq("{AAA@2019-09-01, BBB@2019-09-02, AAA@2019-09-03}"), "TTextSeq"), Arguments.of(new TTextSeqSet("{[AAA@2019-09-01, BBB@2019-09-02],[AAA@2019-09-03, AAA@2019-09-05]}"), new TTextSeq("[AAA@2019-09-06]"), new TTextSeqSet("{[AAA@2019-09-01, BBB@2019-09-02],[AAA@2019-09-03, AAA@2019-09-05],[AAA@2019-09-06]}"), "TTextSeqSet") @@ -345,8 +370,9 @@ static Stream TText_appendseq() throws SQLException { @ParameterizedTest(name = "value={0}, type={1}, interp={2}, repr={3}") @MethodSource("TText_string_constructor") public void testFromStringConstructor(String value, String type, TInterpolation interp, String repr) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TTextInst") { TTextInst tb = new TTextInst(value); assertTrue(tb instanceof TTextInst); @@ -369,8 +395,9 @@ public void testFromStringConstructor(String value, String type, TInterpolation @ParameterizedTest(name = "base={0}, type={1}, interp={2}") @MethodSource("TText_base_time_constructor") public void testFromBaseTimeConstructor(Time base, String type, TInterpolation interp) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TTextInst") { TTextInst tb = (TTextInst) TText.from_base_time("AAA", base); assertTrue(tb instanceof TTextInst); @@ -392,8 +419,9 @@ public void testFromBaseTimeConstructor(Time base, String type, TInterpolation i @ParameterizedTest(name = "base={0}, type={1}, interp={2}") @MethodSource("TText_copy_constructor") public void testCopyConstructor(Temporal base, String type, TInterpolation interp) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TTextInst") { TTextInst tb = (TTextInst) base.copy(); assertEquals(tb.to_string(),(((TTextInst) base).to_string())); @@ -411,8 +439,9 @@ public void testCopyConstructor(Temporal base, String type, TInterpolation inter @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_string") public void testString(Temporal base, String type, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TTextInst") { TTextInst tb = (TTextInst) base.copy(); assertEquals(tb.to_string(),expected); @@ -429,8 +458,9 @@ public void testString(Temporal base, String type, String expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_bounding") public void testBoundingBox(Temporal base, String type, tstzspan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.bounding_box().toString(),expected.toString()); } @@ -439,8 +469,9 @@ public void testBoundingBox(Temporal base, String type, tstzspan expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_interp") public void testInterpolation(Temporal base, String type, TInterpolation expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.interpolation(),expected); } @@ -448,8 +479,9 @@ public void testInterpolation(Temporal base, String type, TInterpolation expecte @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_start") public void testStartValues(Temporal base, String type, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TText) base).start_value() ,expected); } @@ -457,8 +489,9 @@ public void testStartValues(Temporal base, String type, String expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_end") public void testEndValues(Temporal base, String type, String expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TText) base).end_value() ,expected); } @@ -466,8 +499,9 @@ public void testEndValues(Temporal base, String type, String expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_time") public void testTime(Temporal base, String type, tstzspanset expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.time().toString() ,expected.toString()); } @@ -475,8 +509,9 @@ public void testTime(Temporal base, String type, tstzspanset expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_bounding") public void testtstzspan(Temporal base, String type, tstzspan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.period().toString() ,expected.toString()); } @@ -484,16 +519,18 @@ public void testtstzspan(Temporal base, String type, tstzspan expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_bounding") public void testSpan(Temporal base, String type, tstzspan expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.timespan().toString(),expected.toString()); } @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_numinst") public void testNumInst(Temporal base, String type, int expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.num_instants(),expected); } @@ -501,8 +538,9 @@ public void testNumInst(Temporal base, String type, int expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_startinst") public void testStartInst(Temporal base, String type, TTextInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TTextInst)base.start_instant()).to_string(),expected.to_string()); } @@ -510,8 +548,9 @@ public void testStartInst(Temporal base, String type, TTextInst expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_endinst") public void testEndInst(Temporal base, String type, TTextInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TTextInst)base.end_instant()).to_string(),expected.to_string()); } @@ -519,8 +558,9 @@ public void testEndInst(Temporal base, String type, TTextInst expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_mininst") public void testMinInst(Temporal base, String type, TTextInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TTextInst)base.min_instant()).to_string(),expected.to_string()); } @@ -528,8 +568,9 @@ public void testMinInst(Temporal base, String type, TTextInst expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_maxinst") public void testMaxInst(Temporal base, String type, TTextInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TTextInst)base.max_instant()).to_string(),expected.to_string()); } @@ -537,8 +578,9 @@ public void testMaxInst(Temporal base, String type, TTextInst expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_instn") public void testInstN(Temporal base, String type, int n, TTextInst expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(((TTextInst)base.instant_n(n)).to_string(),expected.to_string()); } @@ -546,8 +588,9 @@ public void testInstN(Temporal base, String type, int n, TTextInst expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_numtmstp") public void testNumtmstmp(Temporal base, String type, int expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.num_timestamps(),expected); } @@ -555,8 +598,9 @@ public void testNumtmstmp(Temporal base, String type, int expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_starttmstp") public void testStarttmstmp(Temporal base, String type, LocalDateTime expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.start_timestamp(),expected); } @@ -564,8 +608,9 @@ public void testStarttmstmp(Temporal base, String type, LocalDateTime expected) @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_endtmstp") public void testEndtmstmp(Temporal base, String type, LocalDateTime expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.end_timestamp(),expected); } @@ -573,8 +618,9 @@ public void testEndtmstmp(Temporal base, String type, LocalDateTime expected) { @ParameterizedTest(name = "base={0}, type={1}, expected={2}") @MethodSource("TText_hash") public void testHash(Temporal base, String type, long expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(base.hash(),expected); } @@ -582,8 +628,9 @@ public void testHash(Temporal base, String type, long expected) { @ParameterizedTest(name = "base={0}, type={1}") @MethodSource("TText_toinstant") public void testToInstant(Temporal base, TTextInst type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); Temporal tmp = base.to_instant(); assertTrue(tmp instanceof TTextInst); assertEquals(((TTextInst) tmp).to_string(), type.to_string()); @@ -593,8 +640,9 @@ public void testToInstant(Temporal base, TTextInst type) { @ParameterizedTest(name = "base={0}, interp={1}, type={2}") @MethodSource("TText_tosequence") public void testToSequence(Temporal base, TInterpolation interp, TTextSeq type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); Temporal tmp = base.to_sequence(interp); assertTrue(tmp instanceof TTextSeq); assertEquals(((TTextSeq) tmp).to_string(), type.to_string()); @@ -605,8 +653,9 @@ public void testToSequence(Temporal base, TInterpolation interp, TTextSeq type) @ParameterizedTest(name = "base={0}, interp={1}, type={2}") @MethodSource("TText_tosequenceset") public void testToSequenceSet(Temporal base, TInterpolation interp, TTextSeqSet type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); Temporal tmp = base.to_sequenceset(interp); assertTrue(tmp instanceof TTextSeqSet); assertEquals(((TTextSeqSet) tmp).to_string(), type.to_string()); @@ -617,8 +666,9 @@ public void testToSequenceSet(Temporal base, TInterpolation interp, TTextSeqSet @ParameterizedTest(name = "base={0}, base2={1}, tseq={2}, type={3}") @MethodSource("TText_insert") public void testInsert(Temporal base, Temporal base2, Temporal tseq, String type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TTextInst") { assertEquals(((TTextInst)base.insert(base2)).to_string(), ((TTextSeq) tseq).to_string()); } else if (type == "TTextSeq") { @@ -632,8 +682,9 @@ public void testInsert(Temporal base, Temporal base2, Temporal tseq, String type @ParameterizedTest(name = "base={0}, base2={1}, tseq={2}, type={3}") @MethodSource("TText_update") public void testUpdate(Temporal base, Temporal base2, Temporal tseq, String type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TTextInst") { assertEquals(((TTextInst)base.update(base2)).to_string(), ((TTextInst) tseq).to_string()); } else if (type == "TTextSeq") { @@ -648,8 +699,9 @@ public void testUpdate(Temporal base, Temporal base2, Temporal tseq, String type @ParameterizedTest(name = "base={0}, base2={1}, tseq={2}, type={3}") @MethodSource("TText_appendseq") public void testAppendSeq(Temporal base, TSequence base2, Temporal tseq, String type) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); if (type == "TTextSeq") { assertEquals(((TTextSeq)base.append_sequence(base2)).to_string(), ((TTextSeq) tseq).to_string()); } else if (type == "TTextSeqSet") { diff --git a/jmeos-core/src/test/java/boxes/STBoxTest.java b/jmeos-core/src/test/java/boxes/STBoxTest.java index 2f01305dd..3b45f0734 100644 --- a/jmeos-core/src/test/java/boxes/STBoxTest.java +++ b/jmeos-core/src/test/java/boxes/STBoxTest.java @@ -1,10 +1,10 @@ package boxes; +import functions.GeneratedFunctions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.*; -import functions.functions; import java.sql.SQLException; import java.util.Objects; import java.util.stream.Stream; @@ -32,8 +32,9 @@ public class STBoxTest { static error_handler_fn errorHandler = new error_handler(); public STBoxTest() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); stbx = new STBox("STBOX X((1, 1),(2, 2))"); stbz = new STBox("STBOX Z((1, 1, 1),(2, 2, 2))"); stbt = new STBox("STBOX T([2019-09-01,2019-09-02])"); @@ -42,8 +43,9 @@ public STBoxTest() throws SQLException { } static Stream STBox_sources() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new STBox("STBOX X((1, 1),(2, 2))"), "STBOX X((1, 1),(2, 2))" ), Arguments.of(new STBox("STBOX Z((1, 1, 1),(2, 2, 2))"), "STBOX Z((1, 1, 1),(2, 2, 2))" ), @@ -61,7 +63,7 @@ static Stream STBox_sources() throws SQLException { }, delimiter = ';') @DisplayName("Test String Constructor") public void testStringConstructor(String source, String type, String expected) throws SQLException { - //functions.meos_initialize("UTC"); + //GeneratedFunctions.meos_initialize("UTC"); STBox stb = new STBox(source); assertEquals(stb.toString(15),expected); assertEquals(type,stb.getClass().getSimpleName()); @@ -90,7 +92,7 @@ public void testFromGeometryConstructor(String geometryString, String expected) }, delimiter = ';') @DisplayName("Test Time Constructor") public void testFromTimeConstructor(String type, String source, String expected) throws SQLException { - //functions.meos_initialize("UTC"); + //GeneratedFunctions.meos_initialize("UTC"); if (type == "TSet"){ STBox stb = STBox.from_time(new tstzspanset(source)); assertEquals("STBox", stb.getClass().getSimpleName()); @@ -111,8 +113,9 @@ public void testFromTimeConstructor(String type, String source, String expected) @ParameterizedTest(name = "box={0}, str={1}") @MethodSource("STBox_sources") public void testFromAsConstructor(STBox box, String str) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); STBox stb = new STBox(str); assertTrue(stb.eq(box)); } @@ -121,8 +124,9 @@ public void testFromAsConstructor(STBox box, String str) throws SQLException { @ParameterizedTest(name = "box={0}, str={1}") @MethodSource("STBox_sources") public void testCopyConstructor(STBox box, String str) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); STBox stb = box.copy(); assertTrue(stb.eq(box)); assertFalse(stb.get_inner() == box.get_inner()); @@ -168,7 +172,7 @@ public void testToGeometry(String stbox, String expected) throws SQLException, P "STBox XT(((1, 1),(2, 2)),[2019-09-01,2019-09-02]); [2019-09-01 00:00:00+00, 2019-09-02 00:00:00+00]", }, delimiter = ';') public void testToPeriod(String stbox, String expected) throws SQLException, ParseException { - //functions.meos_initialize("UTC"); + //GeneratedFunctions.meos_initialize("UTC"); STBox stb = new STBox(stbox); System.out.println(stb.to_period()); tstzspan p = stb.to_period(); diff --git a/jmeos-core/src/test/java/boxes/TBoxTest.java b/jmeos-core/src/test/java/boxes/TBoxTest.java index 4fb6f25b9..66c6534dc 100644 --- a/jmeos-core/src/test/java/boxes/TBoxTest.java +++ b/jmeos-core/src/test/java/boxes/TBoxTest.java @@ -1,11 +1,11 @@ package boxes; +import functions.GeneratedFunctions; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.*; -import functions.functions; import java.sql.SQLException; import java.util.stream.Stream; import types.boxes.*; @@ -30,8 +30,9 @@ class TBoxTest { static error_handler_fn errorHandler = new error_handler(); static Stream TBox_sources() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBox("TBOXFLOAT X([1, 2])"),"TBox", "TBOXFLOAT X([1, 2])" ), Arguments.of(new TBox("TBOX T([2019-09-01, 2019-09-02])"), "TBox", "TBOX T([2019-09-01 00:00:00+00, 2019-09-02 00:00:00+00])" ), @@ -40,8 +41,9 @@ static Stream TBox_sources() throws SQLException { } static Stream TBox_number() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(1, "TBOXINT X([1, 2))","TBox"), Arguments.of(1.5f, "TBOXFLOAT X([1.5, 1.5])", "TBox") @@ -49,8 +51,9 @@ static Stream TBox_number() throws SQLException { } static Stream TBox_span() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new IntSpan(1, 2, true, true),"TBox", "TBOXINT X([1, 3))" ), Arguments.of(new FloatSpan(1.5f, 2.5f, true, true),"TBox", "TBOXFLOAT X([1.5, 2.5])" ) @@ -59,8 +62,9 @@ static Stream TBox_span() throws SQLException { static Stream TBox_time() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzset("{2019-09-01, 2019-09-02}"),"TBox", "TBOX T([2019-09-01 00:00:00+00, 2019-09-02 00:00:00+00])" ), Arguments.of(new tstzspan("[2019-09-01, 2019-09-02]"),"TBox", "TBOX T([2019-09-01 00:00:00+00, 2019-09-02 00:00:00+00])" ), @@ -70,8 +74,9 @@ static Stream TBox_time() throws SQLException { static Stream TBox_basic() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBox("TBOXFLOAT X([1,2])"),"TBox", "TBOXFLOAT X([1, 2])" ), Arguments.of(new TBox("TBOX T([2019-09-01,2019-09-02])"),"TBox", "TBOX T([2019-09-01 00:00:00+00, 2019-09-02 00:00:00+00])" ), @@ -81,8 +86,9 @@ static Stream TBox_basic() throws SQLException { static Stream TBox_tofloatspan() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBox("TBOXFLOAT X([1,2])"),"TBox", new FloatSpan(1.0f, 2.0f, true, true) ), Arguments.of(new TBox("TBOXFLOAT XT([1,2],[2019-09-01,2019-09-02])"), "TBox",new FloatSpan(1.0f, 2.0f, true, true)) @@ -90,8 +96,9 @@ static Stream TBox_tofloatspan() throws SQLException { } static Stream TBox_toperiod() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBox("TBOXFLOAT X([1,2])"),"TBox", new tstzspan("[2019-09-08 02:03:00+0, 2019-09-10 02:03:00+0]")), Arguments.of(new TBox("TBOXFLOAT XT([1,2],[2019-09-01,2019-09-02])"), "TBox", new tstzspan("[2019-09-08 02:03:00+0, 2019-09-10 02:03:00+0]")) @@ -99,8 +106,9 @@ static Stream TBox_toperiod() throws SQLException { } static Stream TBox_expandfloat() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBox("TBOXFLOAT X([1,2])"),"TBox", new TBox("TBOXFLOAT X([1, 2])")), Arguments.of(new TBox("TBOXFLOAT XT([1,2],[2019-09-01,2019-09-02])"), "TBox", new TBox("TBOXFLOAT XT([1,2],[2019-09-01, 2019-09-02])")) @@ -108,8 +116,9 @@ static Stream TBox_expandfloat() throws SQLException { } static Stream TBox_expandtime() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBox("TBOXFLOAT X([1,2])"),"TBox", new tstzspan("[2019-09-08 02:03:00+0, 2019-09-10 02:03:00+0]")), Arguments.of(new TBox("TBOXFLOAT XT([1,2],[2019-09-01,2019-09-02])"), "TBox", new tstzspan("[2019-09-08 02:03:00+0, 2019-09-10 02:03:00+0]")) @@ -119,8 +128,9 @@ static Stream TBox_expandtime() throws SQLException { static Stream TBox_round() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new TBox("TBOXFLOAT X([1.123456789,2.123456789])"),"TBox", new TBox("TBOXFLOAT X([1.12,2.12])")), Arguments.of(new TBox("TBOXFLOAT XT([1.123456789,2.123456789],[2019-09-01, 2019-09-03])"), "TBox", new TBox("TBOXFLOAT XT([1.12,2.12],[2019-09-01, 2019-09-03])")) @@ -141,8 +151,9 @@ static Stream TBox_round() throws SQLException { @ParameterizedTest(name = "box={0}, type={1}, expected={2}") @MethodSource("TBox_sources") public void testStringConstructor(TBox box, String type, String expected) throws ParseException, SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertTrue(box instanceof TBox); assertEquals(box.toString(),expected); } @@ -151,8 +162,9 @@ public void testStringConstructor(TBox box, String type, String expected) throws @ParameterizedTest(name = "val={0}, box={1}, type={2}") @MethodSource("TBox_number") public void testFromValueNConstructor(Number val, String box, String type) throws ParseException, SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TBox new_tb = TBox.from_value_number(val); assertTrue(new_tb instanceof TBox); assertEquals(new_tb.toString(),box); @@ -162,8 +174,9 @@ public void testFromValueNConstructor(Number val, String box, String type) throw @ParameterizedTest(name = "sp={0}, type={1}, expected={2}") @MethodSource("TBox_span") public void testFromSpanConstructor(Span sp, String type, String expected) throws ParseException, SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TBox new_tb = TBox.from_value_span(sp); assertTrue(new_tb instanceof TBox); assertEquals(new_tb.toString(),expected); @@ -173,8 +186,9 @@ public void testFromSpanConstructor(Span sp, String type, String expected) throw @ParameterizedTest(name = "t={0}, type={1}, expected={2}") @MethodSource("TBox_time") public void testFromTimeConstructor(Time t, String type, String expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TBox new_tb = TBox.from_time(t); assertTrue(new_tb instanceof TBox); assertEquals(new_tb.toString(),expected); @@ -185,8 +199,9 @@ public void testFromTimeConstructor(Time t, String type, String expected) throws @ParameterizedTest(name = "t={0}, type={1}, expected={2}") @MethodSource("TBox_time") public void testCopyConstructor(Time t, String type, String expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TBox new_tb = TBox.from_time(t); assertTrue(new_tb instanceof TBox); assertEquals(new_tb.toString(),expected); @@ -196,8 +211,9 @@ public void testCopyConstructor(Time t, String type, String expected) throws Exc @ParameterizedTest(name = "t={0}, type={1}, expected={2}") @MethodSource("TBox_basic") public void testCopyConstructor(TBox t, String type, String expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TBox new_tb = t.copy(); assertTrue(new_tb instanceof TBox); assertEquals(new_tb.toString(), t.toString()); @@ -207,8 +223,9 @@ public void testCopyConstructor(TBox t, String type, String expected) throws Exc @ParameterizedTest(name = "t={0}, type={1}, expected={2}") @MethodSource("TBox_basic") public void testStrConstructor(TBox t, String type, String expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertTrue(t instanceof TBox); assertEquals(t.toString(), expected); } @@ -216,8 +233,9 @@ public void testStrConstructor(TBox t, String type, String expected) throws Exce @ParameterizedTest(name = "t={0}, type={1}, expected={2}") @MethodSource("TBox_tofloatspan") public void testStrConstructor(TBox t, String type, Span expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); FloatSpan z = t.to_floatspan(); assertTrue(z instanceof FloatSpan); assertEquals(z.toString(15), ((FloatSpan)expected).toString(15)); @@ -229,8 +247,9 @@ public void testStrConstructor(TBox t, String type, Span expected) throws Except @ParameterizedTest(name = "t={0}, type={1}, expected={2}") @MethodSource("TBox_expandfloat") public void testExpandFloat(TBox t, String type, TBox expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TBox tb = t.expand(1.0f); assertTrue(tb instanceof TBox); assertEquals(t.toString(15),expected.toString(15)); @@ -241,8 +260,9 @@ public void testExpandFloat(TBox t, String type, TBox expected) throws Exception @ParameterizedTest(name = "t={0}, type={1}, expected={2}") @MethodSource("TBox_round") public void testRound(TBox t, String type, TBox expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); TBox new_tb = t.round(2); System.out.println(t.toString()); System.out.println(new_tb.toString()); diff --git a/jmeos-core/src/test/java/collections/number/FloatSetTest.java b/jmeos-core/src/test/java/collections/number/FloatSetTest.java index 939624317..47762892e 100644 --- a/jmeos-core/src/test/java/collections/number/FloatSetTest.java +++ b/jmeos-core/src/test/java/collections/number/FloatSetTest.java @@ -1,6 +1,7 @@ package collections.number; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; @@ -32,8 +33,9 @@ static Stream FloatSet_sources() throws SQLException { // } // }; error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(5.0f, false ), Arguments.of(new FloatSet("{5, 10}"), false ) @@ -42,8 +44,9 @@ static Stream FloatSet_sources() throws SQLException { static Stream FloatSet_distances() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(5.0f, 2.0f ), Arguments.of(new FloatSet("{5, 10}"), 2.0f ) @@ -99,7 +102,7 @@ public void testEndElements(){ public void testElementN() throws Exception { System.out.println(floatset.toString(15)); System.out.println(floatset.elements()); -// System.out.println(Objects.requireNonNull(functions.floatset_value_n(floatset.get_inner(), 2)).getDouble(2*Double.BYTES)); +// System.out.println(Objects.requireNonNull(GeneratedFunctions.floatset_value_n(floatset.get_inner(), 2)).getDouble(2*Double.BYTES)); assertEquals(2.0f,floatset.element_n(1)); } diff --git a/jmeos-core/src/test/java/collections/number/FloatSpanSetTest.java b/jmeos-core/src/test/java/collections/number/FloatSpanSetTest.java index 26d1d3ca3..fe7643894 100644 --- a/jmeos-core/src/test/java/collections/number/FloatSpanSetTest.java +++ b/jmeos-core/src/test/java/collections/number/FloatSpanSetTest.java @@ -1,5 +1,6 @@ package collections.number; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.provider.Arguments; @@ -23,8 +24,9 @@ public class FloatSpanSetTest { static Stream IntSpan_sources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("(7, 10)", 8, 10, true, false), Arguments.of("[7, 10]", 7, 11, true, false) @@ -33,8 +35,9 @@ static Stream IntSpan_sources() throws SQLException { static Stream IntSpan_mulsources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("7", "10", 7, 10), Arguments.of(7, 10, 7, 10), @@ -44,8 +47,9 @@ static Stream IntSpan_mulsources() throws SQLException { static Stream Bound_sources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(true,true), Arguments.of(true,false), diff --git a/jmeos-core/src/test/java/collections/number/FloatSpanTest.java b/jmeos-core/src/test/java/collections/number/FloatSpanTest.java index a9429e8f9..6a28b75d4 100644 --- a/jmeos-core/src/test/java/collections/number/FloatSpanTest.java +++ b/jmeos-core/src/test/java/collections/number/FloatSpanTest.java @@ -1,5 +1,6 @@ package collections.number; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; @@ -23,8 +24,9 @@ public class FloatSpanTest { static Stream IntSpan_sources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("(2.5, 5.21)", 2.5f, 5.21f, false, false), Arguments.of("[2.5, 5.21]", 2.5f, 5.21f, true, true) @@ -33,8 +35,9 @@ static Stream IntSpan_sources() throws SQLException { static Stream IntSpan_mulsources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("2.5", "5.21", 2.5f, 5.21f), Arguments.of(2.5f, 5.21f, 2.5f, 5.21f), @@ -44,8 +47,9 @@ static Stream IntSpan_mulsources() throws SQLException { static Stream Bound_sources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(true,true), Arguments.of(true,false), diff --git a/jmeos-core/src/test/java/collections/number/IntSetTest.java b/jmeos-core/src/test/java/collections/number/IntSetTest.java index 56eb39bf7..dbbd47007 100644 --- a/jmeos-core/src/test/java/collections/number/IntSetTest.java +++ b/jmeos-core/src/test/java/collections/number/IntSetTest.java @@ -1,5 +1,6 @@ package collections.number; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; @@ -26,8 +27,9 @@ public class IntSetTest { static Stream IntSet_sources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(5, false ), Arguments.of(new IntSet("{5, 10}"), false ) @@ -36,8 +38,9 @@ static Stream IntSet_sources() throws SQLException { static Stream IntSet_distances() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(5, 2 ), Arguments.of(new IntSet("{5, 10}"), 2 ) diff --git a/jmeos-core/src/test/java/collections/number/IntSpanSetTest.java b/jmeos-core/src/test/java/collections/number/IntSpanSetTest.java index 8a132c019..56417e1c0 100644 --- a/jmeos-core/src/test/java/collections/number/IntSpanSetTest.java +++ b/jmeos-core/src/test/java/collections/number/IntSpanSetTest.java @@ -1,5 +1,6 @@ package collections.number; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -26,8 +27,9 @@ public class IntSpanSetTest { static Stream IntSpan_sources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("(7, 10)", 8, 10, true, false), Arguments.of("[7, 10]", 7, 11, true, false) @@ -36,8 +38,9 @@ static Stream IntSpan_sources() throws SQLException { static Stream IntSpan_mulsources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("7", "10", 7, 10), Arguments.of(7, 10, 7, 10), @@ -47,8 +50,9 @@ static Stream IntSpan_mulsources() throws SQLException { static Stream Bound_sources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(true,true), Arguments.of(true,false), diff --git a/jmeos-core/src/test/java/collections/number/IntSpanTest.java b/jmeos-core/src/test/java/collections/number/IntSpanTest.java index d19d6b660..d9f400c26 100644 --- a/jmeos-core/src/test/java/collections/number/IntSpanTest.java +++ b/jmeos-core/src/test/java/collections/number/IntSpanTest.java @@ -1,5 +1,6 @@ package collections.number; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; @@ -23,8 +24,9 @@ public class IntSpanTest { static Stream IntSpan_sources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("(7, 10)", 8, 10, true, false), Arguments.of("[7, 10]", 7, 11, true, false) @@ -33,8 +35,9 @@ static Stream IntSpan_sources() throws SQLException { static Stream IntSpan_mulsources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("7", "10", 7, 10), Arguments.of(7, 10, 7, 10), @@ -44,8 +47,9 @@ static Stream IntSpan_mulsources() throws SQLException { static Stream Bound_sources() throws SQLException { error_handler_fn errorHandler = new error_handler(); - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(true,true), Arguments.of(true,false), diff --git a/jmeos-core/src/test/java/collections/text/TextSetTest.java b/jmeos-core/src/test/java/collections/text/TextSetTest.java index 20f732d4b..d6a9ee215 100644 --- a/jmeos-core/src/test/java/collections/text/TextSetTest.java +++ b/jmeos-core/src/test/java/collections/text/TextSetTest.java @@ -4,7 +4,7 @@ import org.junit.jupiter.api.extension.ExtendWith; import types.collections.text.TextSet; import static org.junit.jupiter.api.Assertions.*; -import functions.functions; +import functions.GeneratedFunctions; import utils.TestLogger; import java.util.List; @@ -13,6 +13,12 @@ @ExtendWith(TestLogger.class) public class TextSetTest { + // Text comparison (varstr_cmp) needs the MEOS collation initialized; do it at + // class load, before the TextSet instance fields below are constructed. + static { + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_collation(); + } public TextSet tset = new TextSet("{A, BB, ccc}"); public TextSet other = new TextSet("{2020-01-02 00:00:00+0, 2020-03-31 00:00:00+0}"); public TextSet other2 = new TextSet("{2020-05-02 00:00:00+0, 2020-08-28 00:00:00+0}"); @@ -32,7 +38,7 @@ public void testStringConstructor(){ public void testAsHex(){ TextSet tset = new TextSet("{A, BB, ccc}"); String pr = tset.as_hexwkb(); - TextSet ttp = new TextSet(functions.set_from_hexwkb(pr)); + TextSet ttp = new TextSet(GeneratedFunctions.set_from_hexwkb(pr)); } diff --git a/jmeos-core/src/test/java/collections/time/DateSetTest.java b/jmeos-core/src/test/java/collections/time/DateSetTest.java index f540429e2..fce343f0d 100644 --- a/jmeos-core/src/test/java/collections/time/DateSetTest.java +++ b/jmeos-core/src/test/java/collections/time/DateSetTest.java @@ -1,6 +1,6 @@ package collections.time; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import java.lang.reflect.InvocationTargetException; @@ -31,8 +31,9 @@ class DateSetTest { private final dateset dset2; DateSetTest() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); dset = new dateset("{2019-09-25, 2019-09-26, 2019-09-27}"); dset2 = new dateset("{2019-09-08, 2019-09-10}"); } diff --git a/jmeos-core/src/test/java/collections/time/DateSpanSetTest.java b/jmeos-core/src/test/java/collections/time/DateSpanSetTest.java index 5ead84ab2..cedf9dd06 100644 --- a/jmeos-core/src/test/java/collections/time/DateSpanSetTest.java +++ b/jmeos-core/src/test/java/collections/time/DateSpanSetTest.java @@ -1,6 +1,6 @@ package collections.time; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import java.lang.reflect.InvocationTargetException; @@ -29,8 +29,9 @@ class DateSpanSetTest { private final datespanset dsset2; DateSpanSetTest() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); dsset = new datespanset("{[2019-09-08, 2019-09-10], [2019-09-11, 2019-09-12]}"); dsset2 = new datespanset("{[2020-09-08, 2020-09-10], [2020-09-11, 2020-09-12]}"); } diff --git a/jmeos-core/src/test/java/collections/time/DateSpanTest.java b/jmeos-core/src/test/java/collections/time/DateSpanTest.java index fb9c09d08..5ae4e1dde 100644 --- a/jmeos-core/src/test/java/collections/time/DateSpanTest.java +++ b/jmeos-core/src/test/java/collections/time/DateSpanTest.java @@ -1,6 +1,6 @@ package collections.time; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import java.lang.reflect.InvocationTargetException; @@ -28,8 +28,9 @@ class DateSpanTest { private final datespan dspan2; DateSpanTest() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); dspan = new datespan("[2019-09-25, 2019-09-27]"); dspan2 = new datespan("[2019-09-08, 2019-09-10)"); } diff --git a/jmeos-core/src/test/java/collections/time/TsTzSetTest.java b/jmeos-core/src/test/java/collections/time/TsTzSetTest.java index 54ed4e9df..35c039e8c 100644 --- a/jmeos-core/src/test/java/collections/time/TsTzSetTest.java +++ b/jmeos-core/src/test/java/collections/time/TsTzSetTest.java @@ -1,6 +1,6 @@ package collections.time; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import java.sql.SQLException; @@ -31,8 +31,9 @@ class TsTzSetTest { private static Stream times() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), true), @@ -44,8 +45,9 @@ private static Stream times() { public void assert_tstzset_equality(tstzset vset, List timestamps){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(vset.num_elements(), timestamps.size()); } @@ -53,8 +55,9 @@ public void assert_tstzset_equality(tstzset vset, List timestamps @Test public void testStringConstructor(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); List list = new ArrayList<>(); list.add(LocalDateTime.of(2019, 9, 1, 0, 0,0)); list.add(LocalDateTime.of(2019, 9, 2, 0, 0,0)); @@ -64,8 +67,9 @@ public void testStringConstructor(){ @Test public void testHexwkbConstructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); // tstzset tsett = types.collections.time.tstzset.from_hexwkb("012100000040021FFE3402000000B15A26350200"); String hexwkb_string= tset.as_hexwkb(); System.out.println(hexwkb_string); @@ -82,8 +86,9 @@ public void testHexwkbConstructor() throws SQLException { @Test public void testFromAsConstructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzset newtset = new tstzset("{2019-09-01 00:00:00+0, 2019-09-02 00:00:00+0, 2019-09-03 00:00:00+0}"); assertEquals(tset.toString(), newtset.toString()); } @@ -91,8 +96,9 @@ public void testFromAsConstructor() throws SQLException { @Test public void testCopyConstructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzset tsett = tset; assertEquals(tset.toString(),tsett.toString()); } @@ -100,16 +106,18 @@ public void testCopyConstructor() throws SQLException { @Test public void testStrOutput() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(tset.toString(),"{\"2019-09-01 00:00:00+00\", \"2019-09-02 00:00:00+00\", \"2019-09-03 00:00:00+00\"}"); } @Test public void testTimestampConversion() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspanset pset = new tstzspanset("{[2019-09-01 00:00:00+00, 2019-09-01 00:00:00+00], [2019-09-02 00:00:00+00, 2019-09-02 00:00:00+00], [2019-09-03 00:00:00+00, 2019-09-03 00:00:00+00]}"); tstzspanset converted = tset.to_spanset(); System.out.println(converted.toString()); @@ -119,8 +127,9 @@ public void testTimestampConversion() throws SQLException { @Test public void testtstzsetConversion() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspan p = new tstzspan("[2019-09-01 00:00:00+00, 2019-09-03 00:00:00+00]"); tstzspan converted = tset.to_span(); System.out.println(converted.toString()); @@ -130,38 +139,43 @@ public void testtstzsetConversion() throws SQLException { @Test public void testNumTimestamps() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(tset.num_elements(),3); } @Test public void testStartTimestamps() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(tset.start_element(),LocalDateTime.of(2019, 9, 1, 0, 0,0)); } @Test public void testEndTimestamps() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(tset.end_element(),LocalDateTime.of(2019, 9, 3, 0, 0,0)); } @Test public void testHash() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(tset.hash(),527267058); } @Test public void testIsContainedInFunction() throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzset tmp_set = new tstzset("{2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0}"); assertFalse(tset.is_contained_in(tmp_set)); } @@ -169,8 +183,9 @@ public void testIsContainedInFunction() throws Exception { @Test public void testOverlapsFunction() throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzset tmp_set = new tstzset("{2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0}"); assertFalse(tset.overlaps(tmp_set)); } @@ -178,16 +193,18 @@ public void testOverlapsFunction() throws Exception { @Test public void testIsBeforeFunction() throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzset tmp_set = new tstzset("{2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0}"); assertTrue(tset.is_before(tmp_set)); } @Test public void testIsOverOrBeforeFunction() throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzset tmp_set = new tstzset("{2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0}"); assertTrue(tset.is_over_or_before(tmp_set)); } @@ -195,26 +212,29 @@ public void testIsOverOrBeforeFunction() throws Exception { @Test public void testIsAfterFunction() throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzset tmp_set = new tstzset("{2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0}"); assertFalse(tset.is_after(tmp_set)); } @Test public void testIsOverOrAfterFunction() throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzset tmp_set = new tstzset("{2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0}"); assertFalse(tset.is_over_or_after(tmp_set)); } @Test public void testDistanceFunction() throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzset tmp_set = new tstzset("{2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0}"); - System.out.println(Duration.ofSeconds((long) functions.distance_tstzset_tstzset(tset.get_inner(), tmp_set.get_inner()))); + System.out.println(Duration.ofSeconds((long) GeneratedFunctions.distance_tstzset_tstzset(tset.get_inner(), tmp_set.get_inner()))); tset.distance(tmp_set); } @@ -222,16 +242,18 @@ public void testDistanceFunction() throws Exception { @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("times") public void testIntersection(Time other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); this.tset.intersection(other); } @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("times") public void testUnion(Time other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); this.tset.union(other); } @@ -239,8 +261,9 @@ public void testUnion(Time other, boolean expected) throws Exception { @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("times") public void testMinus(Time other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); this.tset.minus(other); } diff --git a/jmeos-core/src/test/java/collections/time/TsTzSpanSetTest.java b/jmeos-core/src/test/java/collections/time/TsTzSpanSetTest.java index 2262ccbcc..b7318f67f 100644 --- a/jmeos-core/src/test/java/collections/time/TsTzSpanSetTest.java +++ b/jmeos-core/src/test/java/collections/time/TsTzSpanSetTest.java @@ -1,11 +1,11 @@ package collections.time; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; -import functions.functions; import java.sql.SQLException; import java.time.LocalDateTime; @@ -41,8 +41,9 @@ class TsTzSpanSetTest { static error_handler_fn errorHandler= new error_handler(); private static Stream temporals_adjacent() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), false), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -56,8 +57,9 @@ private static Stream temporals_adjacent() { private static Stream temporals_iscontained() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), false), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -71,8 +73,9 @@ private static Stream temporals_iscontained() { private static Stream temporals_contains() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), false), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -86,8 +89,9 @@ private static Stream temporals_contains() { private static Stream temporals_overlaps() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), false), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -101,8 +105,9 @@ private static Stream temporals_overlaps() { private static Stream temporals_same() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), false), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -116,8 +121,9 @@ private static Stream temporals_same() { private static Stream temporals_before() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), true), @@ -131,8 +137,9 @@ private static Stream temporals_before() { private static Stream temporals_after() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), false), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -146,8 +153,9 @@ private static Stream temporals_after() { private static Stream temporals_overbefore() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), true), @@ -161,8 +169,9 @@ private static Stream temporals_overbefore() { private static Stream temporals_overafter() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), false), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -176,8 +185,9 @@ private static Stream temporals_overafter() { private static Stream intersection() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), true) @@ -185,8 +195,9 @@ private static Stream intersection() { } private static Stream other() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), true) ); @@ -201,16 +212,18 @@ public void assert_tstzspanset_equality(tstzspanset pset, List plist){ @Test public void testStringConstructor(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); System.out.println(pset.toString()); assert_tstzspanset_equality(this.pset,null); } @Test public void testtstzspansetListConstructor(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); List lst = new ArrayList(); lst.add(new tstzspan("[2019-09-01, 2019-09-02]")); lst.add(new tstzspan("[2019-09-03, 2019-09-04]")); @@ -222,8 +235,9 @@ public void testtstzspansetListConstructor(){ @Test public void testCopyConstructor(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspanset new_pset = new tstzspanset(pset.copy()); assertEquals(this.pset.toString(),new_pset.toString()); } @@ -231,24 +245,27 @@ public void testCopyConstructor(){ @Test public void testTotstzset(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.to_period().toString(), new tstzspan("[2019-09-01, 2019-09-04]").toString()); } @Test public void testNumTimestamps(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.num_timestamps(),4); assertEquals(this.pset2.num_timestamps(),3); } @Test public void testStartTimestamps(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.start_timestamp(), LocalDateTime.of(2019,9,1,0,0,0)); assertEquals(this.pset2.start_timestamp(),LocalDateTime.of(2019,9,1,0,0,0)); } @@ -256,8 +273,9 @@ public void testStartTimestamps(){ @Test public void testEndTimestamps(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.end_timestamp(),LocalDateTime.of(2019,9,4,0,0,0)); assertEquals(this.pset2.end_timestamp(),LocalDateTime.of(2019,9,4,0,0,0)); } @@ -265,8 +283,9 @@ public void testEndTimestamps(){ @Test public void testNumtstzsets(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.num_periods(),2); assertEquals(this.pset2.num_periods(),2); } @@ -274,16 +293,18 @@ public void testNumtstzsets(){ @Test public void testStarttstzset(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.start_period().toString(),new tstzspan("[2019-09-01 00:00:00+00, 2019-09-02 00:00:00+00]").toString()); } @Test public void testEndtstzset(){ - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.end_period().toString(),new tstzspan("[2019-09-03 00:00:00+00, 2019-09-04 00:00:00+00]").toString()); } @@ -291,8 +312,8 @@ public void testEndtstzset(){ // @Test // public void testHash(){ -// functions.meos_initialize_timezone("UTC"); -// functions.meos_initialize_error_handler(errorHandler); +// GeneratedFunctions.meos_initialize_timezone("UTC"); +// GeneratedFunctions.meos_initialize_error_handler(errorHandler); // assertEquals(this.pset.hash(),552347465); // } @@ -300,16 +321,18 @@ public void testEndtstzset(){ @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_adjacent") public void testAdjacency(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.is_adjacent(other), expected); } @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_iscontained") public void testIsContainedIn(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.is_contained_in(other), expected); } @@ -318,8 +341,9 @@ public void testIsContainedIn(TemporalObject other, boolean expected) throws Exc @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_contains") public void testContains(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.contains(other), expected); } @@ -328,8 +352,9 @@ public void testContains(TemporalObject other, boolean expected) throws Exceptio @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_overlaps") public void testOverlaps(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.overlaps(other), expected); } @@ -337,8 +362,9 @@ public void testOverlaps(TemporalObject other, boolean expected) throws Exceptio @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_same") public void testIsSame(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.is_same(other), expected); } @@ -347,8 +373,9 @@ public void testIsSame(TemporalObject other, boolean expected) throws Exception @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_before") public void testIsBefore(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.is_before(other), expected); } @@ -357,8 +384,9 @@ public void testIsBefore(TemporalObject other, boolean expected) throws Exceptio @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_after") public void testIsAfter(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.is_after(other), expected); } @@ -366,8 +394,9 @@ public void testIsAfter(TemporalObject other, boolean expected) throws Exception @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_overbefore") public void testIsOverOrBefore(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.is_over_or_before(other), expected); } @@ -376,8 +405,9 @@ public void testIsOverOrBefore(TemporalObject other, boolean expected) throws Ex @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_overafter") public void testIsOverOrAfter(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.pset.is_over_or_after(other), expected); } @@ -387,24 +417,27 @@ public void testIsOverOrAfter(TemporalObject other, boolean expected) throws Exc @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("intersection") public void testIntersection(Time other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); this.pset.intersection(other); } @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("intersection") public void testMinus(Time other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); this.pset.minus(other); } @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("intersection") public void testUnion(Time other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); this.pset.union(other); } @@ -412,8 +445,9 @@ public void testUnion(Time other, boolean expected) throws Exception { @ParameterizedTest(name="t={0}") @MethodSource("other") public void testEqual(Time t) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertNotEquals(this.pset, t); } @@ -421,40 +455,45 @@ public void testEqual(Time t) throws SQLException { @ParameterizedTest(name="t={0}") @MethodSource("other") public void testNotEqual(Time t) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertTrue(this.pset.notEquals(t)); } @ParameterizedTest(name="t={0}") @MethodSource("other") public void testLessThan(Time t) throws SQLException, OperationNotSupportedException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertTrue(this.pset.lessThan(t)); } @ParameterizedTest(name="t={0}") @MethodSource("other") public void testLessThanOrEqual(Time t) throws SQLException, OperationNotSupportedException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertTrue(this.pset.lessThanOrEqual(t)); } @ParameterizedTest(name="t={0}") @MethodSource("other") public void testGreaterThan(Time t) throws SQLException, OperationNotSupportedException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertTrue(this.pset.greaterThan(t)); } @ParameterizedTest(name="t={0}") @MethodSource("other") public void testGreaterThanOrEqual(Time t) throws SQLException, OperationNotSupportedException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertFalse(this.pset.greaterThanOrEqual(t)); } diff --git a/jmeos-core/src/test/java/collections/time/TsTzSpanTest.java b/jmeos-core/src/test/java/collections/time/TsTzSpanTest.java index 4c95c43ca..21e8ee49b 100644 --- a/jmeos-core/src/test/java/collections/time/TsTzSpanTest.java +++ b/jmeos-core/src/test/java/collections/time/TsTzSpanTest.java @@ -1,6 +1,6 @@ package collections.time; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; @@ -42,8 +42,9 @@ class TsTzSpanTest { static Stream tstzspan_constructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("(2019-09-08 00:00:00+0, 2019-09-10 00:00:00+0)",LocalDateTime.of(2019, 9, 8, 0, 0), LocalDateTime.of(2019, 9, 10, 0, 0), false,false), Arguments.of("[2019-09-08 00:00:00+0, 2019-09-10 00:00:00+0]", LocalDateTime.of(2019, 9, 8, 0, 0), LocalDateTime.of(2019, 9, 10, 0, 0), true,true) @@ -51,24 +52,27 @@ static Stream tstzspan_constructor() throws SQLException { } static Stream tstzspan_constructor2() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("2019-09-08 00:00:00+0", "2019-09-10 00:00:00+0",LocalDateTime.of(2019, 9, 8, 0, 0), LocalDateTime.of(2019, 9, 10, 0, 0)) ); } static Stream tstzspan_constructor3() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(LocalDateTime.of(2019, 9, 8, 0, 0), LocalDateTime.of(2019, 9, 10, 0, 0), LocalDateTime.of(2019, 9, 8, 0, 0), LocalDateTime.of(2019, 9, 10, 0, 0)) ); } static Stream tstzspan_constructor4() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("2019-09-08 00:00:00+0", LocalDateTime.of(2019, 9, 10, 0, 0),LocalDateTime.of(2019, 9, 8, 0, 0), LocalDateTime.of(2019, 9, 10, 0, 0)) ); @@ -76,8 +80,9 @@ static Stream tstzspan_constructor4() throws SQLException { static Stream tstzspan_constructor5() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(true,true), Arguments.of(true,false), @@ -87,8 +92,9 @@ static Stream tstzspan_constructor5() throws SQLException { } private static Stream temporals_adjacent() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -102,8 +108,9 @@ private static Stream temporals_adjacent() { private static Stream temporals_iscontained() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), true), @@ -117,8 +124,9 @@ private static Stream temporals_iscontained() { private static Stream temporals_contains() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -132,8 +140,9 @@ private static Stream temporals_contains() { private static Stream temporals_overlaps() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), true), @@ -147,8 +156,9 @@ private static Stream temporals_overlaps() { private static Stream temporals_same() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -162,8 +172,9 @@ private static Stream temporals_same() { private static Stream temporals_before() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), false), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -177,8 +188,9 @@ private static Stream temporals_before() { private static Stream temporals_after() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), false), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), false), @@ -192,8 +204,9 @@ private static Stream temporals_after() { private static Stream temporals_overbefore() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), true), @@ -207,8 +220,9 @@ private static Stream temporals_overbefore() { private static Stream temporals_overafter() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), true), @@ -222,8 +236,9 @@ private static Stream temporals_overafter() { private static Stream temporals_distance() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), 0.0), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), 0.0), @@ -234,8 +249,9 @@ private static Stream temporals_distance() { private static Stream intersection() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true), Arguments.of(new tstzspanset("{(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0), (2021-01-01 00:00:00+0, 2021-01-31 00:00:00+0)}"), true) @@ -244,8 +260,9 @@ private static Stream intersection() { private static Stream other() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of(new tstzspan("(2020-01-01 00:00:00+0, 2020-01-31 00:00:00+0)"), true) ); @@ -276,8 +293,9 @@ public void assert_tstzspan_equality(tstzspan intsp, LocalDateTime lower, LocalD @ParameterizedTest(name = "source={0}, lower={1}, upper={2}, lower_inc={3}, upper_inc={4}") @MethodSource("tstzspan_constructor") public void testtstzspanConstructor(String source, LocalDateTime lower, LocalDateTime upper, boolean lower_inc, boolean upper_inc) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspan p = new tstzspan(source); assert_tstzspan_equality(p,lower,upper,lower_inc,upper_inc); } @@ -285,8 +303,9 @@ public void testtstzspanConstructor(String source, LocalDateTime lower, LocalDat @ParameterizedTest(name = "lower={0}, upper={1}, lowerv={2}, upperv={3}") @MethodSource("tstzspan_constructor2") public void testtstzspanConstructor2(String lower, String upper, LocalDateTime lowerv, LocalDateTime upperv) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspan p = new tstzspan(lower,upper); assert_tstzspan_equality(p,lowerv,upperv,true,false); } @@ -295,8 +314,9 @@ public void testtstzspanConstructor2(String lower, String upper, LocalDateTime l @ParameterizedTest(name = "lower={0}, upper={1}, lowerv={2}, upperv={3}") @MethodSource("tstzspan_constructor3") public void testtstzspanConstructor3(LocalDateTime lower, LocalDateTime upper, LocalDateTime lowerv, LocalDateTime upperv) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspan p = new tstzspan(lower,upper); assert_tstzspan_equality(p,lowerv,upperv,true,false); } @@ -305,16 +325,18 @@ public void testtstzspanConstructor3(LocalDateTime lower, LocalDateTime upper, L @ParameterizedTest(name = "lower={0}, upper={1}, lowerv={2}, upperv={3}") @MethodSource("tstzspan_constructor4") public void testtstzspanConstructor4(String lower, LocalDateTime upper, LocalDateTime lowerv, LocalDateTime upperv) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspan p = new tstzspan(lower,upper); assert_tstzspan_equality(p,lowerv,upperv,true,false); } @Test public void testtstzspanBounds() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspan p = new tstzspan("2019-09-08 00:00:00+0", "2019-09-10 00:00:00+0"); assert_tstzspan_equality(p, LocalDateTime.of(2019, 9, 8, 0, 0), LocalDateTime.of(2019, 9, 10, 0, 0),true,false); } @@ -323,8 +345,9 @@ public void testtstzspanBounds() throws SQLException { @ParameterizedTest(name="lower={0}, upper={1}") @MethodSource("tstzspan_constructor5") public void testtstzspanIncluBounds(boolean lower,boolean upper) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspan p = new tstzspan("2019-09-08 00:00:00+0", "2019-09-10 00:00:00+0",lower,upper); assert_tstzspan_equality(p, LocalDateTime.of(2019, 9, 8, 0, 0), LocalDateTime.of(2019, 9, 10, 0, 0),lower,upper); } @@ -332,8 +355,9 @@ public void testtstzspanIncluBounds(boolean lower,boolean upper) throws SQLExcep @Test public void testHexwkbConstructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); // tstzspan p = types.collections.time.tstzspan.from_hexwkb("012100000040021FFE3402000000B15A26350200"); String hexwkb_string= tstzspan.as_hexwkb(); // System.out.println(hexwkb_string); @@ -344,15 +368,17 @@ public void testHexwkbConstructor() throws SQLException { @Test public void testFromAsConstructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertNotEquals(this.tstzspan,new tstzspan("(2019-09-08 00:00:00+00, 2019-09-10 00:00:00+00)")); } @Test public void testCopyConstructor() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspan other = this.tstzspan.copy(); assertNotEquals(this.tstzspan, other); assertEquals(other.toString(), this.tstzspan.toString()); @@ -360,16 +386,18 @@ public void testCopyConstructor() throws SQLException { @Test public void testtstzspanOut() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.tstzspan.toString(), "(2019-09-08 00:00:00+00, 2019-09-10 00:00:00+00)"); } @Test public void testTotstzspanSet() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); tstzspanset pset = tstzspan.to_spanset(); System.out.println(pset.toString()); String spanset_string= pset.toString(); @@ -381,8 +409,9 @@ public void testTotstzspanSet() throws SQLException { @Test public void testUpperAccessors() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.tstzspan.lower(), LocalDateTime.of(2019, 9, 8, 0, 0)); assertEquals(this.tstzspan2.lower(), LocalDateTime.of(2019, 9, 8, 2, 3)); } @@ -390,24 +419,27 @@ public void testUpperAccessors() throws SQLException { @Test public void testLowerAccessors() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.tstzspan.upper(), LocalDateTime.of(2019, 9, 10, 0, 0)); assertEquals(this.tstzspan2.upper(), LocalDateTime.of(2019, 9, 10, 2, 3)); } @Test public void testLowerIncAccessors() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertFalse(this.tstzspan.lower_inc()); assertTrue(this.tstzspan2.lower_inc()); } @Test public void testUpperIncAccessors() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertFalse(this.tstzspan.upper_inc()); assertTrue(this.tstzspan2.upper_inc()); } @@ -415,8 +447,9 @@ public void testUpperIncAccessors() throws SQLException { @Test public void testDurationInSeconds() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); // System.out.println(tstzspan.toString()); types.collections.time.tstzspan tst= new tstzspan("(2019-09-08 00:00:00+00, 2022-10-25 00:05:00+00)"); // System.out.println(tst.duration()); @@ -430,8 +463,8 @@ public void testDurationInSeconds() throws SQLException { // @Test // public void testHash() throws SQLException { -// functions.meos_initialize_timezone("UTC"); -// functions.meos_initialize_error_handler(errorHandler); +// GeneratedFunctions.meos_initialize_timezone("UTC"); +// GeneratedFunctions.meos_initialize_error_handler(errorHandler); // assertEquals(this.tstzspan.hash(), 1164402929); // } @@ -439,9 +472,10 @@ public void testDurationInSeconds() throws SQLException { @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_adjacent") public void testAdjacency(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); - STBox st= new STBox(functions.tstzspan_to_stbox(p.get_inner())); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); + STBox st= new STBox(GeneratedFunctions.tstzspan_to_stbox(p.get_inner())); System.out.println(st.toString(15)); assertEquals(this.p.is_adjacent(other), expected); } @@ -449,8 +483,9 @@ public void testAdjacency(TemporalObject other, boolean expected) throws Excepti @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_iscontained") public void testIsContainedIn(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.p.is_contained_in(other), expected); } @@ -459,8 +494,9 @@ public void testIsContainedIn(TemporalObject other, boolean expected) throws Exc @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_contains") public void testContains(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.p.contains(other), expected); } @@ -469,8 +505,9 @@ public void testContains(TemporalObject other, boolean expected) throws Exceptio @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_overlaps") public void testOverlaps(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.p.overlaps(other), expected); } @@ -478,8 +515,9 @@ public void testOverlaps(TemporalObject other, boolean expected) throws Exceptio @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_same") public void testIsSame(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.p.is_same(other), expected); } @@ -488,8 +526,9 @@ public void testIsSame(TemporalObject other, boolean expected) throws Exception @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_before") public void testIsBefore(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.p.is_before(other), expected); } @@ -498,8 +537,9 @@ public void testIsBefore(TemporalObject other, boolean expected) throws Exceptio @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_after") public void testIsAfter(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.p.is_after(other), expected); } @@ -507,8 +547,9 @@ public void testIsAfter(TemporalObject other, boolean expected) throws Exception @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_overbefore") public void testIsOverOrBefore(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(this.p.is_over_or_before(other), expected); } @@ -517,9 +558,10 @@ public void testIsOverOrBefore(TemporalObject other, boolean expected) throws Ex @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_overafter") public void testIsOverOrAfter(TemporalObject other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); - STBox st= new STBox(functions.tstzspan_to_stbox(p.get_inner())); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); + STBox st= new STBox(GeneratedFunctions.tstzspan_to_stbox(p.get_inner())); System.out.println(st.toString(15)); assertEquals(this.p.is_over_or_after(other), expected); @@ -530,8 +572,9 @@ public void testIsOverOrAfter(TemporalObject other, boolean expected) throws Exc @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("temporals_distance") public void testDistance(TemporalObject other, double expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); STBox st= new STBox("STBOX ZT(((1.0, 2.0, 3.0),(4.0, 5.0, 6.0)),[2001-01-01, 2001-01-02])"); double dist= p.distance(st); System.out.println(dist); @@ -544,24 +587,27 @@ public void testDistance(TemporalObject other, double expected) throws Exception @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("intersection") public void testIntersection(Time other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); this.p.intersection(other); } @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("intersection") public void testMinus(Time other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); this.p.minus(other); } @ParameterizedTest(name="other={0}, expected={1}") @MethodSource("intersection") public void testUnion(Time other, boolean expected) throws Exception { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); this.p.union(other); } @@ -570,8 +616,9 @@ public void testUnion(Time other, boolean expected) throws Exception { @ParameterizedTest(name="t={0}") @MethodSource("other") public void testEqual(Time t) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertFalse(this.tstzspan.equals(t)); } @@ -579,40 +626,45 @@ public void testEqual(Time t) throws SQLException { @ParameterizedTest(name="t={0}") @MethodSource("other") public void testNotEqual(Time t) throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertTrue(this.tstzspan.notEquals(t)); } @ParameterizedTest(name="t={0}") @MethodSource("other") public void testLessThan(Time t) throws SQLException, OperationNotSupportedException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertTrue(this.tstzspan.lessThan(t)); } @ParameterizedTest(name="t={0}") @MethodSource("other") public void testLessThanOrEqual(Time t) throws SQLException, OperationNotSupportedException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertTrue(this.tstzspan.lessThanOrEqual(t)); } @ParameterizedTest(name="t={0}") @MethodSource("other") public void testGreaterThan(Time t) throws SQLException, OperationNotSupportedException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertTrue(this.tstzspan.greaterThan(t)); } @ParameterizedTest(name="t={0}") @MethodSource("other") public void testGreaterThanOrEqual(Time t) throws SQLException, OperationNotSupportedException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertFalse(this.tstzspan.greaterThanOrEqual(t)); } diff --git a/jmeos-core/src/test/java/functions/MeosArgumentErrorBranchTest.java b/jmeos-core/src/test/java/functions/MeosArgumentErrorBranchTest.java index 4326ea215..a762ec816 100644 --- a/jmeos-core/src/test/java/functions/MeosArgumentErrorBranchTest.java +++ b/jmeos-core/src/test/java/functions/MeosArgumentErrorBranchTest.java @@ -1,5 +1,6 @@ package functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.*; import org.junit.jupiter.api.extension.ExtendWith; import types.basic.tfloat.TFloatInst; @@ -35,8 +36,9 @@ class MeosArgumentErrorBranchTest { @BeforeAll static void initMeos() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(HANDLER); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(HANDLER); + GeneratedFunctions.meos_initialize_collation(); } @BeforeEach @@ -146,14 +148,14 @@ class NativeTrigger { @DisplayName("intspan_make(300, 100) catchable as MeosArgumentError") void invertedSpan_catchableAsMeosArgumentError() { assertThrows(MeosArgumentError.class, - () -> functions.intspan_make(300, 100, true, true)); + () -> GeneratedFunctions.intspan_make(300, 100, true, true)); } @Test @DisplayName("intspan_make(300, 100) catchable as MeosException") void invertedSpan_catchableAsMeosException() { assertThrows(MeosException.class, - () -> functions.intspan_make(300, 100, true, true)); + () -> GeneratedFunctions.intspan_make(300, 100, true, true)); } } } @@ -261,14 +263,14 @@ class NativeTrigger { @DisplayName("creating a sequence from no instants and 0 counts: MeosInvalidArgError") void sequenceFromNull_throwsMeosInvalidArgError() { assertThrows(MeosInvalidArgError.class, - () -> functions.tsequence_make(null, 0, true, true, TInterpolation.LINEAR.getValue(), false)); + () -> GeneratedFunctions.tsequence_make(null, 0, true, true, TInterpolation.LINEAR.getValue(), false)); } @Test @DisplayName("creating a sequence from no instants and 0 counts: MeosException") void sequenceFromNull_throwsMeosException() { assertThrows(MeosException.class, - () -> functions.tsequence_make(null, 0, true, true, TInterpolation.LINEAR.getValue(), false)); + () -> GeneratedFunctions.tsequence_make(null, 0, true, true, TInterpolation.LINEAR.getValue(), false)); } } } @@ -494,21 +496,21 @@ class NativeTrigger { @DisplayName("intspan_make(300, 100): MeosInvalidArgValueError (inverted bounds)") void invertedSpan_throwsMeosInvalidArgValueError() { assertThrows(MeosInvalidArgValueError.class, - () -> functions.intspan_make(300, 100, true, true)); + () -> GeneratedFunctions.intspan_make(300, 100, true, true)); } @Test @DisplayName("intspan_make(300, 100) catchable as MeosArgumentError") void invertedSpan_catchableAsMeosArgumentError() { assertThrows(MeosArgumentError.class, - () -> functions.intspan_make(300, 100, true, true)); + () -> GeneratedFunctions.intspan_make(300, 100, true, true)); } @Test @DisplayName("intspan_make(300, 100) catchable as MeosException") void invertedSpan_catchableAsMeosException() { assertThrows(MeosException.class, - () -> functions.intspan_make(300, 100, true, true)); + () -> GeneratedFunctions.intspan_make(300, 100, true, true)); } } } diff --git a/jmeos-core/src/test/java/functions/MeosErrorHandlerTest.java b/jmeos-core/src/test/java/functions/MeosErrorHandlerTest.java index 8358a4e44..a857bb787 100644 --- a/jmeos-core/src/test/java/functions/MeosErrorHandlerTest.java +++ b/jmeos-core/src/test/java/functions/MeosErrorHandlerTest.java @@ -1,5 +1,6 @@ package functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.*; import org.junit.jupiter.api.extension.ExtendWith; import utils.TestLogger; @@ -28,8 +29,9 @@ class MeosErrorHandlerTest { @BeforeAll static void initMeos() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(HANDLER); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(HANDLER); + GeneratedFunctions.meos_initialize_collation(); } /* @@ -42,7 +44,7 @@ has already called meos_finalize() before this one, calling it again causes @AfterAll static void finalizeMeos() { - functions.meos_finalize(); + GeneratedFunctions.meos_finalize(); } */ diff --git a/jmeos-core/src/test/java/functions/MeosExceptionTest.java b/jmeos-core/src/test/java/functions/MeosExceptionTest.java index 71c1cfcc6..19eed9a62 100644 --- a/jmeos-core/src/test/java/functions/MeosExceptionTest.java +++ b/jmeos-core/src/test/java/functions/MeosExceptionTest.java @@ -1,5 +1,6 @@ package functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.*; import org.junit.jupiter.api.extension.ExtendWith; import types.basic.tpoint.tgeom.TGeomPointInst; @@ -25,8 +26,9 @@ class MeosExceptionTest { @BeforeAll static void initMeos() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(HANDLER); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(HANDLER); + GeneratedFunctions.meos_initialize_collation(); } @BeforeEach diff --git a/jmeos-core/src/test/java/functions/MeosInternalErrorBranchTest.java b/jmeos-core/src/test/java/functions/MeosInternalErrorBranchTest.java index a170a3dc3..3f86dc3be 100644 --- a/jmeos-core/src/test/java/functions/MeosInternalErrorBranchTest.java +++ b/jmeos-core/src/test/java/functions/MeosInternalErrorBranchTest.java @@ -1,5 +1,6 @@ package functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.*; import org.junit.jupiter.api.extension.ExtendWith; import types.basic.tfloat.TFloatInst; @@ -38,8 +39,9 @@ class MeosInternalErrorBranchTest { @BeforeAll static void initMeos() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(HANDLER); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(HANDLER); + GeneratedFunctions.meos_initialize_collation(); } @BeforeEach @@ -597,7 +599,7 @@ class NativeTrigger { void divByZero_throwsExpectedType() { TFloatInst sog = new TFloatInst("12.5@2024-06-01 08:00:00+00"); Exception ex = assertThrows(MeosException.class, - () -> functions.div_tfloat_float(sog.getInner(), 0.0)); + () -> GeneratedFunctions.div_tfloat_float(sog.getInner(), 0.0)); assertTrue( ex instanceof MeosDivisionByZeroError, "Expected MeosDivisionByZeroError, got: " + ex.getClass().getSimpleName()); @@ -608,7 +610,7 @@ void divByZero_throwsExpectedType() { void divByZero_catchableAsMeosException() { TFloatInst sog = new TFloatInst("12.5@2024-06-01 08:00:00+00"); assertThrows(MeosException.class, - () -> functions.div_tfloat_float(sog.getInner(), 0.0)); + () -> GeneratedFunctions.div_tfloat_float(sog.getInner(), 0.0)); } } } @@ -741,7 +743,7 @@ class NativeTrigger { //void enormousCorruptWkb_throwsMeosMemoryAllocError() { // String hugeWkb = "FF".repeat(100_000); // assertThrows(MeosMemoryAllocError.class, // FIXME MeoWKBInputError was thrown - // () -> functions.temporal_from_hexwkb(hugeWkb)); + // () -> GeneratedFunctions.temporal_from_hexwkb(hugeWkb)); //} @Test @@ -749,7 +751,7 @@ class NativeTrigger { void enormousCorruptWkb_throwsMeosException() { String hugeWkb = "FF".repeat(100_000); assertThrows(MeosException.class, - () -> functions.temporal_from_hexwkb(hugeWkb)); + () -> GeneratedFunctions.temporal_from_hexwkb(hugeWkb)); } } } diff --git a/jmeos-core/src/test/java/functions/MeosIoErrorBranchTest.java b/jmeos-core/src/test/java/functions/MeosIoErrorBranchTest.java index dc90273a9..c0553510a 100644 --- a/jmeos-core/src/test/java/functions/MeosIoErrorBranchTest.java +++ b/jmeos-core/src/test/java/functions/MeosIoErrorBranchTest.java @@ -1,5 +1,6 @@ package functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.*; import org.junit.jupiter.api.extension.ExtendWith; import types.basic.tpoint.tgeom.TGeomPointInst; @@ -39,8 +40,9 @@ class MeosIoErrorBranchTest { @BeforeAll static void initMeos() { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(HANDLER); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(HANDLER); + GeneratedFunctions.meos_initialize_collation(); } @BeforeEach @@ -324,21 +326,21 @@ class NativeTrigger { @DisplayName("tgeompoint_from_mfjson(truncated) → MeosMfJsonInputError (code 20)") void truncatedMfJson_throwsMeosMfJsonInputError() { assertThrows(MeosMfJsonInputError.class, - () -> functions.tgeompoint_from_mfjson(TRUNCATED)); + () -> GeneratedFunctions.tgeompoint_from_mfjson(TRUNCATED)); } @Test @DisplayName("tgeompoint_from_mfjson(truncated) catchable as MeosIoError") void truncatedMfJson_catchableAsMeosIoError() { assertThrows(MeosIoError.class, - () -> functions.tgeompoint_from_mfjson(TRUNCATED)); + () -> GeneratedFunctions.tgeompoint_from_mfjson(TRUNCATED)); } @Test @DisplayName("tgeompoint_from_mfjson(truncated) catchable as MeosException") void truncatedMfJson_catchableAsMeosException() { assertThrows(MeosException.class, - () -> functions.tgeompoint_from_mfjson(TRUNCATED)); + () -> GeneratedFunctions.tgeompoint_from_mfjson(TRUNCATED)); } } } @@ -928,21 +930,21 @@ class NativeTrigger { @DisplayName("temporal_from_hexwkb(corrupt): MeosWkbInputError") void corruptWkb_throwsMeosWkbInputError() { assertThrows(MeosWkbInputError.class, - () -> functions.temporal_from_hexwkb(CORRUPT)); + () -> GeneratedFunctions.temporal_from_hexwkb(CORRUPT)); } @Test @DisplayName("temporal_from_hexwkb(corrupt) catchable as MeosIoError") void corruptWkb_catchableAsMeosIoError() { assertThrows(MeosIoError.class, - () -> functions.temporal_from_hexwkb(CORRUPT)); + () -> GeneratedFunctions.temporal_from_hexwkb(CORRUPT)); } @Test @DisplayName("temporal_from_hexwkb(corrupt) catchable as MeosException") void corruptWkb_catchableAsMeosException() { assertThrows(MeosException.class, - () -> functions.temporal_from_hexwkb(CORRUPT)); + () -> GeneratedFunctions.temporal_from_hexwkb(CORRUPT)); } } } @@ -1231,21 +1233,21 @@ class NativeTrigger { @DisplayName("tgeompoint_from_geojson(truncated) → MeosGeoJsonInputError (code 26)") void invalidGeoJson_throwsMeosGeoJsonInputError() { assertThrows(MeosGeoJsonInputError.class, - () -> functions.geo_from_geojson(INVALID_GEOJSON)); + () -> GeneratedFunctions.geo_from_geojson(INVALID_GEOJSON)); } @Test @DisplayName("tgeompoint_from_geojson(truncated) catchable as MeosIoError") void invalidGeoJson_catchableAsMeosIoError() { assertThrows(MeosIoError.class, - () -> functions.geo_from_geojson(INVALID_GEOJSON)); + () -> GeneratedFunctions.geo_from_geojson(INVALID_GEOJSON)); } @Test @DisplayName("tgeompoint_from_geojson(truncated) catchable as MeosException") void invalidGeoJson_catchableAsMeosException() { assertThrows(MeosException.class, - () -> functions.geo_from_geojson(INVALID_GEOJSON)); + () -> GeneratedFunctions.geo_from_geojson(INVALID_GEOJSON)); } }*/ } 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 000000000..d7d63182e --- /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/src/test/java/temporal/InterpolationTest.java b/jmeos-core/src/test/java/temporal/InterpolationTest.java index ada3938cb..24cb10078 100644 --- a/jmeos-core/src/test/java/temporal/InterpolationTest.java +++ b/jmeos-core/src/test/java/temporal/InterpolationTest.java @@ -1,6 +1,6 @@ package temporal; -import functions.functions; +import functions.GeneratedFunctions; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; import org.junit.jupiter.params.ParameterizedTest; @@ -24,8 +24,9 @@ public class InterpolationTest { error_handler_fn errorHandler = new error_handler(); Stream TInterp() throws SQLException { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); return Stream.of( Arguments.of("discrete", TInterpolation.DISCRETE), Arguments.of("linear", TInterpolation.LINEAR), @@ -38,8 +39,9 @@ Stream TInterp() throws SQLException { @ParameterizedTest(name = "base={0}, expected={1}") @MethodSource("TInterp") public void testFromString(String base, TInterpolation expected) { - functions.meos_initialize_timezone("UTC"); - functions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_timezone("UTC"); + GeneratedFunctions.meos_initialize_error_handler(errorHandler); + GeneratedFunctions.meos_initialize_collation(); assertEquals(TInterpolation.fromString(base),expected); } } diff --git a/jmeos-core/tools/codegen/README.md b/jmeos-core/tools/codegen/README.md new file mode 100644 index 000000000..94ec1cd29 --- /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 000000000..152542c6c --- /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 000000000..d4cbe6d8c --- /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 000000000..0e00ed5e3 --- /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 000000000..6553f158e --- /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 000000000..b785d3c27 --- /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 000000000..00f32345a --- /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 000000000..205e34034 --- /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 000000000..adc2b62cb --- /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 000000000..65fdb3d78 --- /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 000000000..c68e9a0b9 --- /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 000000000..72d601040 --- /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 000000000..3f4317169 --- /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 000000000..d4dfc6db4 --- /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 000000000..7c6d0be73 --- /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 000000000..8f590fb11 --- /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 000000000..1773884c6 --- /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 000000000..c7c4e1cb1 --- /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 000000000..b25d77220 --- /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 000000000..67df1b13b --- /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 000000000..6c51c8b05 --- /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 000000000..12a3ff3cb --- /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 000000000..be689c05c --- /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 000000000..d7c9bddf5 --- /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 000000000..7b792a255 --- /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 000000000..b0de08de1 --- /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 000000000..c8af8a617 --- /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 000000000..b157f5411 --- /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 000000000..28829ce1d --- /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 000000000..6d6fbb180 --- /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 000000000..7abd8cbcf --- /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 000000000..ac6738a1d --- /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 000000000..f51054b88 --- /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 000000000..044b28737 --- /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 000000000..1d4b60371 --- /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 000000000..7d543851e --- /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 000000000..2febc478b --- /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 000000000..5791740fb --- /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 000000000..e95955450 --- /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 000000000..69835244f --- /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 000000000..c9709cef9 --- /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 000000000..bcfc7f4a5 --- /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 000000000..ded25d8df --- /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 000000000..4c0b46b0f --- /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 000000000..e7c1c10ac --- /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 000000000..47768dd6f --- /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 000000000..18370faeb --- /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 000000000..1a7ece4aa --- /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 000000000..056410012 --- /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 000000000..d2c924512 --- /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 000000000..f4cdcb0f2 --- /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 000000000..77c36ea1b --- /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 000000000..9fd5b02e3 --- /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 000000000..0c9d5449d --- /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 000000000..3bf57ff55 --- /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 000000000..a2629c9a0 --- /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 000000000..6076e9580 --- /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 000000000..243d0fbf5 --- /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 000000000..4d9087ab9 --- /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 000000000..d03950e81 --- /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 000000000..a5bbb631f --- /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 000000000..55b0a59b2 --- /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 000000000..4e3be67df --- /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 000000000..b75e43dbc --- /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 000000000..db8439c50 --- /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 000000000..e1f25277d --- /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 000000000..bf16981eb --- /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 000000000..aa181ad8a --- /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 000000000..6437b3513 --- /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 000000000..51b71ea0a --- /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 000000000..63908f8a9 --- /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 000000000..30a450a7e --- /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 000000000..0471bf315 --- /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 000000000..68a88560a --- /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 000000000..59966d575 --- /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 000000000..0a93af830 --- /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 000000000..ffdf54d94 --- /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 000000000..7c671abd0 --- /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 000000000..3a5bf71b1 --- /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 000000000..546c5ba00 --- /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 000000000..c38c66e73 --- /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 000000000..7f91674f7 --- /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 000000000..c0bae9aff --- /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 000000000..8fd50ef9c --- /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 000000000..ed0a7cb79 --- /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 000000000..305d99c86 --- /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 000000000..44bee0773 --- /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 000000000..ceff7374f --- /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 000000000..10812a99f --- /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 000000000..8c4374e5a --- /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 000000000..9145a4cca --- /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 000000000..02a975acf --- /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 000000000..559ea97ee --- /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 000000000..66d650e3e --- /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 000000000..276cec4ea --- /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 000000000..ed14489df --- /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 000000000..6a2889717 --- /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 000000000..fb272ca7a --- /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 000000000..e5a0942a8 --- /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 000000000..30218e933 --- /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 000000000..ff14f39f2 --- /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 000000000..fead624d1 --- /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 000000000..60f79ebac --- /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 000000000..0aaeb188c --- /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 000000000..3613ede00 --- /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 000000000..45933810e --- /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 000000000..a5cd44b43 --- /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 000000000..eb2bb753e --- /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 000000000..ae0365c39 --- /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 000000000..fe69fa27f --- /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 000000000..264dd90f9 --- /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 000000000..14a053b70 --- /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 000000000..72f8a5884 --- /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 000000000..0cea98035 --- /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 000000000..1172008fc --- /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 000000000..60814347b --- /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 000000000..61dda3e33 --- /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 000000000..7cade2dbc --- /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 000000000..2404117ee --- /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 000000000..5ad6fff88 --- /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 000000000..b705b6bd6 --- /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 000000000..4d3383e76 --- /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 000000000..dd3ff9da0 --- /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 000000000..ce4358d5b --- /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 000000000..07c6c4923 --- /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 000000000..30ba5d36b --- /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 000000000..f2e859a2f --- /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 000000000..038260565 --- /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 000000000..312f50ff3 --- /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 000000000..733c95e88 --- /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 000000000..1e32cc904 --- /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 000000000..6c689b3ab --- /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 000000000..eeaee6d20 --- /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 000000000..995004211 --- /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 000000000..aaeb5cada --- /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 000000000..6b48d03ad --- /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 000000000..4bd4b7a4b --- /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 000000000..72810a7ae --- /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 000000000..6a0f1f26b --- /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 000000000..5087a3013 --- /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 000000000..9130df71f --- /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 000000000..654387a49 --- /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 000000000..5b1fee63c --- /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 000000000..b00ed5052 --- /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 000000000..6b6a6a06d --- /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 000000000..b8626fc56 --- /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 000000000..980403d7f --- /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 000000000..b30dc848d --- /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 000000000..017b404bf --- /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 000000000..2284e6d10 --- /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 000000000..1fc2fc247 --- /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 000000000..2841a477e --- /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 000000000..3c1aadb53 --- /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 000000000..4d11ece2f --- /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 000000000..efea630c7 --- /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 000000000..033ae3cca --- /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 000000000..fb43524c1 --- /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 000000000..6c8a0eed8 --- /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 000000000..b75fdf70f --- /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 000000000..4a59f2220 --- /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 000000000..ddd66740a --- /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 000000000..d5f54bf96 --- /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 000000000..e10f8eb8b --- /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 000000000..58d6e1570 --- /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 000000000..c67c17e5b --- /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 000000000..f5fc22fdc --- /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 000000000..6ce5bf0df --- /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 000000000..20fc6d302 --- /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 000000000..298da7864 --- /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 000000000..52460d9d6 --- /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 000000000..c7df6ef54 --- /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 000000000..2554216c6 --- /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 000000000..ae09b4e83 --- /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 000000000..88c441768 --- /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 000000000..3e6a1fe4c --- /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 000000000..a59f998de --- /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 000000000..aa5be6ea2 --- /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 000000000..9a95c4cfc --- /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 000000000..5acd44534 --- /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 000000000..dc35d3ea7 --- /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 000000000..dc3dd46a5 --- /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 000000000..4d19a736c --- /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 000000000..8f837975f --- /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 000000000..51d92d048 --- /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 000000000..38e14b2fb --- /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 000000000..cf0fa1904 --- /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 000000000..90a96d3b8 --- /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 000000000..b449b0c1e --- /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 000000000..933888339 --- /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 000000000..8305567f6 --- /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 000000000..6d472ceb1 --- /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 000000000..cfa8fc8f7 --- /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 000000000..50ce8194c --- /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 000000000..806570f64 --- /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 000000000..a1869c674 --- /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 000000000..985fbcbd6 --- /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 000000000..65849ded3 --- /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 000000000..083a97937 --- /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 000000000..a80850147 --- /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 000000000..45b5ba1a2 --- /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 000000000..491dbef01 --- /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 000000000..3c5bc3b21 --- /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 000000000..50cba9bae --- /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 000000000..226426979 --- /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 000000000..d16ec001c --- /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 000000000..adcc7f93c --- /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 000000000..4dde59895 --- /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 000000000..93e0d0373 --- /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 000000000..2b489ec21 --- /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 000000000..d984ca130 --- /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 000000000..b07a0e4a8 --- /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 000000000..7c2a01c2b --- /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 000000000..a3dc40724 --- /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 000000000..e976f9727 --- /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 000000000..b3a385371 --- /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 000000000..c1b8086fa --- /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 000000000..ad339f2be --- /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()