MobilityDB 1.1
Functions
type_parser.c File Reference
#include "general/type_parser.h"
#include <meos.h>
#include <meos_internal.h>
#include "general/pg_types.h"
#include "general/type_util.h"
Include dependency graph for type_parser.c:

Functions

Datum bound_parse (const char **str, meosType basetype)
 Parse a element value from the buffer. More...
 
double double_parse (const char **str)
 Input a double from the buffer. More...
 
Datum elem_parse (const char **str, meosType basetype)
 Parse a element value from the buffer. More...
 
void ensure_end_input (const char **str, bool end, const char *type)
 Ensure there is no more input excepted white spaces. More...
 
bool p_cbrace (const char **str)
 Input a closing brace from the buffer. More...
 
bool p_cbracket (const char **str)
 Input a closing bracket from the buffer. More...
 
bool p_comma (const char **str)
 Input a comma from the buffer. More...
 
bool p_cparen (const char **str)
 Input a closing parenthesis from the buffer. More...
 
bool p_obrace (const char **str)
 Input an opening brace from the buffer. More...
 
bool p_obracket (const char **str)
 Input an opening bracket from the buffer. More...
 
bool p_oparen (const char **str)
 Input an opening parenthesis from the buffer. More...
 
void p_whitespace (const char **str)
 Functions for parsing time types and temporal types. More...
 
Setset_parse (const char **str, meosType settype)
 Parse a timestamp set value from the buffer. More...
 
Spanspan_parse (const char **str, meosType spantype, bool end, bool make)
 Parse a span value from the buffer. More...
 
SpanSetspanset_parse (const char **str, meosType spansettype)
 Parse a span set value from the buffer. More...
 
TBoxtbox_parse (const char **str)
 Parse a temporal box value from the buffer. More...
 
TSequencetcontseq_parse (const char **str, meosType temptype, interpType interp, bool end, bool make)
 Parse a temporal sequence value from the buffer. More...
 
TSequencetdiscseq_parse (const char **str, meosType temptype)
 Parse a temporal discrete sequence from the buffer. More...
 
Datum temporal_basetype_parse (const char **str, meosType basetype)
 Parse a base value from the buffer. More...
 
Temporaltemporal_parse (const char **str, meosType temptype)
 Parse a temporal value from the buffer (dispatch function) More...
 
TimestampTz timestamp_parse (const char **str)
 Parse a timestamp value from the buffer. More...
 
TInstanttinstant_parse (const char **str, meosType temptype, bool end, bool make)
 Parse a temporal instant value from the buffer. More...
 
TSequenceSettsequenceset_parse (const char **str, meosType temptype, interpType interp)
 Parse a temporal sequence set value from the buffer. More...