MobilityDB 1.1
Functions

Constructor functions for set and span types. More...

Collaboration diagram for Constructor functions:

Functions

Span * bigintspan_make (int64 lower, int64 upper, bool lower_inc, bool upper_inc)
 Construct an integer span from the bounds. More...
 
Span * floatspan_make (double lower, double upper, bool lower_inc, bool upper_inc)
 Construct a span from the bounds. More...
 
Span * intspan_make (int lower, int upper, bool lower_inc, bool upper_inc)
 Construct an integer span from the bounds. More...
 
Span * period_make (TimestampTz lower, TimestampTz upper, bool lower_inc, bool upper_inc)
 Construct a period from the bounds. More...
 
Set * set_copy (const Set *s)
 Return a copy of a set. More...
 
Span * span_copy (const Span *s)
 Return a copy of a span. More...
 
SpanSet * spanset_copy (const SpanSet *ps)
 Return a copy of a span set. More...
 
SpanSet * spanset_make (const Span **spans, int count, bool normalize)
 Construct a span set from an array of disjoint span. More...
 
SpanSet * spanset_make_free (Span **spans, int count, bool normalize)
 Construct a span set from an array of spans and free the array and the spans after the creation. More...
 

Detailed Description

Constructor functions for set and span types.