MobilityDB  1.0

◆ temporal_wagg_transfn1()

static SkipList* temporal_wagg_transfn1 ( FunctionCallInfo  fcinfo,
SkipList state,
Temporal temp,
Interval *  interval,
datum_func2  func,
bool  min,
bool  crossings 
)
static

Generic moving window transition function for min, max, and sum aggregation.

Parameters
[in]fcinfoCatalog information about the external function
[in,out]stateSkiplist containing the state
[in]tempTemporal value
[in]intervalInterval
[in]funcFunction
[in]minTrue if the calling function is min, max otherwise
[in]crossingsState whether turning points are added in the segments
Note
This function is directly called by the window sum aggregation for temporal floats after verifying since the operation is not supported for sequence (set) type