Hermes
|
The implementantion of BoxST. More...
#include "../../h/SpatioTemporal/BoxST/Definition.h"
#include "../../h/Utilities/Utilities.h"
#include <libpq/pqformat.h>
#include <access/hash.h>
Functions | |
BoxST * | cloneBoxST (const BoxST *box, BoxST *result) |
PGDLLEXPORT Datum | cloneBoxSTV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (cloneBoxSTV1) | |
BoxST * | constructorBoxST (Timestamp ti, Timestamp te, int32 lx, int32 ly, int32 hx, int32 hy, BoxST *result, char **error) |
PGDLLEXPORT Datum | constructorBoxSTV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (constructorBoxSTV1) | |
BoxST * | constructorHighBoxST (const Period *t, const BoxSP *sp, BoxST *result, char **error) |
PGDLLEXPORT Datum | constructorHighBoxSTV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (constructorHighBoxSTV1) | |
BoxST * | inBoxST (const char *str, BoxST *result, char **error) |
PGDLLEXPORT Datum | inBoxSTV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (inBoxSTV1) | |
char * | outBoxST (const BoxST *box) |
PGDLLEXPORT Datum | outBoxSTV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (outBoxSTV1) | |
PGDLLEXPORT Datum | recvBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (recvBoxST) | |
bytea * | BoxST2Bytea (const BoxST *box) |
PGDLLEXPORT Datum | sendBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (sendBoxST) | |
PGDLLEXPORT Datum | hashBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (hashBoxST) | |
bool | equalsBoxST (const BoxST *boxA, const BoxST *boxB) |
PGDLLEXPORT Datum | equalsBoxSTV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (equalsBoxSTV1) | |
PGDLLEXPORT Datum | getTBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getTBoxST) | |
PGDLLEXPORT Datum | getTiBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getTiBoxST) | |
PGDLLEXPORT Datum | getTeBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getTeBoxST) | |
PGDLLEXPORT Datum | getSpBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getSpBoxST) | |
PGDLLEXPORT Datum | getLBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getLBoxST) | |
PGDLLEXPORT Datum | getLxBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getLxBoxST) | |
PGDLLEXPORT Datum | getLyBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getLyBoxST) | |
PGDLLEXPORT Datum | getHBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getHBoxST) | |
PGDLLEXPORT Datum | getHxBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getHxBoxST) | |
PGDLLEXPORT Datum | getHyBoxST (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getHyBoxST) | |
The implementantion of BoxST.
These functions are documented in the BoxST/Definition.h
bytea* BoxST2Bytea | ( | const BoxST * | box | ) |
References Period::e, BoxSP::h, Period::i, BoxSP::l, sendTimestampHermes, BoxST::sp, BoxST::t, PointSP::x, and PointSP::y.
Referenced by hashBoxST(), and sendBoxST().
Referenced by cloneBoxSTV1(), and unionGiSTBoxST().
PGDLLEXPORT Datum cloneBoxSTV1 | ( | PG_FUNCTION_ARGS | ) |
BoxST* constructorBoxST | ( | Timestamp | ti, |
Timestamp | te, | ||
int32 | lx, | ||
int32 | ly, | ||
int32 | hx, | ||
int32 | hy, | ||
BoxST * | result, | ||
char ** | error | ||
) |
References Period::e, BoxSP::h, Period::i, BoxSP::l, BoxST::sp, BoxST::t, PointSP::x, and PointSP::y.
Referenced by constructorBoxSTV1().
PGDLLEXPORT Datum constructorBoxSTV1 | ( | PG_FUNCTION_ARGS | ) |
References Period::e, BoxSP::h, Period::i, BoxSP::l, BoxST::sp, BoxST::t, PointSP::x, and PointSP::y.
Referenced by constructorHighBoxSTV1().
PGDLLEXPORT Datum constructorHighBoxSTV1 | ( | PG_FUNCTION_ARGS | ) |
References Period::e, BoxSP::h, Period::i, BoxSP::l, BoxST::sp, BoxST::t, PointSP::x, and PointSP::y.
Referenced by equalsBoxSTV1(), picksplitGiSTBoxST(), picksplitGiSTSegmentST(), sameGiSTBoxST(), and sameGiSTSegmentST().
PGDLLEXPORT Datum equalsBoxSTV1 | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getHBoxST | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getHxBoxST | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getHyBoxST | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getLBoxST | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getLxBoxST | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getLyBoxST | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getSpBoxST | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getTBoxST | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getTeBoxST | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getTiBoxST | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum hashBoxST | ( | PG_FUNCTION_ARGS | ) |
References asprintfHermes(), Period::e, BoxSP::h, Period::i, BoxSP::l, BoxST::sp, BoxST::t, PointSP::x, and PointSP::y.
Referenced by inBoxSTV1().
PGDLLEXPORT Datum inBoxSTV1 | ( | PG_FUNCTION_ARGS | ) |
char* outBoxST | ( | const BoxST * | box | ) |
References asprintfHermes(), Period::e, BoxSP::h, Period::i, BoxSP::l, BoxST::sp, BoxST::t, PointSP::x, and PointSP::y.
Referenced by outBoxSTV1(), penaltyGiSTSegmentST(), and sameGiSTSegmentST().
PGDLLEXPORT Datum outBoxSTV1 | ( | PG_FUNCTION_ARGS | ) |
PG_FUNCTION_INFO_V1 | ( | cloneBoxSTV1 | ) |
PG_FUNCTION_INFO_V1 | ( | constructorBoxSTV1 | ) |
PG_FUNCTION_INFO_V1 | ( | constructorHighBoxSTV1 | ) |
PG_FUNCTION_INFO_V1 | ( | inBoxSTV1 | ) |
PG_FUNCTION_INFO_V1 | ( | outBoxSTV1 | ) |
PG_FUNCTION_INFO_V1 | ( | recvBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | sendBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | hashBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | equalsBoxSTV1 | ) |
PG_FUNCTION_INFO_V1 | ( | getTBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | getTiBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | getTeBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | getSpBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | getLBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | getLxBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | getLyBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | getHBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | getHxBoxST | ) |
PG_FUNCTION_INFO_V1 | ( | getHyBoxST | ) |
PGDLLEXPORT Datum recvBoxST | ( | PG_FUNCTION_ARGS | ) |
References Period::e, getmsgTimestampHermes, BoxSP::h, Period::i, BoxSP::l, BoxST::sp, BoxST::t, PointSP::x, and PointSP::y.
PGDLLEXPORT Datum sendBoxST | ( | PG_FUNCTION_ARGS | ) |