MobilityDB 1.1
|
#include <postgres.h>
#include "general/skiplist.h"
#include "general/temporal.h"
#include "general/type_util.h"
Go to the source code of this file.
Functions | |
Datum | datum_max_float8 (Datum l, Datum r) |
Return the maximum value of the two arguments. More... | |
Datum | datum_max_int32 (Datum l, Datum r) |
Return the maximum value of the two arguments. More... | |
Datum | datum_max_text (Datum l, Datum r) |
Return the maximum value of the two arguments. More... | |
Datum | datum_min_float8 (Datum l, Datum r) |
Return the minimum value of the two arguments. More... | |
Datum | datum_min_int32 (Datum l, Datum r) |
Temporal aggregate functions. More... | |
Datum | datum_min_text (Datum l, Datum r) |
Return the minimum value of the two arguments. More... | |
Datum | datum_sum_double2 (Datum l, Datum r) |
Return the sum of the two arguments. More... | |
Datum | datum_sum_double3 (Datum l, Datum r) |
Return the sum of the two arguments. More... | |
Datum | datum_sum_double4 (Datum l, Datum r) |
Return the sum of the two arguments. More... | |
Datum | datum_sum_float8 (Datum l, Datum r) |
Return the sum of the two arguments. More... | |
SkipList * | tcontseq_tagg_transfn (SkipList *state, const TSequence *seq, datum_func2 func, bool interpoint) |
Generic transition function for aggregating temporal values of sequence subtype. More... | |
SkipList * | tdiscseq_tagg_transfn (SkipList *state, const TSequence *seq, datum_func2 func) |
Generic transition function for aggregating temporal discrete sequence values. More... | |
SkipList * | temporal_tagg_combinefn (SkipList *state1, SkipList *state2, datum_func2 func, bool crossings) |
Generic combine function for aggregating temporal values. More... | |
SkipList * | temporal_tagg_combinefn1 (SkipList *state1, SkipList *state2, datum_func2 func, bool crossings) |
Temporal * | temporal_tagg_finalfn (SkipList *state) |
Generic final function for aggregating temporal values. More... | |
SkipList * | temporal_tagg_transfn (SkipList *state, const Temporal *temp, datum_func2, bool crossings) |
Generic transition function for aggregating temporal values of sequence set subtype. More... | |
SkipList * | temporal_tagg_transform_transfn (SkipList *state, const Temporal *temp, datum_func2 func, bool crossings, TInstant *(*transform)(const TInstant *)) |
Transition function for aggregating temporal values that require a transformation to each composing instant/sequence. More... | |
Temporal ** | temporal_transform_tagg (const Temporal *temp, int *count, TInstant *(*func)(const TInstant *)) |
Transform a temporal value for aggregation. More... | |
Temporal ** | temporal_transform_tcount (const Temporal *temp, int *count) |
Transform a temporal value into a temporal integer value for performing temporal count aggregation (dispatch function) More... | |
TInstant ** | tinstant_tagg (TInstant **instants1, int count1, TInstant **instants2, int count2, Datum(*func)(Datum, Datum), int *newcount) |
SkipList * | tinstant_tagg_transfn (SkipList *state, const TInstant *inst, datum_func2 func) |
Generic transition function for aggregating temporal values of instant subtype. More... | |
TSequence * | tinstant_tavg_finalfn (TInstant **instants, int count) |
Final function for temporal average aggregation of temporal instat values. More... | |
TInstant * | tnumberinst_transform_tavg (const TInstant *inst) |
Transform a temporal number into a temporal double2 value for performing temporal average aggregation. More... | |
TSequence ** | tsequence_tagg (TSequence **sequences1, int count1, TSequence **sequences2, int count2, Datum(*func)(Datum, Datum), bool crossings, int *newcount) |
TSequenceSet * | tsequence_tavg_finalfn (TSequence **sequences, int count) |
Final function for temporal average aggregation of temporal sequence values. More... | |
SkipList * | tsequenceset_tagg_transfn (SkipList *state, const TSequenceSet *ss, datum_func2 func, bool crossings) |
Generic transition function for aggregating temporal values of sequence set subtype. More... | |