MobilityDB 1.1
Functions

Restriction functions for temporal types. More...

Collaboration diagram for Restriction functions:

Functions

Temporaltbool_at_value (const Temporal *temp, bool b)
 Basic functions for temporal types of any subtype. More...
 
Temporaltbool_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...
 
Temporaltemporal_at_max (const Temporal *temp)
 Restrict a temporal value to its maximum base value. More...
 
Temporaltemporal_at_min (const Temporal *temp)
 Restrict a temporal value to its minimum base value. More...
 
Temporaltemporal_at_period (const Temporal *temp, const Span *p)
 Restrict a temporal value to a period. More...
 
Temporaltemporal_at_periodset (const Temporal *temp, const SpanSet *ps)
 Restrict a temporal value to a period set. More...
 
Temporaltemporal_at_timestamp (const Temporal *temp, TimestampTz t)
 Restrict a temporal value to a timestamp. More...
 
Temporaltemporal_at_timestampset (const Temporal *temp, const Set *ts)
 Restrict a temporal value to a timestamp set. More...
 
Temporaltemporal_at_values (const Temporal *temp, const Set *set)
 Restrict a temporal value to a set of values. More...
 
Temporaltemporal_minus_max (const Temporal *temp)
 Restrict a temporal value to the complement of its maximum base value. More...
 
Temporaltemporal_minus_min (const Temporal *temp)
 Restrict a temporal value to the complement of its minimum base value. More...
 
Temporaltemporal_minus_period (const Temporal *temp, const Span *p)
 Restrict a temporal value to the complement of a period. More...
 
Temporaltemporal_minus_periodset (const Temporal *temp, const SpanSet *ps)
 Restrict a temporal value to the complement of a period set. More...
 
Temporaltemporal_minus_timestamp (const Temporal *temp, TimestampTz t)
 Restrict a temporal value to the complement of a timestamp. More...
 
Temporaltemporal_minus_timestampset (const Temporal *temp, const Set *ts)
 Restrict a temporal value to the complement of a timestamp set. More...
 
Temporaltemporal_minus_values (const Temporal *temp, const Set *set)
 Restrict a temporal value to the complement of a set of values. More...
 
Temporaltfloat_at_value (const Temporal *temp, double d)
 Restrict a temporal float to a float. More...
 
Temporaltfloat_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...
 
Temporaltint_at_value (const Temporal *temp, int i)
 Restrict a temporal integer to an integer. More...
 
Temporaltint_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...
 
Temporaltnumber_at_span (const Temporal *temp, const Span *span)
 Restrict a temporal value to a span of base values. More...
 
Temporaltnumber_at_spanset (const Temporal *temp, const SpanSet *ss)
 Restrict a temporal value to an array of spans of base values. More...
 
Temporaltnumber_at_tbox (const Temporal *temp, const TBox *box)
 Restrict a temporal number to a temporal box. More...
 
Temporaltnumber_minus_span (const Temporal *temp, const Span *span)
 Restrict a temporal value to the complement of a span of base values. More...
 
Temporaltnumber_minus_spanset (const Temporal *temp, const SpanSet *ss)
 Restrict a temporal value to the complement of an array of spans of base values. More...
 
Temporaltnumber_minus_tbox (const Temporal *temp, const TBox *box)
 Restrict a temporal number to the complement of a temporal box. More...
 
Temporaltpoint_at_geometry (const Temporal *temp, const GSERIALIZED *gs)
 Restrict a temporal point to (the complement of) a geometry. More...
 
Temporaltpoint_at_stbox (const Temporal *temp, const STBox *box)
 Restrict a temporal point to a spatiotemporal box. More...
 
Temporaltpoint_at_value (const Temporal *temp, GSERIALIZED *gs)
 Restrict a temporal point to a point. More...
 
Temporaltpoint_minus_geometry (const Temporal *temp, const GSERIALIZED *gs)
 Restrict a temporal point to (the complement of) a geometry. More...
 
Temporaltpoint_minus_stbox (const Temporal *temp, const STBox *box)
 Restrict a temporal point to the complement of a spatiotemporal box. More...
 
Temporaltpoint_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...
 
Temporalttext_at_value (const Temporal *temp, text *txt)
 Restrict a temporal text to a text. More...
 
Temporalttext_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...
 

Detailed Description

Restriction functions for temporal types.