MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
temporal_restrict.h File Reference
#include <postgres.h>
#include <meos.h>
#include "temporal/meos_catalog.h"
#include "temporal/temporal.h"

Go to the source code of this file.

Functions

TInstanttcontseq_at_timestamptz (const TSequence *seq, TimestampTz t)
 Restrict a temporal continuous sequence to a timestamptz. More...
 
TSequencetcontseq_at_tstzset (const TSequence *seq, const Set *s)
 Restrict a temporal sequence to a timestamptz set. More...
 
TSequencetcontseq_at_tstzspan (const TSequence *seq, const Span *s)
 Restrict a continuous temporal sequence to a timestamptz span. More...
 
int tcontseq_at_tstzspanset1 (const TSequence *seq, const SpanSet *ss, TSequence **result)
 Restrict a temporal sequence to a timestamptz span set. More...
 
TSequencetcontseq_delete_timestamptz (const TSequence *seq, TimestampTz t)
 Delete a timestamp from a continuous temporal sequence. More...
 
TSequencetcontseq_delete_tstzset (const TSequence *seq, const Set *s)
 Delete a timestamptz from a continuous temporal sequence. More...
 
TSequencetcontseq_delete_tstzspanset (const TSequence *seq, const SpanSet *ss)
 Delete a timestamptz span set from a continuous temporal sequence. More...
 
int tcontseq_minus_timestamp_iter (const TSequence *seq, TimestampTz t, TSequence **result)
 Restrict a temporal sequence to the complement of a timestamptz (iterator function) More...
 
TSequenceSettcontseq_minus_timestamptz (const TSequence *seq, TimestampTz t)
 Restrict a temporal sequence to the complement of a timestamptz. More...
 
TSequenceSettcontseq_minus_tstzset (const TSequence *seq, const Set *s)
 Restrict a temporal sequence to the complement of a timestamptz set. More...
 
int tcontseq_minus_tstzset_iter (const TSequence *seq, const Set *s, TSequence **result)
 Restrict a temporal sequence to the complement of a timestamptz set (iterator function) More...
 
TSequenceSettcontseq_minus_tstzspan (const TSequence *seq, const Span *s)
 Restrict a temporal sequence to the complement of a timestamptz span. More...
 
int tcontseq_minus_tstzspanset_iter (const TSequence *seq, const SpanSet *ss, TSequence **result)
 Restrict a temporal sequence to the complement of a timestamptz span set (iterator function) More...
 
TSequenceSettcontseq_restrict_minmax (const TSequence *seq, bool min, bool atfunc)
 Restrict a temporal continuous sequence to (the complement of) its minimum/maximum base value. More...
 
TSequenceSettcontseq_restrict_tstzspanset (const TSequence *seq, const SpanSet *ss, bool atfunc)
 Restrict a temporal sequence to (the complement of) a timestamptz span set. More...
 
TSequenceSettcontseq_restrict_value (const TSequence *seq, Datum value, bool atfunc)
 Restrict a temporal sequence to (the complement of) a base value. More...
 
int tcontseq_restrict_value_iter (const TSequence *seq, Datum value, bool atfunc, TSequence **result)
 Restrict a temporal sequence to (the complement of) a base value (iterator function) More...
 
TSequenceSettcontseq_restrict_values (const TSequence *seq, const Set *s, bool atfunc)
 Restrict a temporal sequence to (the complement of) a set of base values. More...
 
TInstanttdiscseq_at_timestamptz (const TSequence *seq, TimestampTz t)
 Restriction functions for temporal value. More...
 
TSequencetdiscseq_minus_timestamptz (const TSequence *seq, TimestampTz t)
 Restrict a temporal discrete sequence to (the complement of) a timestamptz. 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_tstzset (const TSequence *seq, const Set *s, bool atfunc)
 Restrict a temporal discrete sequence to (the complement of) a timestamptz set. More...
 
TSequencetdiscseq_restrict_tstzspanset (const TSequence *seq, const SpanSet *ss, bool atfunc)
 Restrict a discrete temporal sequence to (the complement of) a timestamptz span 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 *s, bool atfunc)
 Restrict a temporal discrete sequence to (the complement of) an array of base values. More...
 
bool tdiscseq_value_at_timestamptz (const TSequence *seq, TimestampTz t, Datum *result)
 Return in the last argument the value of a temporal discrete sequence at a timestamptz. More...
 
TSequenceSettnumberseq_cont_restrict_span (const TSequence *seq, const Span *span, bool atfunc)
 Restrict a temporal sequence number to (the complement of) a span. More...
 
int tnumberseq_cont_restrict_span_iter (const TSequence *seq, const Span *span, bool atfunc, TSequence **result)
 Restrict a temporal number to (the complement of) a span (iterator function) More...
 
TSequenceSettnumberseq_cont_restrict_spanset (const TSequence *seq, const SpanSet *ss, bool atfunc)
 Restrict a temporal number to (the complement of) an array of spans. More...
 
int tnumberseq_cont_restrict_spanset_iter (const TSequence *seq, const SpanSet *ss, bool atfunc, TSequence **result)
 Restrict a temporal number to (the complement of) an array of spans of base values (iterator function) More...
 
double tnumberseq_cont_twavg (const TSequence *seq)
 Return the time-weighted average of a temporal sequence number. More...
 
TSequencetnumberseq_disc_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...
 
TSequencetnumberseq_disc_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...
 
TInstanttsegment_at_timestamptz (const TInstant *inst1, const TInstant *inst2, interpType interp, TimestampTz t)
 Restrict the segment of a temporal sequence to a timestamptz. More...
 
int tsequence_at_values_iter (const TSequence *seq, const Set *set, TSequence **result)
 Restrict a temporal sequence to a set of base values (iterator function) More...