|
MobilityDB 1.1
|
#include <assert.h>#include <postgres.h>#include <access/tuptoaster.h>#include <utils/timestamp.h>#include <meos.h>#include <meos_internal.h>#include "general/set.h"#include "general/type_out.h"#include "general/type_util.h"#include "pg_general/meos_catalog.h"#include "pg_general/span.h"#include "pg_general/temporal.h"#include "pg_general/type_util.h"
Functions | |
| PGDLLEXPORT Datum | Floatspanset_round (PG_FUNCTION_ARGS) |
| Set the precision of the float span set to the number of decimal places. More... | |
| static SpanSet * | floatspanset_round (SpanSet *ss, Datum size) |
| Set the precision of the float span set to the number of decimal places. More... | |
| PGDLLEXPORT Datum | Periodset_duration (PG_FUNCTION_ARGS) |
| Return the duration of a period set. More... | |
| PGDLLEXPORT Datum | Periodset_end_timestamp (PG_FUNCTION_ARGS) |
| Return the end timestamp of a period set. More... | |
| PGDLLEXPORT Datum | Periodset_num_timestamps (PG_FUNCTION_ARGS) |
| Return the number of timestamps of a period set. More... | |
| PGDLLEXPORT Datum | Periodset_shift (PG_FUNCTION_ARGS) |
| Shift a period set by an interval. More... | |
| PGDLLEXPORT Datum | Periodset_shift_tscale (PG_FUNCTION_ARGS) |
| Shift a period set by an interval. More... | |
| PGDLLEXPORT Datum | Periodset_start_timestamp (PG_FUNCTION_ARGS) |
| Return the start timestamp of a period set. More... | |
| PGDLLEXPORT Datum | Periodset_timestamp_n (PG_FUNCTION_ARGS) |
| Return the n-th timestamp of a period set. More... | |
| PGDLLEXPORT Datum | Periodset_timestamps (PG_FUNCTION_ARGS) |
| Return the timestamps of a period set. More... | |
| PGDLLEXPORT Datum | Periodset_tscale (PG_FUNCTION_ARGS) |
| Shift a period set by an interval. More... | |
| PGDLLEXPORT Datum | Set_to_spanset (PG_FUNCTION_ARGS) |
| Cast the timestamp set value as a period set. More... | |
| PGDLLEXPORT Datum | Span_to_spanset (PG_FUNCTION_ARGS) |
| Cast the span value as a span set. More... | |
| PGDLLEXPORT Datum | Spanset_cmp (PG_FUNCTION_ARGS) |
| Return -1, 0, or 1 depending on whether the first period set is less than, equal, or greater than the second one. More... | |
| PGDLLEXPORT Datum | Spanset_constructor (PG_FUNCTION_ARGS) |
| Construct a span set from an array of span values. More... | |
| PGDLLEXPORT Datum | Spanset_end_span (PG_FUNCTION_ARGS) |
| Return the end span of a span set. More... | |
| PGDLLEXPORT Datum | Spanset_eq (PG_FUNCTION_ARGS) |
| Return true if the first period set is equal to the second one. More... | |
| PGDLLEXPORT Datum | Spanset_ge (PG_FUNCTION_ARGS) |
| Return true if the first period set is greater than or equal to the second one. More... | |
| PGDLLEXPORT Datum | Spanset_gt (PG_FUNCTION_ARGS) |
| Return true if the first period set is greater than the second one. More... | |
| PGDLLEXPORT Datum | Spanset_hash (PG_FUNCTION_ARGS) |
| Return the 32-bit hash value of a period set. More... | |
| PGDLLEXPORT Datum | Spanset_hash_extended (PG_FUNCTION_ARGS) |
| Return the 64-bit hash value of a period set using a seed. More... | |
| PGDLLEXPORT Datum | Spanset_in (PG_FUNCTION_ARGS) |
| Return a span set from its string representation. More... | |
| PGDLLEXPORT Datum | Spanset_le (PG_FUNCTION_ARGS) |
| Return true if the first period set is less than or equal to the second one. More... | |
| PGDLLEXPORT Datum | Spanset_lower (PG_FUNCTION_ARGS) |
| Return the lower bound value. More... | |
| PGDLLEXPORT Datum | Spanset_lower_inc (PG_FUNCTION_ARGS) |
| Return true if the lower bound value is inclusive. More... | |
| PGDLLEXPORT Datum | Spanset_lt (PG_FUNCTION_ARGS) |
| Return true if the first period set is less than the second one. More... | |
| PGDLLEXPORT Datum | Spanset_mem_size (PG_FUNCTION_ARGS) |
| Return the memory size in bytes of a span set. More... | |
| PGDLLEXPORT Datum | Spanset_ne (PG_FUNCTION_ARGS) |
| Return true if the first period set is different from the second one. More... | |
| PGDLLEXPORT Datum | Spanset_num_spans (PG_FUNCTION_ARGS) |
| Return the number of spans of a span set. More... | |
| PGDLLEXPORT Datum | Spanset_out (PG_FUNCTION_ARGS) |
| Return the string representation of a span set. More... | |
| PGDLLEXPORT Datum | Spanset_recv (PG_FUNCTION_ARGS) |
| Receive function for span set. More... | |
| PGDLLEXPORT Datum | Spanset_send (PG_FUNCTION_ARGS) |
| Send function for span set. More... | |
| PGDLLEXPORT Datum | Spanset_shift (PG_FUNCTION_ARGS) |
| Shift a span set by a value. More... | |
| PGDLLEXPORT Datum | Spanset_span_n (PG_FUNCTION_ARGS) |
| Return the n-th span of a span set. More... | |
| void | spanset_span_slice (Datum d, Span *s) |
| Peak into a span set datum to find the bounding box. More... | |
| PGDLLEXPORT Datum | Spanset_spans (PG_FUNCTION_ARGS) |
| Return the spans of a span set. More... | |
| PGDLLEXPORT Datum | Spanset_start_span (PG_FUNCTION_ARGS) |
| Return the start span of a span set. More... | |
| PGDLLEXPORT Datum | Spanset_to_span (PG_FUNCTION_ARGS) |
| Return the bounding span on which a span set is defined. More... | |
| PGDLLEXPORT Datum | Spanset_upper (PG_FUNCTION_ARGS) |
| Return the upper bound value. More... | |
| PGDLLEXPORT Datum | Spanset_upper_inc (PG_FUNCTION_ARGS) |
| Return true if the upper bound value is inclusive. More... | |
| PGDLLEXPORT Datum | Spanset_width (PG_FUNCTION_ARGS) |
| Return the width of a numeric span set. More... | |
| PGDLLEXPORT Datum | Value_to_spanset (PG_FUNCTION_ARGS) |
| Cast a value as a span set. More... | |