MobilityDB 1.1
Functions | Variables
meos_catalog.c File Reference
#include "general/meos_catalog.h"
#include <postgres.h>
#include <access/hash.h>
#include <meos.h>
#include "general/pg_types.h"
#include "general/temporaltypes.h"
Include dependency graph for meos_catalog.c:

Functions

bool alphanum_basetype (meosType type)
 Return true if the type is an alphanumeric base type. More...
 
bool alphanumset_type (meosType type)
 Return true if the type is a set type. More...
 
bool basetype_byvalue (meosType type)
 Return true if the values of the base type are passed by value. More...
 
int16 basetype_length (meosType type)
 Return the length of a base type. More...
 
meosType basetype_settype (meosType basetype)
 Return the base type from the set type. More...
 
meosType basetype_spantype (meosType basetype)
 Return the base type from the span type. More...
 
bool basetype_varlength (meosType type)
 Return true if the values of the base type are of variable length. More...
 
void ensure_basetype (meosType type)
 Ensure that a type is a base type of one of the template types, that is, Set, Span, SpanSet, and Temporal. More...
 
void ensure_set_basetype (meosType type)
 Ensure that the type is a set base type. More...
 
void ensure_set_type (meosType type)
 Ensure that the type is a set type. More...
 
void ensure_span_basetype (meosType type)
 Ensure that the type is a span base type. More...
 
void ensure_span_type (meosType type)
 Ensure that the type is a span type. More...
 
void ensure_temporal_basetype (meosType type)
 Ensure that a type is a temporal base type. More...
 
void ensure_temporal_type (meosType type)
 Ensure that a type is a temporal type. More...
 
void ensure_temptype_continuous (meosType type)
 Ensure that the temporal type is continuous. More...
 
void ensure_tgeo_type (meosType type)
 Ensure that the type is a point base type. More...
 
void ensure_time_type (meosType type)
 Ensure that the type corresponds to a time type. More...
 
void ensure_tnumber_basetype (meosType type)
 Return true if the type is a number base type. More...
 
void ensure_tnumber_spansettype (meosType type)
 Ensure that the type is a span type. More...
 
void ensure_tnumber_spantype (meosType type)
 Ensure that the type is a span type. More...
 
void ensure_tnumber_type (meosType type)
 Return true if the type is a number base type. More...
 
bool geo_basetype (meosType type)
 Return true if the type is a geo base type. More...
 
bool geoset_type (meosType type)
 Return true if the type is a geo set type. More...
 
bool numset_type (meosType type)
 Return true if the type is a number set type. More...
 
bool numspan_basetype (meosType type)
 Return true if the type is a numeric span type. More...
 
bool numspan_type (meosType type)
 Return true if the type is a numeric span type. More...
 
bool numspanset_type (meosType type)
 Return true if the type is a numeric span type. More...
 
bool set_basetype (meosType type)
 Return true if the type is a base type of a set type. More...
 
bool set_span_type (meosType type)
 Return true if the type is a set type with a span as a bounding box. More...
 
bool set_type (meosType type)
 Return true if the type is a set type. More...
 
meosType settype_basetype (meosType settype)
 Return the base type from a set type. More...
 
bool span_basetype (meosType type)
 Return true if the type is a set base type. More...
 
bool span_canon_basetype (meosType type)
 Return true if the type is a canonical base type of a span type. More...
 
bool span_type (meosType type)
 Return true if the type is a span type. More...
 
bool spanset_type (meosType type)
 Return true if the type is a span set type. More...
 
meosType spansettype_spantype (meosType spansettype)
 Return the span type from the span set type. More...
 
meosType spantype_basetype (meosType spantype)
 Return the base type from the span type. More...
 
meosType spantype_spansettype (meosType spantype)
 Return the span type from the span set type. More...
 
bool spatial_basetype (meosType type)
 Return true if the type is a spatial base type. More...
 
bool spatialset_type (meosType type)
 Return true if the type is a geo set type. More...
 
bool talpha_type (meosType type)
 Return true if the type is a temporal alpha type (i.e., those whose bounding box is a period) More...
 
bool temporal_type (meosType type)
 Return true if the type is an EXTERNAL temporal type. More...
 
meosType temptype_basetype (meosType temptype)
 Return the base type from the temporal type. More...
 
bool temptype_continuous (meosType type)
 Return true if the type is a temporal continuous type. More...
 
bool tgeo_type (meosType type)
 Return true if the type is a temporal point type. More...
 
bool time_type (meosType type)
 Return true if the type is a time type. More...
 
bool timeset_type (meosType type)
 Return true if the type is a time set type. More...
 
bool timespan_basetype (meosType type)
 Return true if the type is a numeric span type. More...
 
bool timespan_type (meosType type)
 Return true if the type is a numeric span type. More...
 
bool timespanset_type (meosType type)
 Return true if the type is a numeric span type. More...
 
bool tnumber_basetype (meosType type)
 Return true if the type is a temporal number base type. More...
 
bool tnumber_spansettype (meosType type)
 Return true if the type is a span set number type. More...
 
bool tnumber_spantype (meosType type)
 Return true if the type is a span number type. More...
 
bool tnumber_type (meosType type)
 Return true if the type is a temporal number type. More...
 
bool tspatial_basetype (meosType type)
 Return true if the type is a base type of a spatiotemporal type. More...
 
bool tspatial_type (meosType type)
 Return true if the type is a spatiotemporal type. More...
 

Variables

settype_catalog_struct _settype_catalog []
 Global array that keeps type information for the set types defined. More...
 
spansettype_catalog_struct _spansettype_catalog []
 Global array that keeps type information for the span set types defined. More...
 
spantype_catalog_struct _spantype_catalog []
 Global array that keeps type information for the span types defined. More...
 
temptype_catalog_struct _temptype_catalog []
 Create a cache of metadata information about temporal types and span types in global arrays. More...