MobilityDB  1.0
Data Structures | Typedefs | Functions
temporal_tile.h File Reference
#include <postgres.h>
#include <fmgr.h>
#include "temporal.h"
Include dependency graph for temporal_tile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  RangeBucketState
 Struct for storing the state that persists across multiple calls generating the bucket list. More...
 
struct  PeriodBucketState
 Struct for storing the state that persists across multiple calls generating the bucket list. More...
 
struct  TboxGridState
 Struct for storing the state that persists across multiple calls generating the multidimensional grid. More...
 
struct  ValueSplitState
 Struct for storing the state that persists across multiple calls to output the temporal fragments. More...
 
struct  TimeSplitState
 Struct for storing the state that persists across multiple calls to output the temporal fragments. More...
 
struct  ValueTimeSplitState
 Struct for storing the state that persists across multiple calls to output the temporal fragments. More...
 

Typedefs

typedef struct RangeBucketState RangeBucketState
 Struct for storing the state that persists across multiple calls generating the bucket list. More...
 
typedef struct PeriodBucketState PeriodBucketState
 Struct for storing the state that persists across multiple calls generating the bucket list. More...
 
typedef struct TboxGridState TboxGridState
 Struct for storing the state that persists across multiple calls generating the multidimensional grid. More...
 
typedef struct ValueSplitState ValueSplitState
 Struct for storing the state that persists across multiple calls to output the temporal fragments. More...
 
typedef struct TimeSplitState TimeSplitState
 Struct for storing the state that persists across multiple calls to output the temporal fragments. More...
 
typedef struct ValueTimeSplitState ValueTimeSplitState
 Struct for storing the state that persists across multiple calls to output the temporal fragments. More...
 

Functions

double float_bucket_internal (double value, double size, double origin)
 Return the initial value of the bucket in which a float value falls. More...
 
TimestampTz timestamptz_bucket_internal (TimestampTz timestamp, int64 tunits, TimestampTz torigin)
 Return the initial timestamp of the bucket in which a timestamp falls. More...
 
int64 get_interval_units (Interval *interval)
 Returns the interval in the same representation as Postgres timestamps. More...
 
Datum number_bucket (PG_FUNCTION_ARGS)
 Return the initial value of the bucket in which an integer value falls. More...
 
Datum timestamptz_bucket (PG_FUNCTION_ARGS)
 Return the initial timestamp of the bucket in which a timestamp falls. More...
 
Datum range_bucket_list (PG_FUNCTION_ARGS)
 Generate a range bucket list. More...
 
Datum range_bucket (PG_FUNCTION_ARGS)
 Generate an integer or float range bucket in a bucket list for ranges. More...
 
Datum period_bucket_list (PG_FUNCTION_ARGS)
 Generate a period bucket list. More...
 
Datum period_bucket (PG_FUNCTION_ARGS)
 Generate a bucket in a bucket list for periods. More...
 
Datum tnumber_value_split (PG_FUNCTION_ARGS)
 Split a temporal value into fragments with respect to period buckets. More...
 
Datum temporal_time_split (PG_FUNCTION_ARGS)
 Split a temporal value into fragments with respect to period buckets. More...
 
Datum tbox_multidim_grid (PG_FUNCTION_ARGS)
 Generate a multidimensional grid for temporal numbers. More...
 
Datum tbox_multidim_tile (PG_FUNCTION_ARGS)
 Generate a tile in a multidimensional grid for temporal numbers. More...
 
Datum tnumber_value_time_split (PG_FUNCTION_ARGS)
 Split a temporal value into fragments with respect to period tiles. More...