Hermes
|
The implementantion of Period. More...
#include "../../h/Temporal/Period/Definition.h"
#include "../../h/Utilities/Utilities.h"
#include <libpq/pqformat.h>
#include <access/hash.h>
Functions | |
Period * | clonePeriod (const Period *period, Period *result) |
PGDLLEXPORT Datum | clonePeriodV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (clonePeriodV1) | |
Period * | constructorPeriod (Timestamp i, Timestamp e, Period *result, char **error) |
PGDLLEXPORT Datum | constructorPeriodV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (constructorPeriodV1) | |
Period * | inPeriod (const char *str, Period *result, char **error) |
PGDLLEXPORT Datum | inPeriodV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (inPeriodV1) | |
char * | outPeriod (const Period *period) |
PGDLLEXPORT Datum | outPeriodV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (outPeriodV1) | |
PGDLLEXPORT Datum | recvPeriod (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (recvPeriod) | |
bytea * | Period2Bytea (const Period *period) |
PGDLLEXPORT Datum | sendPeriod (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (sendPeriod) | |
PGDLLEXPORT Datum | hashPeriod (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (hashPeriod) | |
bool | equalsPeriod (const Period *periodA, const Period *periodB) |
PGDLLEXPORT Datum | equalsPeriodV1 (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (equalsPeriodV1) | |
PGDLLEXPORT Datum | getIPeriod (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getIPeriod) | |
PGDLLEXPORT Datum | getEPeriod (PG_FUNCTION_ARGS) |
PG_FUNCTION_INFO_V1 (getEPeriod) | |
The implementantion of Period.
These functions are documented in the Period/Definition.h
PGDLLEXPORT Datum clonePeriodV1 | ( | PG_FUNCTION_ARGS | ) |
References e(), Period::e, i(), and Period::i.
Referenced by constructorPeriodV1().
PGDLLEXPORT Datum constructorPeriodV1 | ( | PG_FUNCTION_ARGS | ) |
References Period::e, and Period::i.
Referenced by equalsPeriodV1().
PGDLLEXPORT Datum equalsPeriodV1 | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getEPeriod | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum getIPeriod | ( | PG_FUNCTION_ARGS | ) |
PGDLLEXPORT Datum hashPeriod | ( | PG_FUNCTION_ARGS | ) |
References asprintfHermes(), e(), Period::e, i(), and Period::i.
Referenced by inPeriodV1().
PGDLLEXPORT Datum inPeriodV1 | ( | PG_FUNCTION_ARGS | ) |
char* outPeriod | ( | const Period * | period | ) |
References asprintfHermes(), Period::e, and Period::i.
Referenced by outPeriodV1().
PGDLLEXPORT Datum outPeriodV1 | ( | PG_FUNCTION_ARGS | ) |
bytea* Period2Bytea | ( | const Period * | period | ) |
References Period::e, Period::i, and sendTimestampHermes.
Referenced by hashPeriod(), and sendPeriod().
PG_FUNCTION_INFO_V1 | ( | clonePeriodV1 | ) |
PG_FUNCTION_INFO_V1 | ( | constructorPeriodV1 | ) |
PG_FUNCTION_INFO_V1 | ( | inPeriodV1 | ) |
PG_FUNCTION_INFO_V1 | ( | outPeriodV1 | ) |
PG_FUNCTION_INFO_V1 | ( | recvPeriod | ) |
PG_FUNCTION_INFO_V1 | ( | sendPeriod | ) |
PG_FUNCTION_INFO_V1 | ( | hashPeriod | ) |
PG_FUNCTION_INFO_V1 | ( | equalsPeriodV1 | ) |
PG_FUNCTION_INFO_V1 | ( | getIPeriod | ) |
PG_FUNCTION_INFO_V1 | ( | getEPeriod | ) |
PGDLLEXPORT Datum recvPeriod | ( | PG_FUNCTION_ARGS | ) |
References Period::e, getmsgTimestampHermes, and Period::i.
PGDLLEXPORT Datum sendPeriod | ( | PG_FUNCTION_ARGS | ) |