MobilityDB 1.1
|
Constructor functions for temporal types. More...
Functions | |
Temporal * | tbool_from_base (bool b, const Temporal *temp) |
Construct a temporal boolean from a boolean and the time frame of another temporal value. More... | |
TSequence * | tbooldiscseq_from_base_time (bool b, const Set *ts) |
Construct a temporal boolean discrete sequence from a boolean and a timestamp set. More... | |
TInstant * | tboolinst_make (bool b, TimestampTz t) |
Construct a temporal instant boolean from the arguments. More... | |
TSequence * | tboolseq_from_base (bool b, const TSequence *seq) |
Construct a temporal boolean sequence from a boolean and the time frame of another temporal sequence. More... | |
TSequence * | tboolseq_from_base_time (bool b, const Span *p) |
Construct a temporal boolean sequence from a boolean and a period. More... | |
TSequenceSet * | tboolseqset_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... | |
TSequenceSet * | tboolseqset_from_base_time (bool b, const SpanSet *ps) |
Construct a temporal boolean sequence set from a boolean and a period set. More... | |
Temporal * | temporal_copy (const Temporal *temp) |
Return a copy of a temporal value. More... | |
Temporal * | tfloat_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... | |
TSequence * | tfloatdiscseq_from_base_time (double d, const Set *ts) |
Construct a temporal float discrete sequence from a float and a timestamp set. More... | |
TInstant * | tfloatinst_make (double d, TimestampTz t) |
Construct a temporal instant float from the arguments. More... | |
TSequence * | tfloatseq_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... | |
TSequence * | tfloatseq_from_base_time (double d, const Span *p, interpType interp) |
Construct a temporal float sequence from a float and a period. More... | |
TSequenceSet * | tfloatseqset_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... | |
TSequenceSet * | tfloatseqset_from_base_time (double d, const SpanSet *ps, interpType interp) |
Construct a temporal float sequence set from a float and a period set. More... | |
Temporal * | tgeogpoint_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... | |
TSequence * | tgeogpointdiscseq_from_base_time (const GSERIALIZED *gs, const Set *ts) |
Construct a temporal geographic point discrete sequence from a point and a timestamp set. More... | |
TInstant * | tgeogpointinst_make (const GSERIALIZED *gs, TimestampTz t) |
Construct a temporal instant geographic point from the arguments. More... | |
TSequence * | tgeogpointseq_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... | |
TSequence * | tgeogpointseq_from_base_time (const GSERIALIZED *gs, const Span *p, interpType interp) |
Construct a temporal geographic point sequence from a point and a period. More... | |
TSequenceSet * | tgeogpointseqset_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... | |
TSequenceSet * | tgeogpointseqset_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... | |
Temporal * | tgeompoint_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... | |
TSequence * | tgeompointdiscseq_from_base_time (const GSERIALIZED *gs, const Set *ts) |
Construct a temporal geometric point discrete sequence from a point and a timestamp set. More... | |
TInstant * | tgeompointinst_make (const GSERIALIZED *gs, TimestampTz t) |
Construct a temporal instant geometric point from the arguments. More... | |
TSequence * | tgeompointseq_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... | |
TSequence * | tgeompointseq_from_base_time (const GSERIALIZED *gs, const Span *p, interpType interp) |
Construct a temporal geometric point sequence from a point and a period. More... | |
TSequenceSet * | tgeompointseqset_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... | |
TSequenceSet * | tgeompointseqset_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... | |
Temporal * | tint_from_base (int i, const Temporal *temp) |
Construct a temporal integer from an integer and the time frame of another temporal value. More... | |
TSequence * | tintdiscseq_from_base_time (int i, const Set *ts) |
Construct a temporal integer discrete sequence from an integer and a timestamp set. More... | |
TInstant * | tintinst_make (int i, TimestampTz t) |
Construct a temporal instant integer from the arguments. More... | |
TSequence * | tintseq_from_base (int i, const TSequence *seq) |
Construct a temporal integer sequence from an integer and the time frame of another temporal sequence. More... | |
TSequence * | tintseq_from_base_time (int i, const Span *p) |
Construct a temporal integer sequence from an integer and a period. More... | |
TSequenceSet * | tintseqset_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... | |
TSequenceSet * | tintseqset_from_base_time (int i, const SpanSet *ps) |
Construct a temporal integer sequence set from an integer and a period set. More... | |
TSequence * | tpointseq_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... | |
TSequence * | tsequence_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... | |
TSequence * | tsequence_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... | |
TSequenceSet * | tsequenceset_make (const TSequence **sequences, int count, bool normalize) |
Construct a temporal sequence set from an array of temporal sequences. More... | |
TSequenceSet * | tsequenceset_make_exp (const TSequence **sequences, int count, int maxcount, bool normalize) |
Construct a temporal sequence set from an array of temporal sequences. More... | |
TSequenceSet * | tsequenceset_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... | |
TSequenceSet * | tsequenceset_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... | |
Temporal * | ttext_from_base (const text *txt, const Temporal *temp) |
Construct a temporal text from a text and the time frame of another temporal value. More... | |
TSequence * | ttextdiscseq_from_base_time (const text *txt, const Set *ts) |
Construct a temporal text discrete sequence from a text and a timestamp set. More... | |
TInstant * | ttextinst_make (const text *txt, TimestampTz t) |
Construct a temporal instant text from the arguments. More... | |
TSequence * | ttextseq_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... | |
TSequence * | ttextseq_from_base_time (const text *txt, const Span *p) |
Construct a temporal text sequence from a text and a period. More... | |
TSequenceSet * | ttextseqset_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... | |
TSequenceSet * | ttextseqset_from_base_time (const text *txt, const SpanSet *ps) |
Construct a temporal text sequence set from a text and a period set. More... | |
Constructor functions for temporal types.