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

The implementantion of Period. More...

Include dependency graph for RelationalOperators.c:

Functions

bool intersectsPeriod_Period (const Period *periodA, const Period *periodB)
 
PGDLLEXPORT Datum intersectsPeriod_PeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (intersectsPeriod_PeriodV1)
 
bool containsPeriod_Timestamp (const Period *period, Timestamp ts)
 
bool containsPeriod_Period (const Period *periodA, const Period *periodB)
 
PGDLLEXPORT Datum containsPeriod_TimestampV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (containsPeriod_TimestampV1)
 
PGDLLEXPORT Datum containsPeriod_PeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (containsPeriod_PeriodV1)
 
bool containsProperlyPeriod_Timestamp (const Period *period, Timestamp ts)
 
bool containsProperlyPeriod_Period (const Period *periodA, const Period *periodB)
 
PGDLLEXPORT Datum containsProperlyPeriod_TimestampV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (containsProperlyPeriod_TimestampV1)
 
PGDLLEXPORT Datum containsProperlyPeriod_PeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (containsProperlyPeriod_PeriodV1)
 
bool afterPeriod_Timestamp (const Period *period, Timestamp ts)
 
bool afterPeriod_Period (const Period *periodA, const Period *periodB)
 
PGDLLEXPORT Datum afterPeriod_TimestampV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (afterPeriod_TimestampV1)
 
PGDLLEXPORT Datum afterPeriod_PeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (afterPeriod_PeriodV1)
 
bool beforePeriod_Timestamp (const Period *period, Timestamp ts)
 
bool beforePeriod_Period (const Period *periodA, const Period *periodB)
 
PGDLLEXPORT Datum beforePeriod_TimestampV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (beforePeriod_TimestampV1)
 
PGDLLEXPORT Datum beforePeriod_PeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (beforePeriod_PeriodV1)
 
bool meetsPeriod_Timestamp (const Period *period, Timestamp ts)
 
bool meetsPeriod_Period (const Period *periodA, const Period *periodB)
 
PGDLLEXPORT Datum meetsPeriod_TimestampV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (meetsPeriod_TimestampV1)
 
PGDLLEXPORT Datum meetsPeriod_PeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (meetsPeriod_PeriodV1)
 
bool startsPeriod_Period (const Period *periodA, const Period *periodB)
 
bool finishesPeriod_Period (const Period *periodA, const Period *periodB)
 
PGDLLEXPORT Datum startsPeriod_PeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (startsPeriod_PeriodV1)
 
PGDLLEXPORT Datum finishesPeriod_PeriodV1 (PG_FUNCTION_ARGS)
 
 PG_FUNCTION_INFO_V1 (finishesPeriod_PeriodV1)
 

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/RelationalOperators.h

Function Documentation

bool afterPeriod_Period ( const Period periodA,
const Period periodB 
)
PGDLLEXPORT Datum afterPeriod_PeriodV1 ( PG_FUNCTION_ARGS  )

References afterPeriod_Period().

Here is the call graph for this function:

bool afterPeriod_Timestamp ( const Period period,
Timestamp  ts 
)
PGDLLEXPORT Datum afterPeriod_TimestampV1 ( PG_FUNCTION_ARGS  )

References afterPeriod_Timestamp().

Here is the call graph for this function:

bool beforePeriod_Period ( const Period periodA,
const Period periodB 
)
PGDLLEXPORT Datum beforePeriod_PeriodV1 ( PG_FUNCTION_ARGS  )

References beforePeriod_Period().

Here is the call graph for this function:

bool beforePeriod_Timestamp ( const Period period,
Timestamp  ts 
)
PGDLLEXPORT Datum beforePeriod_TimestampV1 ( PG_FUNCTION_ARGS  )

References beforePeriod_Timestamp().

Here is the call graph for this function:

PGDLLEXPORT Datum containsPeriod_PeriodV1 ( PG_FUNCTION_ARGS  )

References containsPeriod_Period().

Here is the call graph for this function:

bool containsPeriod_Timestamp ( const Period period,
Timestamp  ts 
)
PGDLLEXPORT Datum containsPeriod_TimestampV1 ( PG_FUNCTION_ARGS  )

References containsPeriod_Timestamp().

Here is the call graph for this function:

bool containsProperlyPeriod_Period ( const Period periodA,
const Period periodB 
)
PGDLLEXPORT Datum containsProperlyPeriod_PeriodV1 ( PG_FUNCTION_ARGS  )

References containsProperlyPeriod_Period().

Here is the call graph for this function:

bool containsProperlyPeriod_Timestamp ( const Period period,
Timestamp  ts 
)
PGDLLEXPORT Datum containsProperlyPeriod_TimestampV1 ( PG_FUNCTION_ARGS  )

References containsProperlyPeriod_Timestamp().

Here is the call graph for this function:

bool finishesPeriod_Period ( const Period periodA,
const Period periodB 
)

References Period::e.

Referenced by finishesPeriod_PeriodV1().

PGDLLEXPORT Datum finishesPeriod_PeriodV1 ( PG_FUNCTION_ARGS  )

References finishesPeriod_Period().

Here is the call graph for this function:

PGDLLEXPORT Datum intersectsPeriod_PeriodV1 ( PG_FUNCTION_ARGS  )

References intersectsPeriod_Period().

Here is the call graph for this function:

bool meetsPeriod_Period ( const Period periodA,
const Period periodB 
)

References Period::e, and Period::i.

Referenced by meetsPeriod_PeriodV1().

PGDLLEXPORT Datum meetsPeriod_PeriodV1 ( PG_FUNCTION_ARGS  )

References meetsPeriod_Period().

Here is the call graph for this function:

bool meetsPeriod_Timestamp ( const Period period,
Timestamp  ts 
)

References Period::e.

Referenced by meetsPeriod_TimestampV1().

PGDLLEXPORT Datum meetsPeriod_TimestampV1 ( PG_FUNCTION_ARGS  )

References meetsPeriod_Timestamp().

Here is the call graph for this function:

PG_FUNCTION_INFO_V1 ( intersectsPeriod_PeriodV1  )
PG_FUNCTION_INFO_V1 ( containsPeriod_TimestampV1  )
PG_FUNCTION_INFO_V1 ( containsPeriod_PeriodV1  )
PG_FUNCTION_INFO_V1 ( containsProperlyPeriod_TimestampV1  )
PG_FUNCTION_INFO_V1 ( containsProperlyPeriod_PeriodV1  )
PG_FUNCTION_INFO_V1 ( afterPeriod_TimestampV1  )
PG_FUNCTION_INFO_V1 ( afterPeriod_PeriodV1  )
PG_FUNCTION_INFO_V1 ( beforePeriod_TimestampV1  )
PG_FUNCTION_INFO_V1 ( beforePeriod_PeriodV1  )
PG_FUNCTION_INFO_V1 ( meetsPeriod_TimestampV1  )
PG_FUNCTION_INFO_V1 ( meetsPeriod_PeriodV1  )
PG_FUNCTION_INFO_V1 ( startsPeriod_PeriodV1  )
PG_FUNCTION_INFO_V1 ( finishesPeriod_PeriodV1  )
bool startsPeriod_Period ( const Period periodA,
const Period periodB 
)

References Period::i.

Referenced by startsPeriod_PeriodV1().

PGDLLEXPORT Datum startsPeriod_PeriodV1 ( PG_FUNCTION_ARGS  )

References startsPeriod_Period().

Here is the call graph for this function: