MobilityDB
1.0
|
Temporal aggregate functions. More...
#include <postgres.h>
#include <catalog/pg_type.h>
#include "skiplist.h"
#include "temporal.h"
#include "temporal_util.h"
Go to the source code of this file.
Functions | |
Datum | datum_min_int32 (Datum l, Datum r) |
Returns the minimum value of the two arguments. More... | |
Datum | datum_max_int32 (Datum l, Datum r) |
Returns the maximum value of the two arguments. More... | |
Datum | datum_min_float8 (Datum l, Datum r) |
Returns the minimum value of the two arguments. More... | |
Datum | datum_max_float8 (Datum l, Datum r) |
Returns the maximum value of the two arguments. More... | |
Datum | datum_sum_float8 (Datum l, Datum r) |
Returns the sum of the two arguments. More... | |
Datum | datum_min_text (Datum l, Datum r) |
Returns the minimum value of the two arguments. More... | |
Datum | datum_max_text (Datum l, Datum r) |
Returns the maximum value of the two arguments. More... | |
Datum | datum_sum_double2 (Datum l, Datum r) |
Returns the sum of the two arguments. More... | |
Datum | datum_sum_double3 (Datum l, Datum r) |
Returns the sum of the two arguments. More... | |
Datum | datum_sum_double4 (Datum l, Datum r) |
Returns the sum of the two arguments. More... | |
void | ensure_same_temp_subtype_skiplist (SkipList *state, int16 subtype, Temporal *temp) |
SkipList * | tsequence_tagg_transfn (FunctionCallInfo fcinfo, SkipList *state, TSequence *seq, datum_func2 func, bool interpoint) |
Generic transition function for aggregating temporal values of sequence subtype. More... | |
SkipList * | temporal_tagg_combinefn1 (FunctionCallInfo fcinfo, SkipList *state1, SkipList *state2, datum_func2 func, bool crossings) |
Generic combine function for aggregating temporal values. More... | |
Datum | temporal_extent_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal extent aggregation of temporal values with period bounding box. More... | |
Datum | temporal_extent_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal extent aggregation. More... | |
Datum | tnumber_extent_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal extent aggregation for temporal numbers. More... | |
Datum | tnumber_extent_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal extent aggregation for temporal numbers. More... | |
Datum | tbool_tand_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal and aggregation of temporal boolean values. More... | |
Datum | tbool_tand_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal and aggregation of temporal boolean values. More... | |
Datum | tbool_tor_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal or aggregation of temporal boolean values. More... | |
Datum | tbool_tor_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal or aggregation of temporal boolean values. More... | |
Datum | tint_tmin_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal minimum aggregation of temporal integer values. More... | |
Datum | tint_tmin_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal minimum aggregation of temporal integer values. More... | |
Datum | tfloat_tmin_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal minimum aggregation of temporal float values. More... | |
Datum | tfloat_tmin_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal minimum aggregation of temporal float values. More... | |
Datum | tint_tmax_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal maximum aggregation of temporal integer values. More... | |
Datum | tint_tmax_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal maximum aggregation of temporal integer values. More... | |
Datum | tfloat_tmax_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal maximum aggregation of temporal float values. More... | |
Datum | tfloat_tmax_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal maximum aggregation of temporal float values. More... | |
Datum | tint_tsum_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal sum aggregation of temporal integer values. More... | |
Datum | tint_tsum_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal sum aggregation of temporal integer values. More... | |
Datum | tfloat_tsum_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal sum aggregation of temporal float values. More... | |
Datum | tfloat_tsum_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal sum aggregation of temporal float values. More... | |
Datum | temporal_tcount_transfn (PG_FUNCTION_ARGS) |
Generic transition function for temporal aggregation. More... | |
Datum | temporal_tcount_combinefn (PG_FUNCTION_ARGS) |
Generic combine function for temporal aggregation. More... | |
Datum | tnumber_tavg_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal average aggregation. More... | |
Datum | tnumber_tavg_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal average aggregation. More... | |
Datum | temporal_tagg_finalfn (PG_FUNCTION_ARGS) |
Generic final function for temporal aggregation. More... | |
Datum | tnumber_tavg_finalfn (PG_FUNCTION_ARGS) |
Final function for temporal average aggregation. More... | |
Datum | ttext_tmin_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal minimum aggregation of temporal text values. More... | |
Datum | ttext_tmin_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal minimum aggregation of temporal text values. More... | |
Datum | ttext_tmax_transfn (PG_FUNCTION_ARGS) |
Transition function for temporal maximum aggregation of temporal text values. More... | |
Datum | ttext_tmax_combinefn (PG_FUNCTION_ARGS) |
Combine function for temporal maximum aggregation of temporal text values. More... | |
Temporal aggregate functions.