|
Datum | datum_bucket (Datum value, Datum size, Datum offset, meosType basetype) |
| Return the initial value of the bucket in which a number value falls. More...
|
|
int64 | interval_units (const Interval *interval) |
| Return the interval in the same representation as Postgres timestamps. More...
|
|
Span * | span_bucket_get (Datum lower, Datum size, meosType basetype) |
| Generate an integer or float span bucket from a bucket list. More...
|
|
void | span_bucket_set (Datum lower, Datum size, meosType basetype, Span *span) |
| Bucket and tile functions for temporal types. More...
|
|
SpanBucketState * | span_bucket_state_make (const Span *s, Datum size, Datum origin) |
| Create the initial state that persists across multiple calls of the function. More...
|
|
void | span_bucket_state_next (SpanBucketState *state) |
| Increment the current state to the next bucket of the bucket list. More...
|
|
void | tbox_tile_get (double value, TimestampTz t, double xsize, int64 tunits, TBox *box) |
| Generate a tile from the a multidimensional grid. More...
|
|
TboxGridState * | tbox_tile_state_make (const TBox *box, double xsize, const Interval *duration, double xorigin, TimestampTz torigin) |
| Create the initial state that persists across multiple calls of the function. More...
|
|
void | tbox_tile_state_next (TboxGridState *state) |
| Increment the current state to the next tile of the multidimensional grid. More...
|
|
Temporal ** | temporal_time_split1 (const Temporal *temp, TimestampTz start, TimestampTz end, int64 tunits, TimestampTz torigin, int count, TimestampTz **buckets, int *newcount) |
| Split a temporal value into fragments with respect to period buckets. More...
|
|
Temporal ** | temporal_value_time_split1 (Temporal *temp, Datum size, Interval *duration, Datum vorigin, TimestampTz torigin, bool valuesplit, bool timesplit, Datum **value_buckets, TimestampTz **time_buckets, int *newcount) |
| Split a temporal value with respect to a base value and possibly a temporal grid. More...
|
|
TimestampTz | timestamptz_bucket1 (TimestampTz timestamp, int64 tunits, TimestampTz torigin) |
| Return the initial timestamp of the bucket in which a timestamp falls. More...
|
|