39#include "general/temporal.h"
TSequence * tfunc_tsequence(const TSequence *seq, LiftedFunctionInfo *lfinfo)
Apply the function to the temporal value.
Definition: lifting.c:209
TInstant * tfunc_tinstant(const TInstant *inst, LiftedFunctionInfo *lfinfo)
Apply the function with the optional arguments to the temporal value.
Definition: lifting.c:195
TSequenceSet * tfunc_tsequenceset(const TSequenceSet *ss, LiftedFunctionInfo *lfinfo)
Apply the function to the temporal value.
Definition: lifting.c:227
TSequence * tfunc_tdiscseq_tdiscseq(const TSequence *is1, const TSequence *is2, LiftedFunctionInfo *lfinfo)
Synchronize the temporal values and apply to them the function with with optional argument.
Definition: lifting.c:773
Temporal * tfunc_temporal_temporal(const Temporal *temp1, const Temporal *temp2, LiftedFunctionInfo *lfinfo)
Synchronize the temporal values and apply to them the function.
Definition: lifting.c:1419
TSequenceSet * tfunc_tsequenceset_base(const TSequenceSet *ss, Datum value, LiftedFunctionInfo *lfinfo)
Apply the function to the temporal value and the base value.
Definition: lifting.c:568
TSequence * tfunc_tsequence_base(const TSequence *seq, Datum value, LiftedFunctionInfo *lfinfo)
Apply the function to the temporal value and the base value.
Definition: lifting.c:319
TSequence * tfunc_tdiscseq(const TSequence *is, LiftedFunctionInfo *lfinfo)
TInstant * tfunc_tinstant_base(const TInstant *inst, Datum value, LiftedFunctionInfo *lfinfo)
Apply the function to the temporal value and the base value.
Definition: lifting.c:302
#define MAX_PARAMS
Generic functions for lifting functions and operators on temporal types.
Definition: lifting.h:51
int efunc_temporal_temporal(const Temporal *temp1, const Temporal *temp2, LiftedFunctionInfo *lfinfo)
Synchronize the temporal values and apply to them the function.
Definition: lifting.c:1991
Temporal * tfunc_temporal_base(const Temporal *temp, Datum value, LiftedFunctionInfo *lfinfo)
Apply the function to the temporal value and the base value (dispatch function)
Definition: lifting.c:599
Temporal * tfunc_temporal(const Temporal *temp, LiftedFunctionInfo *lfinfo)
Apply the function to the temporal value (dispatch function)
Definition: lifting.c:244
TInstant * tfunc_tinstant_tinstant(const TInstant *inst1, const TInstant *inst2, LiftedFunctionInfo *lfinfo)
Synchronize the temporal values and apply to them the function.
Definition: lifting.c:643
meosType
Enumeration that defines the built-in and temporal types used in MobilityDB.
Definition: meos_catalog.h:53
int64 TimestampTz
Definition: pg_ext_defs.in.h:19
uintptr_t Datum
Definition: pg_ext_defs.in.h:4
bool reslinear
True if the result has linear interpolation.
Definition: lifting.h:61
int numparam
Number of parameters of the function.
Definition: lifting.h:56
bool args
True if the lifted function requires arguments.
Definition: lifting.h:58
bool discont
True if the function has instantaneous discontinuities.
Definition: lifting.h:63
meosType restype
Temporal type of the result of the function.
Definition: lifting.h:60
bool invert
True if the arguments of the function must be inverted.
Definition: lifting.h:62
Structure to represent temporal values of instant subtype.
Definition: meos.h:148
Structure to represent temporal values of sequence set subtype.
Definition: meos.h:186
Structure to represent temporal values of instant set or sequence subtype.
Definition: meos.h:165
Structure to represent the common structure of temporal values of any temporal subtype.
Definition: meos.h:136