MobilityDB 1.1
Functions
temporal_meos.c File Reference
#include "general/temporal.h"
#include <assert.h>
#include <meos.h>
#include <meos_internal.h>
Include dependency graph for temporal_meos.c:

Functions

Temporal * tbool_at_value (const Temporal *temp, bool b)
 Basic functions for temporal types of any subtype. More...
 
Temporal * tbool_minus_value (const Temporal *temp, bool b)
 Restrict a temporal boolean to the complement of a boolean. More...
 
bool tbool_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, bool *value)
 Return the value of a temporal boolean at a timestamp. More...
 
Temporal * temporal_at_max (const Temporal *temp)
 Restrict a temporal value to its maximum base value. More...
 
Temporal * temporal_at_min (const Temporal *temp)
 Restrict a temporal value to its minimum base value. More...
 
Temporal * temporal_at_period (const Temporal *temp, const Span *p)
 Restrict a temporal value to a period. More...
 
Temporal * temporal_at_periodset (const Temporal *temp, const SpanSet *ps)
 Restrict a temporal value to a period set. More...
 
Temporal * temporal_at_timestamp (const Temporal *temp, TimestampTz t)
 Restrict a temporal value to a timestamp. More...
 
Temporal * temporal_at_timestampset (const Temporal *temp, const Set *ts)
 Restrict a temporal value to a timestamp set. More...
 
Temporal * temporal_at_values (const Temporal *temp, const Set *set)
 Restrict a temporal value to a set of values. More...
 
Temporal * temporal_minus_max (const Temporal *temp)
 Restrict a temporal value to the complement of its maximum base value. More...
 
Temporal * temporal_minus_min (const Temporal *temp)
 Restrict a temporal value to the complement of its minimum base value. More...
 
Temporal * temporal_minus_period (const Temporal *temp, const Span *p)
 Restrict a temporal value to the complement of a period. More...
 
Temporal * temporal_minus_periodset (const Temporal *temp, const SpanSet *ps)
 Restrict a temporal value to the complement of a period set. More...
 
Temporal * temporal_minus_timestamp (const Temporal *temp, TimestampTz t)
 Restrict a temporal value to the complement of a timestamp. More...
 
Temporal * temporal_minus_timestampset (const Temporal *temp, const Set *ts)
 Restrict a temporal value to the complement of a timestamp set. More...
 
Temporal * temporal_minus_values (const Temporal *temp, const Set *set)
 Restrict a temporal value to the complement of a set of values. More...
 
Temporal * tfloat_at_value (const Temporal *temp, double d)
 Restrict a temporal float to a float. More...
 
Temporal * tfloat_minus_value (const Temporal *temp, double d)
 Restrict a temporal float to the complement of a float. More...
 
bool tfloat_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, double *value)
 Return the value of a temporal integer at a timestamp. More...
 
Temporal * tint_at_value (const Temporal *temp, int i)
 Restrict a temporal integer to an integer. More...
 
Temporal * tint_minus_value (const Temporal *temp, int i)
 Restrict a temporal integer to the complement of an integer. More...
 
bool tint_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, int *value)
 Return the value of a temporal integer at a timestamp. More...
 
Temporal * tnumber_at_span (const Temporal *temp, const Span *span)
 Restrict a temporal value to a span of base values. More...
 
Temporal * tnumber_at_spanset (const Temporal *temp, const SpanSet *ss)
 Restrict a temporal value to an array of spans of base values. More...
 
Temporal * tnumber_minus_span (const Temporal *temp, const Span *span)
 Restrict a temporal value to the complement of a span of base values. More...
 
Temporal * tnumber_minus_spanset (const Temporal *temp, const SpanSet *ss)
 Restrict a temporal value to the complement of an array of spans of base values. More...
 
Temporal * tpoint_at_value (const Temporal *temp, GSERIALIZED *gs)
 Restrict a temporal point to a point. More...
 
Temporal * tpoint_minus_value (const Temporal *temp, GSERIALIZED *gs)
 Restrict a temporal point to the complement of a point. More...
 
bool tpoint_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, GSERIALIZED **value)
 Return the value of a temporal geometric point at a timestamp. More...
 
Temporal * ttext_at_value (const Temporal *temp, text *txt)
 Restrict a temporal text to a text. More...
 
Temporal * ttext_minus_value (const Temporal *temp, text *txt)
 Restrict a temporal text to the complement of a text. More...
 
bool ttext_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, text **value)
 Return the value of a temporal integer at a timestamp. More...