MobilityDB 1.1
Functions

Input/output functions for set and span types. More...

Collaboration diagram for Input/output functions:

Functions

Set * bigintset_in (const char *str)
 Return a set from its Well-Known Text (WKT) representation. More...
 
Span * bigintspan_in (const char *str)
 Return an integer span from its Well-Known Text (WKT) representation. More...
 
char * bigintspan_out (const Span *s)
 Return the Well-Known Text (WKT) representation of a span. More...
 
SpanSet * bigintspanset_in (const char *str)
 Return a big integer span from its Well-Known Text (WKT) representation. More...
 
char * bigintspanset_out (const SpanSet *ss)
 Return the Well-Known Text (WKT) representation of a span set. More...
 
Set * floatset_in (const char *str)
 Return a set from its Well-Known Text (WKT) representation. More...
 
Span * floatspan_in (const char *str)
 Return a float span from its Well-Known Text (WKT) representation. More...
 
char * floatspan_out (const Span *s, int maxdd)
 Return the Well-Known Text (WKT) representation of a span. More...
 
SpanSet * floatspanset_in (const char *str)
 Return a float span from its Well-Known Text (WKT) representation. More...
 
char * floatspanset_out (const SpanSet *ss, int maxdd)
 Return the Well-Known Text (WKT) representation of a span set. More...
 
Set * intset_in (const char *str)
 Return a set from its Well-Known Text (WKT) representation. More...
 
Span * intspan_in (const char *str)
 Return an integer span from its Well-Known Text (WKT) representation. More...
 
char * intspan_out (const Span *s)
 Return the Well-Known Text (WKT) representation of a span. More...
 
SpanSet * intspanset_in (const char *str)
 Return an integer span from its Well-Known Text (WKT) representation. More...
 
char * intspanset_out (const SpanSet *ss)
 Return the Well-Known Text (WKT) representation of a span set. More...
 
Span * period_in (const char *str)
 Return a period from its Well-Known Text (WKT) representation. More...
 
char * period_out (const Span *s)
 Return the Well-Known Text (WKT) representation of a span. More...
 
SpanSet * periodset_in (const char *str)
 Return a period set from its Well-Known Text (WKT) representation. More...
 
char * periodset_out (const SpanSet *ss)
 Return the Well-Known Text (WKT) representation of a span set. More...
 
char * set_as_hexwkb (const Set *s, uint8_t variant, size_t *size_out)
 Return the WKB representation of a set in hex-encoded ASCII. More...
 
uint8_t * set_as_wkb (const Set *s, uint8_t variant, size_t *size_out)
 Return the WKB representation of a set. More...
 
static bool set_basetype_quotes (meosType type)
 Return true if the base type value is output enclosed into quotes. More...
 
Set * set_from_hexwkb (const char *hexwkb)
 Return a set from its WKB representation in hex-encoded ASCII. More...
 
Set * set_from_wkb (const uint8_t *wkb, int size)
 Return a set from its Well-Known Binary (WKB) representation. More...
 
char * set_out (const Set *s, int maxdd)
 Return the Well-Known Text (WKT) representation of a set. More...
 
char * span_as_hexwkb (const Span *s, uint8_t variant, size_t *size_out)
 Return the WKB representation of a span in hex-encoded ASCII. More...
 
uint8_t * span_as_wkb (const Span *s, uint8_t variant, size_t *size_out)
 Return the WKB representation of a span. More...
 
Span * span_from_hexwkb (const char *hexwkb)
 Return a span from its WKB representation in hex-encoded ASCII. More...
 
Span * span_from_wkb (const uint8_t *wkb, int size)
 Return a span from its Well-Known Binary (WKB) representation. More...
 
char * span_out (const Span *s, int maxdd)
 Return the Well-Known Text (WKT) representation of a span. More...
 
char * spanset_as_hexwkb (const SpanSet *ss, uint8_t variant, size_t *size_out)
 Return the WKB representation of a span set in hex-encoded ASCII. More...
 
uint8_t * spanset_as_wkb (const SpanSet *ss, uint8_t variant, size_t *size_out)
 Return the WKB representation of a period set. More...
 
SpanSet * spanset_from_hexwkb (const char *hexwkb)
 Return a period set from its WKB representation in hex-encoded ASCII. More...
 
SpanSet * spanset_from_wkb (const uint8_t *wkb, int size)
 Return a period set from its Well-Known Binary (WKB) representation. More...
 
char * spanset_out (const SpanSet *ss, int maxdd)
 Return the Well-Known Text (WKT) representation of a span set. More...
 
Set * tstzset_in (const char *str)
 Return a set from its Well-Known Text (WKT) representation. More...
 

Detailed Description

Input/output functions for set and span types.