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

Sets of circular buffer type. More...

#include <assert.h>
#include <float.h>
#include <postgres.h>
#include <liblwgeom.h>
#include <meos.h>
#include "temporal/set.h"
#include "temporal/type_parser.h"
#include "temporal/type_util.h"
#include "cbuffer/cbuffer.h"

Functions

Setcbuffer_union_transfn (Set *state, const Cbuffer *cb)
 Transition function for set union aggregate of circular buffers. More...
 
Cbuffercbufferset_end_value (const Set *s)
 Return a copy of the end value of a circular buffer set. More...
 
Setcbufferset_in (const char *str)
 Return a set from its Well-Known Text (WKT) representation. More...
 
Setcbufferset_make (const Cbuffer **values, int count)
 Return a circular buffer set from an array of values. More...
 
char * cbufferset_out (const Set *s, int maxdd)
 Return the string representation of a circular buffer set. More...
 
Cbuffercbufferset_start_value (const Set *s)
 Return a copy of the start value of a circular buffer set. More...
 
bool cbufferset_value_n (const Set *s, int n, Cbuffer **result)
 Return in the last argument a copy of the n-th value of a circular buffer set. More...
 
Cbuffer ** cbufferset_values (const Set *s)
 Return the array of copies of the values of a circular buffer set. More...
 
bool contained_cbuffer_set (const Cbuffer *cb, const Set *s)
 Return true if a circular buffer is contained in a set. More...
 
bool contains_set_cbuffer (const Set *s, Cbuffer *cb)
 Return true if a set contains a circular buffer. More...
 
Setintersection_cbuffer_set (const Cbuffer *cb, const Set *s)
 Return the intersection of a circular buffer and a set. More...
 
Setintersection_set_cbuffer (const Set *s, const Cbuffer *cb)
 Return the intersection of a set and a circular buffer. More...
 
Setminus_cbuffer_set (const Cbuffer *cb, const Set *s)
 Return the difference of a circular buffer and a set. More...
 
Setminus_set_cbuffer (const Set *s, const Cbuffer *cb)
 Return the difference of a set and a circular buffer. More...
 
Setunion_cbuffer_set (const Cbuffer *cb, const Set *s)
 Return the union of a circular buffer and a set. More...
 
Setunion_set_cbuffer (const Set *s, const Cbuffer *cb)
 Return the union of a set and a circular buffer. More...
 

Detailed Description

Sets of circular buffer type.