MobilityDB 1.1
Functions

Restriction functions for temporal types. More...

Collaboration diagram for Restriction functions:

Functions

TSequencetcontseq_at_timestampset (const TSequence *seq, const Set *ts)
 Restrict a temporal sequence to a timestamp set. More...
 
TSequenceSettcontseq_minus_period (const TSequence *seq, const Span *p)
 Restrict a temporal sequence to the complement of a period. More...
 
TSequenceSettcontseq_minus_timestamp (const TSequence *seq, TimestampTz t)
 Restrict a temporal sequence to the complement of a timestamp. More...
 
TSequenceSettcontseq_minus_timestampset (const TSequence *seq, const Set *ts)
 Restrict a temporal sequence to the complement of a timestamp set. More...
 
TSequenceSettcontseq_restrict_minmax (const TSequence *seq, bool min, bool atfunc)
 Restrict a temporal sequence to (the complement of) its minimum/maximum base value. More...
 
TSequenceSettcontseq_restrict_periodset (const TSequence *seq, const SpanSet *ps, bool atfunc)
 Restrict a temporal sequence to (the complement of) a period set. More...
 
TSequenceSettcontseq_restrict_value (const TSequence *seq, Datum value, bool atfunc)
 Restrict a temporal sequence to (the complement of) a base value. More...
 
TSequenceSettcontseq_restrict_values (const TSequence *seq, const Set *set, bool atfunc)
 Restrict a temporal sequence to (the complement of) an array of base values. More...
 
TSequencetdiscseq_at_period (const TSequence *seq, const Span *period)
 Restrict a temporal discrete sequence to (the complement of) a period. More...
 
TInstanttdiscseq_at_timestamp (const TSequence *seq, TimestampTz t)
 Restrict a temporal discrete sequence to (the complement of) a timestamp. More...
 
TSequencetdiscseq_minus_period (const TSequence *seq, const Span *period)
 Restrict a temporal discrete sequence to (the complement of) a period. More...
 
TSequencetdiscseq_minus_timestamp (const TSequence *seq, TimestampTz t)
 Restrict a temporal discrete sequence to (the complement of) a timestamp. More...
 
TSequencetdiscseq_restrict_minmax (const TSequence *seq, bool min, bool atfunc)
 Restrict a temporal discrete sequence to (the complement of) its minimum/maximum base value. More...
 
TSequencetdiscseq_restrict_periodset (const TSequence *seq, const SpanSet *ps, bool atfunc)
 Restrict a discrete temporal sequence to (the complement of) a period set. More...
 
TSequencetdiscseq_restrict_timestampset (const TSequence *seq, const Set *ts, bool atfunc)
 Restrict a temporal discrete sequence to (the complement of) a timestamp set. More...
 
TSequencetdiscseq_restrict_value (const TSequence *seq, Datum value, bool atfunc)
 Restrict a temporal discrete sequence to (the complement of) a base value. More...
 
TSequencetdiscseq_restrict_values (const TSequence *seq, const Set *set, bool atfunc)
 Restrict a temporal discrete sequence to (the complement of) an array of base values. More...
 
bool temporal_bbox_restrict_set (const Temporal *temp, const Set *set)
 Return true if the bounding box of the temporal and the set overlap values. More...
 
Temporaltemporal_restrict_minmax (const Temporal *temp, bool min, bool atfunc)
 Restrict a temporal value to (the complement of) a minimum base value. More...
 
Temporaltemporal_restrict_period (const Temporal *temp, const Span *p, bool atfunc)
 Restrict a temporal value to (the complement of) a period. More...
 
Temporaltemporal_restrict_periodset (const Temporal *temp, const SpanSet *ps, bool atfunc)
 Restrict a temporal value to (the complement of) a period set. More...
 
Temporaltemporal_restrict_timestamp (const Temporal *temp, TimestampTz t, bool atfunc)
 Restrict a temporal value to a timestamp. More...
 
Temporaltemporal_restrict_timestampset (const Temporal *temp, const Set *ts, bool atfunc)
 Restrict a temporal value to (the complement of) a timestamp set. More...
 
Temporaltemporal_restrict_value (const Temporal *temp, Datum value, bool atfunc)
 Restrict a temporal value to (the complement of) a base value. More...
 
Temporaltemporal_restrict_values (const Temporal *temp, const Set *set, bool atfunc)
 Restrict a temporal value to (the complement of) an array of base values. More...
 
bool temporal_value_at_timestamp (const Temporal *temp, TimestampTz t, bool strict, Datum *result)
 Return the base value of a temporal value at the timestamp. More...
 
TInstanttinstant_restrict_period (const TInstant *inst, const Span *period, bool atfunc)
 Restrict a temporal instant to (the complement of) a period. More...
 
TInstanttinstant_restrict_periodset (const TInstant *inst, const SpanSet *ps, bool atfunc)
 Restrict a temporal instant to (the complement of) a period set. More...
 
TInstanttinstant_restrict_timestamp (const TInstant *inst, TimestampTz t, bool atfunc)
 Restrict a temporal instant to (the complement of) a timestamp. More...
 
TInstanttinstant_restrict_timestampset (const TInstant *inst, const Set *ts, bool atfunc)
 Restrict a temporal instant to (the complement of) a timestamp set. More...
 
TInstanttinstant_restrict_value (const TInstant *inst, Datum value, bool atfunc)
 Restrict a temporal instant to (the complement of) a base value. More...
 
TInstanttinstant_restrict_values (const TInstant *inst, const Set *set, bool atfunc)
 Restrict a temporal instant to an array of base values. More...
 
Temporaltnumber_restrict_span (const Temporal *temp, const Span *span, bool atfunc)
 Restrict a temporal value to (the complement of) a span of base values. More...
 
Temporaltnumber_restrict_spanset (const Temporal *temp, const SpanSet *ss, bool atfunc)
 Restrict a temporal value to (the complement of) a span set. More...
 
TSequenceSettnumbercontseq_restrict_span (const TSequence *seq, const Span *span, bool atfunc)
 Restrict a temporal sequence number to (the complement of) a span. More...
 
TSequenceSettnumbercontseq_restrict_spanset (const TSequence *seq, const SpanSet *ss, bool atfunc)
 Restrict a temporal number to (the complement of) an array of spans. More...
 
TSequencetnumberdiscseq_restrict_span (const TSequence *seq, const Span *span, bool atfunc)
 Restrict a temporal discrete number sequence to (the complement of) a span of base values. More...
 
TSequencetnumberdiscseq_restrict_spanset (const TSequence *seq, const SpanSet *ss, bool atfunc)
 Restrict a temporal discrete sequence number to (the complement of) an array of spans of base values. More...
 
TInstanttnumberinst_restrict_span (const TInstant *inst, const Span *span, bool atfunc)
 Restrict a temporal number instant to (the complement of) a span of base values. More...
 
TInstanttnumberinst_restrict_spanset (const TInstant *inst, const SpanSet *ss, bool atfunc)
 Restrict a temporal number instant to (the complement of) a span set. More...
 
TSequenceSettnumberseqset_restrict_span (const TSequenceSet *ss, const Span *span, bool atfunc)
 Restrict a temporal number to a span of base values. More...
 
TSequenceSettnumberseqset_restrict_spanset (const TSequenceSet *ss, const SpanSet *spanset, bool atfunc)
 Restrict a temporal number to (the complement of) an array of spans of base values. More...
 
Temporaltpoint_restrict_geometry (const Temporal *temp, const GSERIALIZED *gs, bool atfunc)
 Restrict a temporal point to (the complement of) a geometry. More...
 
Temporaltpoint_restrict_stbox (const Temporal *temp, const STBox *box, bool atfunc)
 Restrict a temporal point to (the complement of) a spatiotemporal box. More...
 
TSequencetpointdiscseq_restrict_geometry (const TSequence *seq, const GSERIALIZED *gs, bool atfunc)
 Restrict a temporal point discrete sequence to (the complement of) a geometry. More...
 
TInstanttpointinst_restrict_geometry (const TInstant *inst, const GSERIALIZED *gs, bool atfunc)
 Restrict a temporal point instant to (the complement of) a geometry. More...
 
TSequenceSettpointseq_restrict_geometry (const TSequence *seq, const GSERIALIZED *gs, bool atfunc)
 Restrict a temporal point sequence to (the complement of a) geometry. More...
 
TSequenceSettpointseqset_restrict_geometry (const TSequenceSet *ss, const GSERIALIZED *gs, const STBox *box, bool atfunc)
 Restrict a temporal point sequence set to (the complement of) a geometry. More...
 
TSequencetsequence_at_period (const TSequence *seq, const Span *p)
 Restrict a temporal sequence to a period. More...
 
TInstanttsequence_at_timestamp (const TSequence *seq, TimestampTz t)
 Restrict a temporal sequence to a timestamp. More...
 
TSequenceSettsequenceset_restrict_minmax (const TSequenceSet *ss, bool min, bool atfunc)
 Restrict a temporal sequence set to (the complement of) its minimum/maximum base value. More...
 
TSequenceSettsequenceset_restrict_period (const TSequenceSet *ss, const Span *p, bool atfunc)
 Restrict a temporal sequence set to (the complement of) a period. More...
 
TSequenceSettsequenceset_restrict_periodset (const TSequenceSet *ss, const SpanSet *ps, bool atfunc)
 Restrict a temporal sequence set to (the complement of) a period set. More...
 
Temporaltsequenceset_restrict_timestamp (const TSequenceSet *ss, TimestampTz t, bool atfunc)
 Restrict a temporal sequence set to (the complement of) a timestamp. More...
 
Temporaltsequenceset_restrict_timestampset (const TSequenceSet *ss, const Set *ts, bool atfunc)
 Restrict a temporal sequence set to (the complement of) a timestamp set. More...
 
TSequenceSettsequenceset_restrict_value (const TSequenceSet *ss, Datum value, bool atfunc)
 Restrict a temporal sequence set to (the complement of) a base value. More...
 
TSequenceSettsequenceset_restrict_values (const TSequenceSet *ss, const Set *set, bool atfunc)
 Restrict a temporal sequence set to (the complement of) an array of base values. More...
 

Detailed Description

Restriction functions for temporal types.