MobilityDB 1.1
Functions

Constructor functions for temporal types. More...

Collaboration diagram for Constructor functions:

Functions

Temporaltbool_from_base (bool b, const Temporal *temp)
 Construct a temporal boolean from a boolean and the time frame of another temporal value. More...
 
TSequencetbooldiscseq_from_base_time (bool b, const Set *ts)
 Construct a temporal boolean discrete sequence from a boolean and a timestamp set. More...
 
TInstanttboolinst_make (bool b, TimestampTz t)
 Construct a temporal instant boolean from the arguments. More...
 
TSequencetboolseq_from_base (bool b, const TSequence *seq)
 Construct a temporal boolean sequence from a boolean and the time frame of another temporal sequence. More...
 
TSequencetboolseq_from_base_time (bool b, const Span *p)
 Construct a temporal boolean sequence from a boolean and a period. More...
 
TSequenceSettboolseqset_from_base (bool b, const TSequenceSet *ss)
 Construct a temporal boolean sequence set from a boolean and the time frame of another temporal sequence set. More...
 
TSequenceSettboolseqset_from_base_time (bool b, const SpanSet *ps)
 Construct a temporal boolean sequence set from a boolean and a period set. More...
 
Temporaltemporal_copy (const Temporal *temp)
 Return a copy of a temporal value. More...
 
Temporaltfloat_from_base (double d, const Temporal *temp, interpType interp)
 Construct a temporal float from a float and the time frame of another temporal value. More...
 
TSequencetfloatdiscseq_from_base_time (double d, const Set *ts)
 Construct a temporal float discrete sequence from a float and a timestamp set. More...
 
TInstanttfloatinst_make (double d, TimestampTz t)
 Construct a temporal instant float from the arguments. More...
 
TSequencetfloatseq_from_base (double d, const TSequence *seq, interpType interp)
 Construct a temporal float sequence from a float and the time frame of another temporal sequence. More...
 
TSequencetfloatseq_from_base_time (double d, const Span *p, interpType interp)
 Construct a temporal float sequence from a float and a period. More...
 
TSequenceSettfloatseqset_from_base (double d, const TSequenceSet *ss, interpType interp)
 Construct a temporal float sequence set from a float and the time frame of another temporal sequence set. More...
 
TSequenceSettfloatseqset_from_base_time (double d, const SpanSet *ps, interpType interp)
 Construct a temporal float sequence set from a float and a period set. More...
 
Temporaltgeogpoint_from_base (const GSERIALIZED *gs, const Temporal *temp, interpType interp)
 Construct a temporal geographic point from a point and the time frame of another temporal value. More...
 
TSequencetgeogpointdiscseq_from_base_time (const GSERIALIZED *gs, const Set *ts)
 Construct a temporal geographic point discrete sequence from a point and a timestamp set. More...
 
TInstanttgeogpointinst_make (const GSERIALIZED *gs, TimestampTz t)
 Construct a temporal instant geographic point from the arguments. More...
 
TSequencetgeogpointseq_from_base (const GSERIALIZED *gs, const TSequence *seq, interpType interp)
 Construct a temporal geographic point sequence from a point and the time frame of another temporal sequence. More...
 
TSequencetgeogpointseq_from_base_time (const GSERIALIZED *gs, const Span *p, interpType interp)
 Construct a temporal geographic point sequence from a point and a period. More...
 
TSequenceSettgeogpointseqset_from_base (const GSERIALIZED *gs, const TSequenceSet *ss, interpType interp)
 Construct a temporal geographic point sequence set from a point and the time frame of another temporal sequence set. More...
 
TSequenceSettgeogpointseqset_from_base_time (const GSERIALIZED *gs, const SpanSet *ps, interpType interp)
 Construct a temporal geographic point sequence set from a point and a period set. More...
 
Temporaltgeompoint_from_base (const GSERIALIZED *gs, const Temporal *temp, interpType interp)
 Construct a temporal geometric point from a point and the time frame of another temporal value. More...
 
TSequencetgeompointdiscseq_from_base_time (const GSERIALIZED *gs, const Set *ts)
 Construct a temporal geometric point discrete sequence from a point and a timestamp set. More...
 
TInstanttgeompointinst_make (const GSERIALIZED *gs, TimestampTz t)
 Construct a temporal instant geometric point from the arguments. More...
 
TSequencetgeompointseq_from_base (const GSERIALIZED *gs, const TSequence *seq, interpType interp)
 Construct a temporal geometric point sequence from a point and the time frame of another temporal sequence. More...
 
TSequencetgeompointseq_from_base_time (const GSERIALIZED *gs, const Span *p, interpType interp)
 Construct a temporal geometric point sequence from a point and a period. More...
 
TSequenceSettgeompointseqset_from_base (const GSERIALIZED *gs, const TSequenceSet *ss, interpType interp)
 Construct a temporal geometric point sequence set from a point and the time frame of another temporal sequence set. More...
 
TSequenceSettgeompointseqset_from_base_time (const GSERIALIZED *gs, const SpanSet *ps, interpType interp)
 Construct a temporal geometric point sequence set from a point and a period set. More...
 
Temporaltint_from_base (int i, const Temporal *temp)
 Construct a temporal integer from an integer and the time frame of another temporal value. More...
 
TSequencetintdiscseq_from_base_time (int i, const Set *ts)
 Construct a temporal integer discrete sequence from an integer and a timestamp set. More...
 
TInstanttintinst_make (int i, TimestampTz t)
 Construct a temporal instant integer from the arguments. More...
 
TSequencetintseq_from_base (int i, const TSequence *seq)
 Construct a temporal integer sequence from an integer and the time frame of another temporal sequence. More...
 
TSequencetintseq_from_base_time (int i, const Span *p)
 Construct a temporal integer sequence from an integer and a period. More...
 
TSequenceSettintseqset_from_base (int i, const TSequenceSet *ss)
 Construct a temporal integer sequence set from an integer and the time frame of another temporal sequence set. More...
 
TSequenceSettintseqset_from_base_time (int i, const SpanSet *ps)
 Construct a temporal integer sequence set from an integer and a period set. More...
 
TSequencetpointseq_make_coords (const double *xcoords, const double *ycoords, const double *zcoords, const TimestampTz *times, int count, int32 srid, bool geodetic, bool lower_inc, bool upper_inc, interpType interp, bool normalize)
 Construct a temporal sequence from arrays of coordinates, one per dimension, and timestamps. More...
 
TSequencetsequence_make (const TInstant **instants, int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize)
 Construct a temporal sequence from an array of temporal instants. More...
 
TSequencetsequence_make_free (TInstant **instants, int count, bool lower_inc, bool upper_inc, interpType interp, bool normalize)
 Construct a temporal sequence from an array of temporal instants and free the array and the instants after the creation. More...
 
TSequenceSettsequenceset_make (const TSequence **sequences, int count, bool normalize)
 Construct a temporal sequence set from an array of temporal sequences. More...
 
TSequenceSettsequenceset_make_exp (const TSequence **sequences, int count, int maxcount, bool normalize)
 Construct a temporal sequence set from an array of temporal sequences. More...
 
TSequenceSettsequenceset_make_free (TSequence **sequences, int count, bool normalize)
 Construct a temporal sequence set from an array of temporal sequences and free the array and the sequences after the creation. More...
 
TSequenceSettsequenceset_make_gaps (const TInstant **instants, int count, interpType interp, float maxdist, Interval *maxt)
 Construct a temporal sequence set from an array of temporal instants introducing a gap when two consecutive instants are separated from each other by at least the given distance or the given time interval. More...
 
Temporalttext_from_base (const text *txt, const Temporal *temp)
 Construct a temporal text from a text and the time frame of another temporal value. More...
 
TSequencettextdiscseq_from_base_time (const text *txt, const Set *ts)
 Construct a temporal text discrete sequence from a text and a timestamp set. More...
 
TInstantttextinst_make (const text *txt, TimestampTz t)
 Construct a temporal instant text from the arguments. More...
 
TSequencettextseq_from_base (const text *txt, const TSequence *seq)
 Construct a temporal text sequence from a text and the time frame of another temporal sequence. More...
 
TSequencettextseq_from_base_time (const text *txt, const Span *p)
 Construct a temporal text sequence from a text and a period. More...
 
TSequenceSetttextseqset_from_base (const text *txt, const TSequenceSet *ss)
 Construct a temporal text sequence set from a text and the time frame of another temporal sequence set. More...
 
TSequenceSetttextseqset_from_base_time (const text *txt, const SpanSet *ps)
 Construct a temporal text sequence set from a text and a period set. More...
 

Detailed Description

Constructor functions for temporal types.