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

The implementantion of Period. More...

Include dependency graph for Distance.c:

Functions

Interval * distanceInIntervalPeriod_Timestamp (const Period *period, Timestamp ts, Interval *result)
 
PGDLLEXPORT Datum distanceInIntervalPeriod_TimestampV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (distanceInIntervalPeriod_TimestampV1)
 
float8 distancePeriod_Timestamp (const Period *period, Timestamp ts)
 
Interval * distanceInIntervalPeriod_Period (const Period *periodA, const Period *periodB, Interval *result)
 
PGDLLEXPORT Datum distanceInIntervalPeriod_PeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (distanceInIntervalPeriod_PeriodV1)
 
float8 distancePeriod_Period (const Period *periodA, const Period *periodB)
 

Detailed Description

The implementantion of Period.

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

These functions are documented in the Period/Distance.h

Function Documentation

Interval* distanceInIntervalPeriod_Period ( const Period periodA,
const Period periodB,
Interval *  result 
)
PGDLLEXPORT Datum distanceInIntervalPeriod_PeriodV1 ( PG_FUNCTION_ARGS  )

References distanceInIntervalPeriod_Period().

Here is the call graph for this function:

Interval* distanceInIntervalPeriod_Timestamp ( const Period period,
Timestamp  ts,
Interval *  result 
)
PGDLLEXPORT Datum distanceInIntervalPeriod_TimestampV1 ( PG_FUNCTION_ARGS  )

References distanceInIntervalPeriod_Timestamp().

Here is the call graph for this function:

float8 distancePeriod_Period ( const Period periodA,
const Period periodB 
)
float8 distancePeriod_Timestamp ( const Period period,
Timestamp  ts 
)

References distanceInIntervalPeriod_Timestamp(), and interval2seconds().

Referenced by distanceGiSTSegmentST(), and distanceSegmentST_TimestampV1().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( distanceInIntervalPeriod_TimestampV1  )
PG_FUNCTION_INFO_V1 ( distanceInIntervalPeriod_PeriodV1  )