MobilityDB 1.1
Functions

Accessor functions for temporal types. More...

Collaboration diagram for Accessor functions:

Functions

bool tbool_end_value (const Temporal *temp)
 Return the end value of a temporal boolean. More...
 
bool tbool_start_value (const Temporal *temp)
 Return the start value of a temporal boolean. More...
 
bool * tbool_values (const Temporal *temp, int *count)
 Return the the array of base values of a temporal boolean. More...
 
Intervaltemporal_duration (const Temporal *temp, bool boundspan)
 Return the duration of a temporal value. More...
 
const TInstanttemporal_end_instant (const Temporal *temp)
 Return the end instant of a temporal value. More...
 
TSequencetemporal_end_sequence (const Temporal *temp)
 Return the end sequence of a temporal sequence (set). More...
 
TimestampTz temporal_end_timestamp (const Temporal *temp)
 Return the end timestamp of a temporal value. More...
 
uint32 temporal_hash (const Temporal *temp)
 Return the 32-bit hash value of a temporal value. More...
 
const TInstanttemporal_instant_n (const Temporal *temp, int n)
 Return the n-th instant of a temporal value. More...
 
const TInstant ** temporal_instants (const Temporal *temp, int *count)
 Return the array of instants of a temporal value. More...
 
char * temporal_interpolation (const Temporal *temp)
 Return the string representation of the interpolation of a temporal value. More...
 
const TInstanttemporal_max_instant (const Temporal *temp)
 Return a pointer to the instant with maximum base value of a temporal value. More...
 
size_t temporal_mem_size (const Temporal *temp)
 Return the size in bytes of a temporal value. More...
 
const TInstanttemporal_min_instant (const Temporal *temp)
 Return a pointer to the instant with minimum base value of a temporal value. More...
 
int temporal_num_instants (const Temporal *temp)
 Return the number of distinct instants of a temporal value. More...
 
int temporal_num_sequences (const Temporal *temp)
 Return the number of sequences of a temporal sequence (set). More...
 
int temporal_num_timestamps (const Temporal *temp)
 Return the number of distinct timestamps of a temporal value. More...
 
TSequence ** temporal_segments (const Temporal *temp, int *count)
 Return the array of segments of a temporal value. More...
 
TSequencetemporal_sequence_n (const Temporal *temp, int i)
 Return the n-th sequence of a temporal sequence (set). More...
 
TSequence ** temporal_sequences (const Temporal *temp, int *count)
 Return the array of sequences of a temporal sequence (set). More...
 
const TInstanttemporal_start_instant (const Temporal *temp)
 Return the start instant of a temporal value. More...
 
TSequencetemporal_start_sequence (const Temporal *temp)
 Return the start sequence of a temporal sequence (set). More...
 
TimestampTz temporal_start_timestamp (const Temporal *temp)
 Return the start timestamp of a temporal value. More...
 
char * temporal_subtype (const Temporal *temp)
 Return the string representation of the subtype of a temporal value. More...
 
SpanSettemporal_time (const Temporal *temp)
 Return the time frame of a temporal value as a period set. More...
 
bool temporal_timestamp_n (const Temporal *temp, int n, TimestampTz *result)
 Return the n-th distinct timestamp of a temporal value. More...
 
TimestampTztemporal_timestamps (const Temporal *temp, int *count)
 Return the array of distinct timestamps of a temporal value. More...
 
double tfloat_end_value (const Temporal *temp)
 Return the end value of a temporal float. More...
 
double tfloat_max_value (const Temporal *temp)
 Return the maximum value of a temporal float. More...
 
double tfloat_min_value (const Temporal *temp)
 Return the minimum value of a temporal float. More...
 
SpanSettfloat_spanset (const Temporal *temp)
 Return the base values of a temporal float as an array of spans. More...
 
double tfloat_start_value (const Temporal *temp)
 Return the start value of a temporal float. More...
 
double * tfloat_values (const Temporal *temp, int *count)
 Return the the array of base values of a temporal float. More...
 
int tint_end_value (const Temporal *temp)
 Return the end value of a temporal integer. More...
 
int tint_max_value (const Temporal *temp)
 Return the maximum value of a temporal integer. More...
 
int tint_min_value (const Temporal *temp)
 Return the minimum value of a temporal integer. More...
 
int tint_start_value (const Temporal *temp)
 Return the start value of a temporal integer. More...
 
int * tint_values (const Temporal *temp, int *count)
 Return the the array of base values of a temporal integer. More...
 
GSERIALIZEDtpoint_end_value (const Temporal *temp)
 Return the end value of a temporal point. More...
 
GSERIALIZEDtpoint_start_value (const Temporal *temp)
 Return the start value of a temporal geometric point. More...
 
GSERIALIZED ** tpoint_values (const Temporal *temp, int *count)
 Return the the array of base values of a temporal geometric point. More...
 
textttext_end_value (const Temporal *temp)
 Return the end value of a temporal text. More...
 
textttext_max_value (const Temporal *temp)
 Return the maximum value of a temporal text. More...
 
textttext_min_value (const Temporal *temp)
 Return the minimum value of a temporal text. More...
 
textttext_start_value (const Temporal *temp)
 Return the start value of a temporal text. More...
 
text ** ttext_values (const Temporal *temp, int *count)
 Return the the array of base values of a temporal text. More...
 

Detailed Description

Accessor functions for temporal types.