![]() |
MobilityDB 1.3
|
Go to the source code of this file.
Macros | |
#define | DatumGetSkipListP(X) ((SkipList *) DatumGetPointer(X)) |
Skiplist data structure used for performing temporal aggregates. More... | |
#define | PG_GETARG_SKIPLIST_P(n) DatumGetSkipListP(PG_GETARG_DATUM(n)) |
#define | PG_RETURN_SKIPLIST_P(x) return SkipListPGetDatum(x) |
#define | SkipListPGetDatum(X) PointerGetDatum(X) |
Functions | |
void | aggstate_set_extra (SkipList *state, void *data, size_t size) |
Output the skiplist in graphviz dot format for visualisation and debugging purposes. More... | |
bool | ensure_same_skiplist_subtype (SkipList *state, uint8 subtype) |
void * | skiplist_headval (SkipList *list) |
Return the value at the head of the skiplist. More... | |
SkipList * | skiplist_make (void **values, int count) |
Constructs a skiplist from the array of values values. More... | |
void | skiplist_splice (SkipList *list, void **values, int count, datum_func2 func, bool crossings) |
Splice the skiplist with the array of values using the aggregation function. More... | |
Temporal ** | skiplist_temporal_values (SkipList *list) |
Return a copy of the temporal values contained in the skiplist. More... | |
void ** | skiplist_values (SkipList *list) |
Return the values contained in the skiplist. More... | |