![]() |
MobilityDB 1.3
|
Basic functions for temporal types of any subtype. More...
#include "temporal/temporal.h"
#include <meos.h>
#include <meos_internal.h>
#include "temporal/meos_catalog.h"
#include "temporal/set.h"
#include "temporal/span.h"
#include "temporal/spanset.h"
Functions | |
Temporal * | tbool_at_value (const Temporal *temp, bool b) |
Return a temporal boolean restricted to a boolean. More... | |
Temporal * | tbool_minus_value (const Temporal *temp, bool b) |
Return a temporal boolean restricted to the complement of a boolean. More... | |
bool | tbool_value_at_timestamptz (const Temporal *temp, TimestampTz t, bool strict, bool *value) |
Return the value of a temporal boolean at a timestamptz. More... | |
Temporal * | temporal_at_max (const Temporal *temp) |
Return a temporal value restricted to its maximum base value. More... | |
Temporal * | temporal_at_min (const Temporal *temp) |
Return a temporal value restricted to its minimum base value. More... | |
Temporal * | temporal_at_timestamptz (const Temporal *temp, TimestampTz t) |
Return a temporal value restricted to a timestamptz. More... | |
Temporal * | temporal_at_tstzset (const Temporal *temp, const Set *s) |
Return a temporal value restricted to a timestamptz set. More... | |
Temporal * | temporal_at_tstzspan (const Temporal *temp, const Span *s) |
Return a temporal value restricted to a timestamptz span. More... | |
Temporal * | temporal_at_tstzspanset (const Temporal *temp, const SpanSet *ss) |
Return a temporal value restricted to a timestamptz span set. More... | |
Temporal * | temporal_at_values (const Temporal *temp, const Set *s) |
Return a temporal value restricted to a set of values. More... | |
Temporal * | temporal_minus_max (const Temporal *temp) |
Return a temporal value restricted to the complement of its maximum base value. More... | |
Temporal * | temporal_minus_min (const Temporal *temp) |
Return a temporal value restricted to the complement of its minimum base value. More... | |
Temporal * | temporal_minus_timestamptz (const Temporal *temp, TimestampTz t) |
Return a temporal value restricted to the complement of a timestamptz. More... | |
Temporal * | temporal_minus_tstzset (const Temporal *temp, const Set *s) |
Return a temporal value restricted to the complement of a timestamptz set. More... | |
Temporal * | temporal_minus_tstzspan (const Temporal *temp, const Span *s) |
Return a temporal value restricted to the complement of a timestamptz span. More... | |
Temporal * | temporal_minus_tstzspanset (const Temporal *temp, const SpanSet *ss) |
Return a temporal value restricted to the complement of a timestamptz span set. More... | |
Temporal * | temporal_minus_values (const Temporal *temp, const Set *s) |
Return a temporal value restricted to the complement of a set of values. More... | |
Temporal * | tfloat_at_value (const Temporal *temp, double d) |
Return a temporal float restricted to a float. More... | |
Temporal * | tfloat_minus_value (const Temporal *temp, double d) |
Return a temporal float restricted to the complement of a float. More... | |
bool | tfloat_value_at_timestamptz (const Temporal *temp, TimestampTz t, bool strict, double *value) |
Return the value of a temporal integer at a timestamptz. More... | |
Temporal * | tint_at_value (const Temporal *temp, int i) |
Return a temporal integer restricted to an integer. More... | |
Temporal * | tint_minus_value (const Temporal *temp, int i) |
Return a temporal integer restricted to the complement of an integer. More... | |
bool | tint_value_at_timestamptz (const Temporal *temp, TimestampTz t, bool strict, int *value) |
Return the value of a temporal integer at a timestamptz. More... | |
Temporal * | tnumber_at_span (const Temporal *temp, const Span *s) |
Return a temporal value restricted to a span of base values. More... | |
Temporal * | tnumber_at_spanset (const Temporal *temp, const SpanSet *ss) |
Return a temporal value restricted to an array of spans of base values. More... | |
Temporal * | tnumber_minus_span (const Temporal *temp, const Span *s) |
Return a temporal value restricted to the complement of a span of base values. More... | |
Temporal * | tnumber_minus_spanset (const Temporal *temp, const SpanSet *ss) |
Return a temporal value restricted to the complement of an array of spans of base values. More... | |
Temporal * | ttext_at_value (const Temporal *temp, text *txt) |
Return a temporal text restricted to a text. More... | |
Temporal * | ttext_minus_value (const Temporal *temp, text *txt) |
Return a temporal text restricted to the complement of a text. More... | |
bool | ttext_value_at_timestamptz (const Temporal *temp, TimestampTz t, bool strict, text **value) |
Return the value of a temporal integer at a timestamptz. More... | |
Basic functions for temporal types of any subtype.