|
Datum | datum_bin (Datum value, Datum size, Datum offset, meosType basetype) |
| Return the initial value of the bin that contains a number value. More...
|
|
int64 | interval_units (const Interval *interval) |
| Return the interval in the same representation as Postgres timestamps. More...
|
|
Span * | span_bins (const Span *s, Datum size, Datum origin, int *count) |
| Return the bins from a span. More...
|
|
int | span_num_bins (const Span *s, Datum size, Datum origin, Datum *start_bin, Datum *end_bin) |
| Get the time bins of a temporal value. More...
|
|
Span * | spanset_bins (const SpanSet *ss, Datum size, Datum origin, int *count) |
| Return the bins from a span set. More...
|
|
bool | tbox_tile_state_get (TboxGridState *state, TBox *box) |
| Get the current tile of the multidimensional grid. More...
|
|
TboxGridState * | tbox_tile_state_make (const Temporal *temp, const TBox *box, Datum vsize, const Interval *duration, Datum xorigin, TimestampTz torigin) |
| Create the initial state for tiling operations. More...
|
|
void | tbox_tile_state_next (TboxGridState *state) |
| Increment the current state to the next tile of the multidimensional grid. More...
|
|
void | tbox_tile_state_set (Datum value, TimestampTz t, Datum vsize, int64 tunits, meosType basetype, meosType spantype, TBox *box) |
| Generate a tile from the a multidimensional grid. More...
|
|
SpanBinState * | temporal_time_bin_init (const Temporal *temp, const Interval *duration, TimestampTz torigin, int *nbins) |
| Set the state with a temporal value and a time bin for splitting or obtaining a set of spans. More...
|
|
TimestampTz | timestamptz_bin_start (TimestampTz timestamp, int64 tunits, TimestampTz torigin) |
| Return the initial timestamp of the bin that contains a timestamptz (internal function) More...
|
|
TboxGridState * | tnumber_value_time_tile_init (const Temporal *temp, Datum vsize, const Interval *duration, Datum vorigin, TimestampTz torigin, int *ntiles) |
| Set the state with a temporal number and a value and possibly time grid for splitting or obtaining a set of temporal boxes. More...
|
|