![]() |
MobilityDB 1.3
|
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... | |
Span * | bigintspan_bins (const Span *s, int64 size, int64 origin, int *count) |
Return the bins of a big integer span. More... | |
Span * | bigintspanset_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... | |
Span * | datespan_bins (const Span *s, const Interval *duration, DateADT origin, int *count) |
Return the bins of a date span. More... | |
Span * | datespanset_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... | |
Span * | floatspan_bins (const Span *s, double size, double origin, int *count) |
Return the bins of a float span. More... | |
Span * | floatspanset_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... | |
Span * | intspan_bins (const Span *s, int size, int origin, int *count) |
Return the bins of an integer span. More... | |
Span * | intspanset_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... | |
Span * | tstzspan_bins (const Span *s, const Interval *duration, TimestampTz origin, int *count) |
Return the bins of a timestamptz span. More... | |
Span * | tstzspanset_bins (const SpanSet *ss, const Interval *duration, TimestampTz torigin, int *count) |
Return the bins of a timestamptz span set. More... | |
Bin functions for set and span types.