MobilityDB
1.3
Loading...
Searching...
No Matches
Aggregate functions
bigint_extent_transfn
bigint_union_transfn
date_extent_transfn
date_union_transfn
float_extent_transfn
float_union_transfn
int_extent_transfn
int_union_transfn
set_extent_transfn
set_union_finalfn
set_union_transfn
span_extent_transfn
span_union_transfn
spanset_extent_transfn
spanset_union_finalfn
spanset_union_transfn
text_union_transfn
timestamptz_extent_transfn
timestamptz_union_transfn
◆
span_union_transfn()
SpanSet
* span_union_transfn
(
SpanSet
*
state
,
const
Span
*
s
)
Transition function for span set aggregate union.
Parameters
[in,out]
state
Current aggregate state
[in]
s
Span
to aggregate
Returns
When the state variable has space for adding the new span, the function returns the current state variable. Otherwise, a NEW state variable is returned and the input state is freed.
Note
Always use the function to overwrite the existing state as in:
state
=
span_union_transfn
(
state
, span);
span_union_transfn
SpanSet * span_union_transfn(SpanSet *state, const Span *s)
Transition function for span set aggregate union.
Definition:
span_aggfuncs_meos.c:228
state
Definition:
pgtz.h:42
Generated by
1.9.5