MobilityDB 1.3
Loading...
Searching...
No Matches
Functions

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

Functions

Setbigintset_shift_scale (const Set *s, int64 shift, int64 width, bool hasshift, bool haswidth)
 Return a big integer set shifted and/or scaled by two values. More...
 
Spanbigintspan_expand (const Span *s, int64 i)
 Return a big integer span with its bounds expanded/decreased by a value. More...
 
Spanbigintspan_shift_scale (const Span *s, int64 shift, int64 width, bool hasshift, bool haswidth)
 Return a big integer span shifted and/or scaled by the values. More...
 
SpanSetbigintspanset_shift_scale (const SpanSet *ss, int64 shift, int64 width, bool hasshift, bool haswidth)
 Return a big integer span shifted and/or scaled by two values. More...
 
Setdateset_shift_scale (const Set *s, int shift, int width, bool hasshift, bool haswidth)
 Return a date set shifted and/or scaled by two values. More...
 
Spandatespan_shift_scale (const Span *s, int shift, int width, bool hasshift, bool haswidth)
 Return a date span shifted and/or scaled by the values. More...
 
SpanSetdatespanset_shift_scale (const SpanSet *ss, int shift, int width, bool hasshift, bool haswidth)
 Return a date span shifted and/or scaled by two values. More...
 
Setfloatset_ceil (const Set *s)
 Return a float set rounded up to the nearest integer @csqlfn Floatset_ceil() More...
 
Setfloatset_degrees (const Set *s, bool normalize)
 Convert a float set with the values into degrees. More...
 
Setfloatset_floor (const Set *s)
 Return a float set rounded down to the nearest integer @csqlfn Floatset_floor() More...
 
Setfloatset_radians (const Set *s)
 Convert a float set with the values into radians. More...
 
Setfloatset_shift_scale (const Set *s, double shift, double width, bool hasshift, bool haswidth)
 Return a float set shifted and/or scaled by two values. More...
 
Spanfloatspan_ceil (const Span *s)
 Return a float span rounded up to the nearest integer @csqlfn Floatspan_ceil() More...
 
Spanfloatspan_degrees (const Span *s, bool normalize)
 Return a float span with the values converted to degrees. More...
 
Spanfloatspan_expand (const Span *s, double d)
 Return a float span with its bounds expanded/decreased by a value. More...
 
Spanfloatspan_floor (const Span *s)
 Return a float span rounded down to the nearest integer @csqlfn Floatspan_floor() More...
 
Spanfloatspan_radians (const Span *s)
 Return a float span with the values converted to radians. More...
 
Spanfloatspan_round (const Span *s, int maxdd)
 Return a float span with the precision of the bounds set to a number of decimal places. More...
 
Spanfloatspan_shift_scale (const Span *s, double shift, double width, bool hasshift, bool haswidth)
 Return a float span shifted and/or scaled by the values. More...
 
SpanSetfloatspanset_ceil (const SpanSet *ss)
 Return a float span set rounded up to the nearest integer. More...
 
SpanSetfloatspanset_degrees (const SpanSet *ss, bool normalize)
 Return a float span set with the values converted to degrees. More...
 
SpanSetfloatspanset_floor (const SpanSet *ss)
 Return a float span set rounded down to the nearest integer. More...
 
SpanSetfloatspanset_radians (const SpanSet *ss)
 Return a float span set with the values converted to radians. More...
 
SpanSetfloatspanset_round (const SpanSet *ss, int maxdd)
 Return a float span set with the precision of the spans set to a number of decimal places. More...
 
SpanSetfloatspanset_shift_scale (const SpanSet *ss, double shift, double width, bool hasshift, bool haswidth)
 Return a float span shifted and/or scaled by two values. More...
 
Setintset_shift_scale (const Set *s, int shift, int width, bool hasshift, bool haswidth)
 Return an integer set shifted and/or scaled by two values. More...
 
Spanintspan_expand (const Span *s, int i)
 Return an integer span with its bounds expanded/decreased by a value. More...
 
Spanintspan_shift_scale (const Span *s, int shift, int width, bool hasshift, bool haswidth)
 Return an integer span shifted and/or scaled by the values. More...
 
SpanSetintspanset_shift_scale (const SpanSet *ss, int shift, int width, bool hasshift, bool haswidth)
 Return an integer span shifted and/or scaled by two values. More...
 
Setset_round (const Set *s, int maxdd)
 Return a set with the precision of the values set to a number of decimal places. More...
 
Settextcat_text_textset (const text *txt, const Set *s)
 Return the concatenation of a text and a text set. More...
 
Settextcat_textset_text (const Set *s, const text *txt)
 Return the concatenation of a text set and a text. More...
 
Settextset_initcap (const Set *s)
 Return a text set transformed to initcap. More...
 
Settextset_lower (const Set *s)
 Return a text set transformed to lowercase. More...
 
Settextset_upper (const Set *s)
 Return a text set transformed to uppercase. More...
 
TimestampTz timestamptz_tprecision (TimestampTz t, const Interval *duration, TimestampTz torigin)
 Return a timestamptz with the precision set to a time bin. More...
 
Settstzset_shift_scale (const Set *s, const Interval *shift, const Interval *duration)
 Return a timestamptz set shifted and/or scaled by two intervals. More...
 
Settstzset_tprecision (const Set *s, const Interval *duration, TimestampTz torigin)
 Return a timestamptz set with the precision set to a time bin. More...
 
Spantstzspan_expand (const Span *s, const Interval *interv)
 Return a timestamptz span with its bounds expanded/decreased by an interval. More...
 
Spantstzspan_shift_scale (const Span *s, const Interval *shift, const Interval *duration)
 Return a timestamptz span shifted and/or scaled by two intervals. More...
 
Spantstzspan_tprecision (const Span *s, const Interval *duration, TimestampTz torigin)
 Return a timestamptz span with the precision set to a time bin. More...
 
SpanSettstzspanset_shift_scale (const SpanSet *ss, const Interval *shift, const Interval *duration)
 Return a timestamptz span set shifted and/or scaled by two intervals. More...
 
SpanSettstzspanset_tprecision (const SpanSet *ss, const Interval *duration, TimestampTz torigin)
 Return a timestamptz span set with the precision set to a time bin. More...
 

Detailed Description

Transformation functions for set and span types.