|
MobilityDB 1.3
|
General functions for set of disjoint spans. More...
#include "temporal/spanset.h"#include <assert.h>#include <float.h>#include <limits.h>#include <postgres.h>#include "utils/timestamp.h"#include <meos.h>#include <meos_internal.h>#include "temporal/postgres_types.h"#include "temporal/span.h"#include "temporal/temporal.h"#include "temporal/type_parser.h"#include "temporal/type_inout.h"#include "temporal/type_util.h"Functions | |
| SpanSet * | bigint_to_spanset (int i) |
| Convert a big integer into a span set. More... | |
| SpanSet * | bigintspanset_in (const char *str) |
| Return a big integer span from its Well-Known Text (WKT) representation. More... | |
| int64 | bigintspanset_lower (const SpanSet *ss) |
| Return the lower bound of an integer span set. More... | |
| char * | bigintspanset_out (const SpanSet *ss) |
| Return the Well-Known Text (WKT) representation of a big integer span set. More... | |
| SpanSet * | bigintspanset_shift_scale (const SpanSet *ss, int64 shift, int64 width, bool hasshift, bool haswidth) |
| Return a big integer span shifted and/or scaled by two values. More... | |
| int64 | bigintspanset_upper (const SpanSet *ss) |
| Return the upper bound of an integer span set. More... | |
| int64 | bigintspanset_width (const SpanSet *ss, bool boundspan) |
| Return the width of an integer span set. More... | |
| SpanSet * | date_to_spanset (DateADT d) |
| Convert a date into a span set. More... | |
| SpanSet * | datespanset_in (const char *str) |
| Return a date set from its Well-Known Text (WKT) representation. More... | |
| char * | datespanset_out (const SpanSet *ss) |
| Return the Well-Known Text (WKT) representation of a date span set. More... | |
| SpanSet * | datespanset_shift_scale (const SpanSet *ss, int shift, int width, bool hasshift, bool haswidth) |
| Return a date span shifted and/or scaled by two values. More... | |
| SpanSet * | float_to_spanset (double d) |
| Convert a float into a span set. More... | |
| SpanSet * | floatspanset_in (const char *str) |
| Return a float span from its Well-Known Text (WKT) representation. More... | |
| double | floatspanset_lower (const SpanSet *ss) |
| Return the lower bound of a float span set. More... | |
| char * | floatspanset_out (const SpanSet *ss, int maxdd) |
| Return the Well-Known Text (WKT) representation of a float span set. More... | |
| SpanSet * | floatspanset_shift_scale (const SpanSet *ss, double shift, double width, bool hasshift, bool haswidth) |
| Return a float span shifted and/or scaled by two values. More... | |
| double | floatspanset_upper (const SpanSet *ss) |
| Return the upper bound of a float span set. More... | |
| double | floatspanset_width (const SpanSet *ss, bool boundspan) |
| Return the width of a float span set. More... | |
| SpanSet * | int_to_spanset (int i) |
| Convert an integer into a span set. More... | |
| SpanSet * | intspanset_in (const char *str) |
| Return an integer span from its Well-Known Text (WKT) representation. More... | |
| int | intspanset_lower (const SpanSet *ss) |
| Return the lower bound of an integer span set. More... | |
| char * | intspanset_out (const SpanSet *ss) |
| Return the Well-Known Text (WKT) representation of an integer span set. More... | |
| SpanSet * | intspanset_shift_scale (const SpanSet *ss, int shift, int width, bool hasshift, bool haswidth) |
| Return an integer span shifted and/or scaled by two values. More... | |
| int | intspanset_upper (const SpanSet *ss) |
| Return the upper bound of an integer span set. More... | |
| int | intspanset_width (const SpanSet *ss, bool boundspan) |
| Return the width of an integer span set. More... | |
| SpanSet * | timestamptz_to_spanset (TimestampTz t) |
| Convert a timestamptz into a span set. More... | |
| SpanSet * | tstzspanset_in (const char *str) |
| Return a timestamptz set from its Well-Known Text (WKT) representation. More... | |
| TimestampTz | tstzspanset_lower (const SpanSet *ss) |
| Return the lower bound of a timestamptz span set. More... | |
| char * | tstzspanset_out (const SpanSet *ss) |
| Return the Well-Known Text (WKT) representation of a timpespantz span set. More... | |
| TimestampTz | tstzspanset_upper (const SpanSet *ss) |
| Return the upper bound of a timestamptz span set. More... | |
General functions for set of disjoint spans.