MobilityDB  1.0
Functions
tbool_boolops.c File Reference

Temporal Boolean operators (and, or, not). More...

#include "general/tbool_boolops.h"
#include "general/temporaltypes.h"
#include "general/lifting.h"
Include dependency graph for tbool_boolops.c:

Functions

Datum datum_and (Datum l, Datum r)
 Returns the Boolean and of the two values. More...
 
Datum datum_or (Datum l, Datum r)
 Returns the Boolean or of the two values. More...
 
Temporalboolop_tbool_bool (const Temporal *temp, Datum b, datum_func2 func, bool invert)
 
Temporalboolop_tbool_tbool (const Temporal *temp1, const Temporal *temp2, datum_func2 func)
 
PGDLLEXPORT Datum tand_bool_tbool (PG_FUNCTION_ARGS)
 Returns the temporal boolean and of the value and the temporal value. More...
 
PGDLLEXPORT Datum tand_tbool_bool (PG_FUNCTION_ARGS)
 Returns the temporal boolean and of the temporal value and the value. More...
 
PGDLLEXPORT Datum tand_tbool_tbool (PG_FUNCTION_ARGS)
 Returns the temporal boolean and of the temporal values. More...
 
PGDLLEXPORT Datum tor_bool_tbool (PG_FUNCTION_ARGS)
 Returns the temporal boolean or of the value and the temporal value. More...
 
PGDLLEXPORT Datum tor_tbool_bool (PG_FUNCTION_ARGS)
 Returns the temporal boolean or of the temporal value and the value. More...
 
PGDLLEXPORT Datum tor_tbool_tbool (PG_FUNCTION_ARGS)
 Returns the temporal boolean or of the temporal values. More...
 
static TInstanttnot_tboolinst (const TInstant *inst)
 Returns the temporal boolean not of the temporal value. More...
 
static TInstantSettnot_tboolinstset (const TInstantSet *ti)
 Returns the temporal boolean not of the temporal value. More...
 
static TSequencetnot_tboolseq (const TSequence *seq)
 Returns the temporal boolean not of the temporal value. More...
 
static TSequenceSettnot_tboolseqset (const TSequenceSet *ts)
 Returns the temporal boolean not of the temporal value. More...
 
Temporaltnot_tbool_internal (const Temporal *temp)
 Returns the temporal boolean not of the temporal value (dispatch function) More...
 
PGDLLEXPORT Datum tnot_tbool (PG_FUNCTION_ARGS)
 Returns the temporal boolean not of the temporal value. More...
 

Detailed Description

Temporal Boolean operators (and, or, not).