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

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

Functions

int64 bigint_get_bin (int64 value, int64 size, int64 origin)
 Return the initial value of the bin that contains an integer. More...
 
Spanbigintspan_bins (const Span *s, int64 size, int64 origin, int *count)
 Return the bins of a big integer span. More...
 
Spanbigintspanset_bins (const SpanSet *ss, int64 vsize, int64 vorigin, int *count)
 Return the bins of a big integer span set. More...
 
DateADT date_get_bin (DateADT d, const Interval *duration, DateADT origin)
 Return the initial date of the bin that contains a date. More...
 
Spandatespan_bins (const Span *s, const Interval *duration, DateADT origin, int *count)
 Return the bins of a date span. More...
 
Spandatespanset_bins (const SpanSet *ss, const Interval *duration, DateADT torigin, int *count)
 Return the bins of a date span set. More...
 
double float_get_bin (double value, double size, double origin)
 Return the initial value of the bin that contains a float. More...
 
Spanfloatspan_bins (const Span *s, double size, double origin, int *count)
 Return the bins of a float span. More...
 
Spanfloatspanset_bins (const SpanSet *ss, double vsize, double vorigin, int *count)
 Return the bins of a float span set. More...
 
int int_get_bin (int value, int size, int origin)
 Return the initial value of the bin that contains an integer. More...
 
Spanintspan_bins (const Span *s, int size, int origin, int *count)
 Return the bins of an integer span. More...
 
Spanintspanset_bins (const SpanSet *ss, int vsize, int vorigin, int *count)
 Return the bins of an integer span set. More...
 
TimestampTz timestamptz_get_bin (TimestampTz t, const Interval *duration, TimestampTz origin)
 Return the initial timestamp of the bin that contains a timestamptz. More...
 
Spantstzspan_bins (const Span *s, const Interval *duration, TimestampTz origin, int *count)
 Return the bins of a timestamptz span. More...
 
Spantstzspanset_bins (const SpanSet *ss, const Interval *duration, TimestampTz torigin, int *count)
 Return the bins of a timestamptz span set. More...
 

Detailed Description

Bin functions for set and span types.