MobilityDB 1.1
Functions

Accessor functions for set and span types. More...

Collaboration diagram for Accessor functions:

Functions

PGDLLEXPORT Datum Period_duration (PG_FUNCTION_ARGS)
 Return the duration of the period. More...
 
PGDLLEXPORT Datum Periodset_duration (PG_FUNCTION_ARGS)
 Return the duration of a period set. More...
 
PGDLLEXPORT Datum Periodset_end_timestamp (PG_FUNCTION_ARGS)
 Return the end timestamp of a period set. More...
 
PGDLLEXPORT Datum Periodset_num_timestamps (PG_FUNCTION_ARGS)
 Return the number of timestamps of a period set. More...
 
PGDLLEXPORT Datum Periodset_start_timestamp (PG_FUNCTION_ARGS)
 Return the start timestamp of a period set. More...
 
PGDLLEXPORT Datum Periodset_timestamp_n (PG_FUNCTION_ARGS)
 Return the n-th timestamp of a period set. More...
 
PGDLLEXPORT Datum Periodset_timestamps (PG_FUNCTION_ARGS)
 Return the timestamps of a period set. More...
 
PGDLLEXPORT Datum Set_end_value (PG_FUNCTION_ARGS)
 Return the end value of a set. More...
 
PGDLLEXPORT Datum Set_hash (PG_FUNCTION_ARGS)
 Return the 32-bit hash of a set. More...
 
PGDLLEXPORT Datum Set_hash_extended (PG_FUNCTION_ARGS)
 Return the 64-bit hash of a set using a seed. More...
 
PGDLLEXPORT Datum Set_mem_size (PG_FUNCTION_ARGS)
 Return the memory size in bytes of a set. More...
 
PGDLLEXPORT Datum Set_num_values (PG_FUNCTION_ARGS)
 Return the number of values of a set. More...
 
PGDLLEXPORT Datum Set_start_value (PG_FUNCTION_ARGS)
 Return the start value of a set. More...
 
PGDLLEXPORT Datum Set_to_span (PG_FUNCTION_ARGS)
 Return the span of a set. More...
 
PGDLLEXPORT Datum Set_value_n (PG_FUNCTION_ARGS)
 Return the n-th value of a set. More...
 
PGDLLEXPORT Datum Set_values (PG_FUNCTION_ARGS)
 Return the values of a set. More...
 
PGDLLEXPORT Datum Span_hash (PG_FUNCTION_ARGS)
 Return the 32-bit hash value of a span. More...
 
PGDLLEXPORT Datum Span_hash_extended (PG_FUNCTION_ARGS)
 Return the 64-bit hash value of a span obtained with a seed. More...
 
PGDLLEXPORT Datum Span_lower (PG_FUNCTION_ARGS)
 Return the lower bound value. More...
 
PGDLLEXPORT Datum Span_lower_inc (PG_FUNCTION_ARGS)
 Return true if the lower bound value is inclusive. More...
 
PGDLLEXPORT Datum Span_upper (PG_FUNCTION_ARGS)
 Return the upper bound value. More...
 
PGDLLEXPORT Datum Span_upper_inc (PG_FUNCTION_ARGS)
 Return true if the upper bound value is inclusive. More...
 
PGDLLEXPORT Datum Span_width (PG_FUNCTION_ARGS)
 Return the width of a numeric span. More...
 
PGDLLEXPORT Datum Spanset_end_span (PG_FUNCTION_ARGS)
 Return the end span of a span set. More...
 
PGDLLEXPORT Datum Spanset_hash (PG_FUNCTION_ARGS)
 Return the 32-bit hash value of a period set. More...
 
PGDLLEXPORT Datum Spanset_hash_extended (PG_FUNCTION_ARGS)
 Return the 64-bit hash value of a period set using a seed. More...
 
PGDLLEXPORT Datum Spanset_lower (PG_FUNCTION_ARGS)
 Return the lower bound value. More...
 
PGDLLEXPORT Datum Spanset_lower_inc (PG_FUNCTION_ARGS)
 Return true if the lower bound value is inclusive. More...
 
PGDLLEXPORT Datum Spanset_mem_size (PG_FUNCTION_ARGS)
 Return the memory size in bytes of a span set. More...
 
PGDLLEXPORT Datum Spanset_num_spans (PG_FUNCTION_ARGS)
 Return the number of spans of a span set. More...
 
PGDLLEXPORT Datum Spanset_span_n (PG_FUNCTION_ARGS)
 Return the n-th span of a span set. More...
 
PGDLLEXPORT Datum Spanset_spans (PG_FUNCTION_ARGS)
 Return the spans of a span set. More...
 
PGDLLEXPORT Datum Spanset_start_span (PG_FUNCTION_ARGS)
 Return the start span of a span set. More...
 
PGDLLEXPORT Datum Spanset_upper (PG_FUNCTION_ARGS)
 Return the upper bound value. More...
 
PGDLLEXPORT Datum Spanset_upper_inc (PG_FUNCTION_ARGS)
 Return true if the upper bound value is inclusive. More...
 
PGDLLEXPORT Datum Spanset_width (PG_FUNCTION_ARGS)
 Return the width of a numeric span set. More...
 

Detailed Description

Accessor functions for set and span types.