MobilityDB 1.1
Data Structures | Typedefs | Enumerations | Functions
meos_catalog.h File Reference
#include <stdbool.h>
Include dependency graph for meos_catalog.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  settype_catalog_struct
 Structure to represent the span type cache array. More...
 
struct  spansettype_catalog_struct
 Structure to represent the spanset type cache array. More...
 
struct  spantype_catalog_struct
 Structure to represent the span type cache array. More...
 
struct  temptype_catalog_struct
 Structure to represent the temporal type cache array. More...
 

Typedefs

typedef signed short int16
 Functions for building a cache of temporal types and operators. More...
 

Enumerations

enum  meosOper {
  UNKNOWN_OP = 0 , EQ_OP = 1 , NE_OP = 2 , LT_OP = 3 ,
  LE_OP = 4 , GT_OP = 5 , GE_OP = 6 , ADJACENT_OP = 7 ,
  UNION_OP = 8 , MINUS_OP = 9 , INTERSECT_OP = 10 , OVERLAPS_OP = 11 ,
  CONTAINS_OP = 12 , CONTAINED_OP = 13 , SAME_OP = 14 , LEFT_OP = 15 ,
  OVERLEFT_OP = 16 , RIGHT_OP = 17 , OVERRIGHT_OP = 18 , BELOW_OP = 19 ,
  OVERBELOW_OP = 20 , ABOVE_OP = 21 , OVERABOVE_OP = 22 , FRONT_OP = 23 ,
  OVERFRONT_OP = 24 , BACK_OP = 25 , OVERBACK_OP = 26 , BEFORE_OP = 27 ,
  OVERBEFORE_OP = 28 , AFTER_OP = 29 , OVERAFTER_OP = 30 , EVEREQ_OP = 31 ,
  EVERNE_OP = 32 , EVERLT_OP = 33 , EVERLE_OP = 34 , EVERGT_OP = 35 ,
  EVERGE_OP = 36 , ALWAYSEQ_OP = 37 , ALWAYSNE_OP = 38 , ALWAYSLT_OP = 39 ,
  ALWAYSLE_OP = 40 , ALWAYSGT_OP = 41 , ALWAYSGE_OP = 42
}
 Enumeration that defines the classes of Boolean operators used in MobilityDB. More...
 
enum  meosType {
  T_UNKNOWN = 0 , T_BOOL = 1 , T_DOUBLE2 = 2 , T_DOUBLE3 = 3 ,
  T_DOUBLE4 = 4 , T_FLOAT8 = 5 , T_FLOATSET = 6 , T_FLOATSPAN = 7 ,
  T_FLOATSPANSET = 8 , T_INT4 = 9 , T_INT4RANGE = 10 , T_INT4MULTIRANGE = 11 ,
  T_INTSET = 12 , T_INTSPAN = 13 , T_INTSPANSET = 14 , T_INT8 = 15 ,
  T_BIGINTSET = 16 , T_BIGINTSPAN = 17 , T_BIGINTSPANSET = 18 , T_STBOX = 19 ,
  T_TBOOL = 20 , T_TBOX = 21 , T_TDOUBLE2 = 22 , T_TDOUBLE3 = 23 ,
  T_TDOUBLE4 = 24 , T_TEXT = 25 , T_TEXTSET = 26 , T_TFLOAT = 27 ,
  T_TIMESTAMPTZ = 28 , T_TINT = 29 , T_TSTZMULTIRANGE = 30 , T_TSTZRANGE = 31 ,
  T_TSTZSET = 32 , T_TSTZSPAN = 33 , T_TSTZSPANSET = 34 , T_TTEXT = 35 ,
  T_GEOMETRY = 36 , T_GEOMSET = 37 , T_GEOGRAPHY = 38 , T_GEOGSET = 39 ,
  T_TGEOMPOINT = 40 , T_TGEOGPOINT = 41 , T_NPOINT = 42 , T_NPOINTSET = 43 ,
  T_NSEGMENT = 44 , T_TNPOINT = 45
}
 Enumeration that defines the built-in and temporal types used in MobilityDB. More...
 

Functions

bool alpha_basetype (meosType basetype)
 
bool alphanum_basetype (meosType basetype)
 Return true if the type is an alphanumeric base type. More...
 
bool alphanumset_type (meosType settype)
 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 basetype)
 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 basetype)
 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 basetype)
 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 basetype)
 Ensure that a type is a temporal base type. More...
 
void ensure_temporal_type (meosType temptype)
 Ensure that a type is a temporal type. More...
 
void ensure_temptype_continuous (meosType temptype)
 Ensure that the temporal type is continuous. More...
 
void ensure_tgeo_type (meosType basetype)
 Ensure that the type is a point base type. More...
 
void ensure_time_type (meosType timetype)
 Ensure that the type corresponds to a time type. More...
 
void ensure_tnumber_basetype (meosType basetype)
 Return true if the type is a number base type. More...
 
void ensure_tnumber_settype (meosType settype)
 
void ensure_tnumber_spansettype (meosType spansettype)
 Ensure that the type is a span type. More...
 
void ensure_tnumber_spantype (meosType spantype)
 Ensure that the type is a span type. More...
 
void ensure_tnumber_type (meosType temptype)
 Return true if the type is a number base type. More...
 
bool geo_basetype (meosType basetype)
 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 number_basetype (meosType basetype)
 
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 basetype)
 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 basetype)
 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 temptype)
 Return true if the type is a temporal alpha type (i.e., those whose bounding box is a period) More...
 
bool temporal_type (meosType temptype)
 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 temptype)
 Return true if the type is a temporal continuous type. More...
 
bool tgeo_type (meosType basetype)
 Return true if the type is a temporal point type. More...
 
bool time_type (meosType timetype)
 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 basetype)
 Return true if the type is a temporal number base type. More...
 
bool tnumber_settype (meosType settype)
 
bool tnumber_spansettype (meosType spansettype)
 Return true if the type is a span set number type. More...
 
bool tnumber_spantype (meosType settype)
 Return true if the type is a span number type. More...
 
bool tnumber_type (meosType temptype)
 Return true if the type is a temporal number type. More...
 
bool tspatial_basetype (meosType basetype)
 Return true if the type is a base type of a spatiotemporal type. More...
 
bool tspatial_type (meosType temptype)
 Return true if the type is a spatiotemporal type. More...