MobilityDB 1.1
|
#include <assert.h>
#include <float.h>
#include <math.h>
#include <postgres.h>
#include <funcapi.h>
#include <utils/datetime.h>
#include <meos.h>
#include <meos_internal.h>
#include "general/temporaltypes.h"
#include "general/temporal_tile.h"
#include "general/type_util.h"
#include "pg_general/meos_catalog.h"
Functions | |
PGDLLEXPORT Datum | Number_bucket (PG_FUNCTION_ARGS) |
Return the initial value of the bucket in which an integer value falls. More... | |
PGDLLEXPORT Datum | Period_bucket (PG_FUNCTION_ARGS) |
Generate a bucket in a bucket list for periods. More... | |
PGDLLEXPORT Datum | Period_bucket_list (PG_FUNCTION_ARGS) |
Generate a period bucket list. More... | |
PGDLLEXPORT Datum | Span_bucket (PG_FUNCTION_ARGS) |
Generate an integer or float span bucket in a bucket list for spans. More... | |
PGDLLEXPORT Datum | Span_bucket_list (PG_FUNCTION_ARGS) |
Generate a span bucket list. More... | |
Datum | Span_bucket_list_ext (FunctionCallInfo fcinfo, bool valuelist) |
PGDLLEXPORT Datum | Tbox_tile (PG_FUNCTION_ARGS) |
Generate a tile in a multidimensional grid for temporal numbers. More... | |
PGDLLEXPORT Datum | Tbox_tile_list (PG_FUNCTION_ARGS) |
Generate a multidimensional grid for temporal numbers. More... | |
PGDLLEXPORT Datum | Temporal_time_split (PG_FUNCTION_ARGS) |
Split a temporal value into fragments with respect to period buckets. More... | |
Datum | Temporal_value_time_split_ext (FunctionCallInfo fcinfo, bool valuesplit, bool timesplit) |
Split a temporal value with respect to a base value and possibly a temporal grid. More... | |
PGDLLEXPORT Datum | Timestamptz_bucket (PG_FUNCTION_ARGS) |
Return the initial timestamp of the bucket in which a timestamp falls. More... | |
PGDLLEXPORT Datum | Tnumber_value_split (PG_FUNCTION_ARGS) |
Split a temporal value into fragments with respect to period tiles. More... | |
PGDLLEXPORT Datum | Tnumber_value_time_split (PG_FUNCTION_ARGS) |
Split a temporal value into fragments with respect to span and period tiles. More... | |
ValueTimeSplitState * | value_time_split_state_make (Datum size, int64 tunits, Datum *value_buckets, TimestampTz *time_buckets, Temporal **fragments, int count) |
Create the initial state that persists across multiple calls of the function. More... | |
void | value_time_split_state_next (ValueTimeSplitState *state) |
Increment the current state to the next tile of the multidimensional grid. More... | |