MobilityDB 1.1
|
Accessor functions for set and span types. More...
Functions | |
int64 | bigintset_end_value (const Set *s) |
Return the end value of a big integer set. More... | |
int64 | bigintset_start_value (const Set *s) |
Return the start value of a big integer set. More... | |
bool | bigintset_value_n (const Set *s, int n, int64 *result) |
Return the n-th value of a big integer set. More... | |
int64 * | bigintset_values (const Set *s) |
Return the array of values of a big integer set. More... | |
int | bigintspan_lower (const Span *s) |
Return the lower bound of an integer span. More... | |
int | bigintspan_upper (const Span *s) |
Return the upper bound of an integer span. More... | |
int | bigintspanset_lower (const SpanSet *ss) |
Return the lower bound of an integer span set. More... | |
int | bigintspanset_upper (const SpanSet *ss) |
Return the upper bound of an integer span set. More... | |
double | floatset_end_value (const Set *s) |
Return the end value of a float set. More... | |
double | floatset_start_value (const Set *s) |
Return the start value of a float set. More... | |
bool | floatset_value_n (const Set *s, int n, double *result) |
Return the n-th value of a float set. More... | |
double * | floatset_values (const Set *s) |
Return the array of values of a float set. More... | |
double | floatspan_lower (const Span *s) |
Return the lower bound of a float span. More... | |
double | floatspan_upper (const Span *s) |
Return the upper bound of a float span. More... | |
double | floatspanset_lower (const SpanSet *ss) |
Return the lower bound of a float span set. More... | |
double | floatspanset_upper (const SpanSet *ss) |
Return the upper bound of a float span set. More... | |
int | intset_end_value (const Set *s) |
Return the end value of an integer set. More... | |
int | intset_start_value (const Set *s) |
Return the start value of an integer set. More... | |
bool | intset_value_n (const Set *s, int n, int *result) |
Return the n-th value of an integer set. More... | |
int * | intset_values (const Set *s) |
Return the array of values of an integer set. More... | |
int | intspan_lower (const Span *s) |
Return the lower bound of an integer span. More... | |
int | intspan_upper (const Span *s) |
Return the upper bound of an integer span. More... | |
int | intspanset_lower (const SpanSet *ss) |
Return the lower bound of an integer span set. More... | |
int | intspanset_upper (const SpanSet *ss) |
Return the upper bound of an integer span set. More... | |
Interval * | period_duration (const Span *s) |
Return the duration of a period as an interval. More... | |
TimestampTz | period_lower (const Span *p) |
Return the lower bound of a period. More... | |
TimestampTz | period_upper (const Span *p) |
Return the upper bound of a period. More... | |
Interval * | periodset_duration (const SpanSet *ps, bool boundspan) |
Return the duration of a period set. More... | |
TimestampTz | periodset_end_timestamp (const SpanSet *ps) |
Return the end timestamp of a period set. More... | |
TimestampTz | periodset_lower (const SpanSet *ps) |
Return the lower bound of a period. More... | |
int | periodset_num_timestamps (const SpanSet *ps) |
Return the number of timestamps of a period set. More... | |
TimestampTz | periodset_start_timestamp (const SpanSet *ps) |
Return the start timestamp of a period set. More... | |
bool | periodset_timestamp_n (const SpanSet *ps, int n, TimestampTz *result) |
Return the n-th timestamp of a period set. More... | |
TimestampTz * | periodset_timestamps (const SpanSet *ps, int *count) |
Return the timestamps of a period set. More... | |
TimestampTz | periodset_upper (const SpanSet *ps) |
Return the upper bound of a period. More... | |
Datum | set_end_value (const Set *s) |
Return the end value of a set. More... | |
uint32 | set_hash (const Set *s) |
Return the 32-bit hash of a set. More... | |
uint64 | set_hash_extended (const Set *s, uint64 seed) |
Return the 64-bit hash of a set using a seed. More... | |
int | set_mem_size (const Set *s) |
Return the size in bytes of a set. More... | |
int | set_num_values (const Set *s) |
Return the number of values of a set. More... | |
Datum | set_start_value (const Set *s) |
Return the start value of a set. More... | |
bool | set_value_n (const Set *s, int n, Datum *result) |
Return the n-th value of a set. More... | |
Datum * | set_values (const Set *s) |
Return the array of values of a set. More... | |
uint32 | span_hash (const Span *s) |
Return the 32-bit hash of a span. More... | |
uint64 | span_hash_extended (const Span *s, Datum seed) |
Return the 64-bit hash of a span using a seed. More... | |
bool | span_lower_inc (const Span *s) |
Return true if the lower bound of a span is inclusive. More... | |
bool | span_upper_inc (const Span *s) |
Return true if the upper bound of a span is inclusive. More... | |
double | span_width (const Span *s) |
Return the width of a span as a double. More... | |
Span * | spanset_end_span (const SpanSet *ss) |
Return the end span of a span set. More... | |
uint32 | spanset_hash (const SpanSet *ps) |
Return the 32-bit hash value of a span set. More... | |
uint64 | spanset_hash_extended (const SpanSet *ps, uint64 seed) |
Return the 64-bit hash value of a span set using a seed. More... | |
bool | spanset_lower_inc (const SpanSet *ss) |
Return true if the lower bound of a span set is inclusive. More... | |
int | spanset_mem_size (const SpanSet *ss) |
Return the size in bytes of a period set. More... | |
int | spanset_num_spans (const SpanSet *ss) |
Return the number of spans of a span set. More... | |
Span * | spanset_span_n (const SpanSet *ss, int i) |
Return the n-th span of a span set. More... | |
const Span ** | spanset_spans (const SpanSet *ss, int *count) |
Return the spans of a span set. More... | |
Span * | spanset_start_span (const SpanSet *ss) |
Return the start span of a span set. More... | |
bool | spanset_upper_inc (const SpanSet *ss) |
Return true if the upper bound of a span set is inclusive. More... | |
double | spanset_width (const SpanSet *ss) |
Return the width of a span set as a double. More... | |
TimestampTz | tstzset_end_timestamp (const Set *ts) |
Return the end value of a set. More... | |
TimestampTz | tstzset_start_timestamp (const Set *ts) |
Return the start value of a set. More... | |
bool | tstzset_timestamp_n (const Set *ts, int n, TimestampTz *result) |
Return the n-th value of a set. More... | |
TimestampTz * | tstzset_timestamps (const Set *ts) |
Return the array of timestamps of a set. More... | |
Accessor functions for set and span types.