MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
temporal_restrict_meos.c File Reference

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

Temporaltbool_at_value (const Temporal *temp, bool b)
 Return a temporal boolean restricted to a boolean. More...
 
Temporaltbool_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...
 
Temporaltemporal_at_max (const Temporal *temp)
 Return a temporal value restricted to its maximum base value. More...
 
Temporaltemporal_at_min (const Temporal *temp)
 Return a temporal value restricted to its minimum base value. More...
 
Temporaltemporal_at_timestamptz (const Temporal *temp, TimestampTz t)
 Return a temporal value restricted to a timestamptz. More...
 
Temporaltemporal_at_tstzset (const Temporal *temp, const Set *s)
 Return a temporal value restricted to a timestamptz set. More...
 
Temporaltemporal_at_tstzspan (const Temporal *temp, const Span *s)
 Return a temporal value restricted to a timestamptz span. More...
 
Temporaltemporal_at_tstzspanset (const Temporal *temp, const SpanSet *ss)
 Return a temporal value restricted to a timestamptz span set. More...
 
Temporaltemporal_at_values (const Temporal *temp, const Set *s)
 Return a temporal value restricted to a set of values. More...
 
Temporaltemporal_minus_max (const Temporal *temp)
 Return a temporal value restricted to the complement of its maximum base value. More...
 
Temporaltemporal_minus_min (const Temporal *temp)
 Return a temporal value restricted to the complement of its minimum base value. More...
 
Temporaltemporal_minus_timestamptz (const Temporal *temp, TimestampTz t)
 Return a temporal value restricted to the complement of a timestamptz. More...
 
Temporaltemporal_minus_tstzset (const Temporal *temp, const Set *s)
 Return a temporal value restricted to the complement of a timestamptz set. More...
 
Temporaltemporal_minus_tstzspan (const Temporal *temp, const Span *s)
 Return a temporal value restricted to the complement of a timestamptz span. More...
 
Temporaltemporal_minus_tstzspanset (const Temporal *temp, const SpanSet *ss)
 Return a temporal value restricted to the complement of a timestamptz span set. More...
 
Temporaltemporal_minus_values (const Temporal *temp, const Set *s)
 Return a temporal value restricted to the complement of a set of values. More...
 
Temporaltfloat_at_value (const Temporal *temp, double d)
 Return a temporal float restricted to a float. More...
 
Temporaltfloat_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...
 
Temporaltint_at_value (const Temporal *temp, int i)
 Return a temporal integer restricted to an integer. More...
 
Temporaltint_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...
 
Temporaltnumber_at_span (const Temporal *temp, const Span *s)
 Return a temporal value restricted to a span of base values. More...
 
Temporaltnumber_at_spanset (const Temporal *temp, const SpanSet *ss)
 Return a temporal value restricted to an array of spans of base values. More...
 
Temporaltnumber_minus_span (const Temporal *temp, const Span *s)
 Return a temporal value restricted to the complement of a span of base values. More...
 
Temporaltnumber_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...
 
Temporalttext_at_value (const Temporal *temp, text *txt)
 Return a temporal text restricted to a text. More...
 
Temporalttext_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...
 

Detailed Description

Basic functions for temporal types of any subtype.