|
MobilityDB 1.3
|
Window aggregate functions for temporal types. More...
#include <postgres.h>#include <utils/datetime.h>#include <meos.h>#include <meos_internal.h>#include "temporal/skiplist.h"#include "temporal/temporal_aggfuncs.h"#include "temporal/temporal_waggfuncs.h"#include "pg_temporal/skiplist.h"Macros | |
| #define | INPUT_AGG_TRANS_STATE_ARG(fcinfo, state) |
| Helper macro to input the current aggregate state. More... | |
Functions | |
| Datum | Temporal_wagg_transfn (FunctionCallInfo fcinfo, datum_func2 func, bool min, bool crossings) |
| Generic moving window transition function for min, max, and sum aggregation. More... | |
| Datum | Temporal_wagg_transform_transfn (FunctionCallInfo fcinfo, datum_func2 func, TSequence **(*transform)(const Temporal *, const Interval *, int *)) |
| Transition function for moving window count and average aggregation for temporal values. More... | |
| Datum | Temporal_wcount_transfn (PG_FUNCTION_ARGS) |
| Transition function for moving window count aggregation for temporal values @sqlfn wCount() More... | |
| Datum | Tfloat_wmax_transfn (PG_FUNCTION_ARGS) |
| Transition function for moving window maximun aggregation for temporal floats @sqlfn wMax() More... | |
| Datum | Tfloat_wmin_transfn (PG_FUNCTION_ARGS) |
| Transition function for moving window minimun aggregation for temporal floats @sqlfn wMin() More... | |
| Datum | Tfloat_wsum_transfn (PG_FUNCTION_ARGS) |
| Transition function for moving window sum aggregation for temporal floats @sqlfn wSum() More... | |
| Datum | Tint_wmax_transfn (PG_FUNCTION_ARGS) |
| Transition function for moving window maximun aggregation for temporal integers @sqlfn wMax() More... | |
| Datum | Tint_wmin_transfn (PG_FUNCTION_ARGS) |
| Transition function for moving window minimun aggregation for temporal integers @sqlfn wMin() More... | |
| Datum | Tint_wsum_transfn (PG_FUNCTION_ARGS) |
| Transition function for moving window sum aggregation for temporal integers @sqlfn wSum() More... | |
| Datum | Tnumber_wavg_transfn (PG_FUNCTION_ARGS) |
| Transition function for moving window average aggregation for temporal numbers @sqlfn wAvg() More... | |
Window aggregate functions for temporal types.