MobilityDB 1.3
Loading...
Searching...
No Matches
Functions
tcbuffer_compops.c File Reference

Ever/always and temporal comparisons for temporal circular buffers. More...

#include <postgres.h>
#include <meos.h>
#include "temporal/temporal_compops.h"
#include "temporal/type_util.h"
#include "geo/tgeo_spatialfuncs.h"
#include "cbuffer/cbuffer.h"
#include "cbuffer/tcbuffer.h"

Functions

int always_eq_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp)
 Return true if a circular buffer is always equal to a temporal circular buffer. More...
 
int always_eq_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb)
 Return true if a temporal circular buffer is always equal to a circular buffer. More...
 
int always_eq_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2)
 Return true if two temporal circular buffers are always equal. More...
 
int always_ne_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp)
 Return true if a circular buffer is always different from a temporal circular buffer. More...
 
int always_ne_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb)
 Return true if a temporal circular buffer is always different from a circular buffer. More...
 
int always_ne_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2)
 Return true if two temporal circular buffers are always different. More...
 
int eacomp_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb, Datum(*func)(Datum, Datum, meosType), bool ever)
 Return true if a temporal circular buffer and a circular buffer satisfy the ever/always comparison. More...
 
int eacomp_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2, Datum(*func)(Datum, Datum, meosType), bool ever)
 Return true if two temporal circular buffers satisfy the ever/always comparison. More...
 
int ever_eq_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp)
 Return true if a circular buffer is ever equal to a temporal circular buffer. More...
 
int ever_eq_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb)
 Return true if a temporal circular buffer is ever equal to a circular buffer. More...
 
int ever_eq_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2)
 Return true if two temporal circular buffers are ever equal. More...
 
int ever_ne_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp)
 Return true if a circular buffer is ever different from a temporal circular buffer. More...
 
int ever_ne_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb)
 Return true if a temporal circular buffer is ever different from a circular buffer. More...
 
int ever_ne_tcbuffer_tcbuffer (const Temporal *temp1, const Temporal *temp2)
 Return true if two temporal circular buffers are ever different. More...
 
static Temporaltcomp_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp, Datum(*func)(Datum, Datum, meosType))
 Return the temporal comparison of a circular buffer and a temporal circular buffer. More...
 
static Temporaltcomp_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb, Datum(*func)(Datum, Datum, meosType))
 Return the temporal comparison of a temporal circular buffer and a circular buffer. More...
 
Temporalteq_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp)
 Return the temporal equality of a circular buffer and a temporal circular buffer. More...
 
Temporalteq_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb)
 Return the temporal equality of a temporal circular buffer and a circular buffer. More...
 
Temporaltne_cbuffer_tcbuffer (const Cbuffer *cb, const Temporal *temp)
 Return the temporal inequality of a circular buffer and a temporal circular buffer. More...
 
Temporaltne_tcbuffer_cbuffer (const Temporal *temp, const Cbuffer *cb)
 Return the temporal inequality of a temporal circular buffer and a circular buffer. More...
 

Detailed Description

Ever/always and temporal comparisons for temporal circular buffers.