Hermes
 All Data Structures Files Functions Variables Macros Pages
Definition.c File Reference

The implementantion of RangeT. More...

#include "../../h/Temporal/RangeT/Definition.h"
#include "../../h/Utilities/Utilities.h"
#include <libpq/pqformat.h>
#include <access/hash.h>
Include dependency graph for Definition.c:

Functions

RangeTcloneRangeT (const RangeT *range, RangeT *result)
 
PGDLLEXPORT Datum cloneRangeTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (cloneRangeTV1)
 
RangeTconstructorRangeT (const Interval *r, Timestamp c, RangeT *result, char **error)
 
PGDLLEXPORT Datum constructorRangeTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (constructorRangeTV1)
 
RangeTinRangeT (const char *str, RangeT *result, char **error)
 
PGDLLEXPORT Datum inRangeTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (inRangeTV1)
 
char * outRangeT (const RangeT *range)
 
PGDLLEXPORT Datum outRangeTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (outRangeTV1)
 
PGDLLEXPORT Datum recvRangeT (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (recvRangeT)
 
bytea * RangeT2Bytea (const RangeT *range)
 
PGDLLEXPORT Datum sendRangeT (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (sendRangeT)
 
PGDLLEXPORT Datum hashRangeT (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (hashRangeT)
 
bool equalsRangeT (const RangeT *rangeA, const RangeT *rangeB)
 
PGDLLEXPORT Datum equalsRangeTV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (equalsRangeTV1)
 
PGDLLEXPORT Datum getRRangeT (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getRRangeT)
 
PGDLLEXPORT Datum getCRangeT (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (getCRangeT)
 

Detailed Description

The implementantion of RangeT.

Author
Marios Vodas (mvoda.nosp@m.s@gm.nosp@m.ail.c.nosp@m.om).

These functions are documented in the RangeT/Definition.h

Function Documentation

RangeT* cloneRangeT ( const RangeT range,
RangeT result 
)

Referenced by cloneRangeTV1().

PGDLLEXPORT Datum cloneRangeTV1 ( PG_FUNCTION_ARGS  )

References cloneRangeT().

Here is the call graph for this function:

RangeT* constructorRangeT ( const Interval *  r,
Timestamp  c,
RangeT result,
char **  error 
)

References RangeT::c, interval2seconds(), and RangeT::r.

Referenced by constructorRangeTV1().

Here is the call graph for this function:

PGDLLEXPORT Datum constructorRangeTV1 ( PG_FUNCTION_ARGS  )

References constructorRangeT().

Here is the call graph for this function:

bool equalsRangeT ( const RangeT rangeA,
const RangeT rangeB 
)

References RangeT::c, and RangeT::r.

Referenced by equalsRangeTV1().

PGDLLEXPORT Datum equalsRangeTV1 ( PG_FUNCTION_ARGS  )

References equalsRangeT().

Here is the call graph for this function:

PGDLLEXPORT Datum getCRangeT ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum getRRangeT ( PG_FUNCTION_ARGS  )
PGDLLEXPORT Datum hashRangeT ( PG_FUNCTION_ARGS  )

References RangeT2Bytea().

Here is the call graph for this function:

RangeT* inRangeT ( const char *  str,
RangeT result,
char **  error 
)

References asprintfHermes(), RangeT::c, interval2seconds(), and RangeT::r.

Referenced by inRangeTV1().

Here is the call graph for this function:

PGDLLEXPORT Datum inRangeTV1 ( PG_FUNCTION_ARGS  )

References inRangeT().

Here is the call graph for this function:

char* outRangeT ( const RangeT range)

References asprintfHermes(), RangeT::c, and RangeT::r.

Referenced by outRangeTV1().

Here is the call graph for this function:

PGDLLEXPORT Datum outRangeTV1 ( PG_FUNCTION_ARGS  )

References outRangeT().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( cloneRangeTV1  )
PG_FUNCTION_INFO_V1 ( constructorRangeTV1  )
PG_FUNCTION_INFO_V1 ( inRangeTV1  )
PG_FUNCTION_INFO_V1 ( outRangeTV1  )
PG_FUNCTION_INFO_V1 ( recvRangeT  )
PG_FUNCTION_INFO_V1 ( sendRangeT  )
PG_FUNCTION_INFO_V1 ( hashRangeT  )
PG_FUNCTION_INFO_V1 ( equalsRangeTV1  )
PG_FUNCTION_INFO_V1 ( getRRangeT  )
PG_FUNCTION_INFO_V1 ( getCRangeT  )
bytea* RangeT2Bytea ( const RangeT range)
PGDLLEXPORT Datum recvRangeT ( PG_FUNCTION_ARGS  )

References RangeT::c, getmsgTimeOffsetHermes, getmsgTimestampHermes, interval2seconds(), and RangeT::r.

Here is the call graph for this function:

PGDLLEXPORT Datum sendRangeT ( PG_FUNCTION_ARGS  )

References RangeT2Bytea().

Here is the call graph for this function: