![]() |
MobilityDB 1.3
|
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 in the last argument 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... | |
int64 | bigintspan_lower (const Span *s) |
Return the lower bound of an integer span. More... | |
int64 | bigintspan_upper (const Span *s) |
Return the upper bound of an integer span. More... | |
int64 | bigintspan_width (const Span *s) |
Return the width of a big integer span. More... | |
int64 | bigintspanset_lower (const SpanSet *ss) |
Return the lower bound of an integer span set. More... | |
int64 | bigintspanset_upper (const SpanSet *ss) |
Return the upper bound of an integer span set. More... | |
int64 | bigintspanset_width (const SpanSet *ss, bool boundspan) |
Return the width of an integer span set. More... | |
DateADT | dateset_end_value (const Set *s) |
Return the end value of a date set. More... | |
DateADT | dateset_start_value (const Set *s) |
Return the start value of a date set. More... | |
bool | dateset_value_n (const Set *s, int n, DateADT *result) |
Return in the last argument the n-th value of a date set. More... | |
DateADT * | dateset_values (const Set *s) |
Return the array of values of a date set. More... | |
Interval * | datespan_duration (const Span *s) |
Return the duration of a date span as an interval. More... | |
DateADT | datespan_lower (const Span *s) |
Return the lower bound of a date span. More... | |
DateADT | datespan_upper (const Span *s) |
Return the upper bound of a date span. More... | |
bool | datespanset_date_n (const SpanSet *ss, int n, DateADT *result) |
Return in the last argument the n-th date of a date span set. More... | |
Set * | datespanset_dates (const SpanSet *ss) |
Return the set of dates of a span set. More... | |
Interval * | datespanset_duration (const SpanSet *ss, bool boundspan) |
Return the duration of a date span set. More... | |
DateADT | datespanset_end_date (const SpanSet *ss) |
Return the end date of a span set. More... | |
int | datespanset_num_dates (const SpanSet *ss) |
Return the number of dates of a span set. More... | |
DateADT | datespanset_start_date (const SpanSet *ss) |
Return the start date of a 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 in the last argument 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 | floatspan_width (const Span *s) |
Return the width 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... | |
double | floatspanset_width (const SpanSet *ss, bool boundspan) |
Return the width 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 in the last argument 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 | intspan_width (const Span *s) |
Return the width 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... | |
int | intspanset_width (const SpanSet *ss, bool boundspan) |
Return the width of an integer span 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_num_values (const Set *s) |
Return the number 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, uint64 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... | |
Span * | spanset_end_span (const SpanSet *ss) |
Return a copy of the end span of a span set. More... | |
uint32 | spanset_hash (const SpanSet *ss) |
Return the 32-bit hash value of a span set. More... | |
uint64 | spanset_hash_extended (const SpanSet *ss, 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_num_spans (const SpanSet *ss) |
Return the number of spans of a span set. More... | |
Span * | spanset_span (const SpanSet *ss) |
Return the bounding span of a span set. More... | |
Span * | spanset_span_n (const SpanSet *ss, int n) |
Return a copy of the n-th span of a span set. More... | |
Span ** | spanset_spanarr (const SpanSet *ss) |
Return a C array with copies of the spans of a span set. More... | |
Span * | spanset_start_span (const SpanSet *ss) |
Return a copy to the 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... | |
text * | textset_end_value (const Set *s) |
Return a copy of the end value of a text set. More... | |
text * | textset_start_value (const Set *s) |
Return a copy of the start value of a text set. More... | |
bool | textset_value_n (const Set *s, int n, text **result) |
Return in the last argument a copy of the n-th value of a text set. More... | |
text ** | textset_values (const Set *s) |
Return the array of copies of the values of a text set. More... | |
TimestampTz | tstzset_end_value (const Set *s) |
Return the end value of a timestamptz set. More... | |
TimestampTz | tstzset_start_value (const Set *s) |
Return the start value of a timestamptz set. More... | |
bool | tstzset_value_n (const Set *s, int n, TimestampTz *result) |
Return in the last argument the n-th value of a timestamptz set. More... | |
TimestampTz * | tstzset_values (const Set *s) |
Return the array of values of a timestamptz set. More... | |
Interval * | tstzspan_duration (const Span *s) |
Return the duration of a timestamptz span as an interval. More... | |
TimestampTz | tstzspan_lower (const Span *s) |
Return the lower bound of a timestamptz span. More... | |
TimestampTz | tstzspan_upper (const Span *s) |
Return the upper bound of a timestamptz span. More... | |
Interval * | tstzspanset_duration (const SpanSet *ss, bool boundspan) |
Return the duration of a timestamptz span set. More... | |
TimestampTz | tstzspanset_end_timestamptz (const SpanSet *ss) |
Return the end timestamptz of a span set. More... | |
TimestampTz | tstzspanset_lower (const SpanSet *ss) |
Return the lower bound of a timestamptz span set. More... | |
int | tstzspanset_num_timestamps (const SpanSet *ss) |
Return the number of timestamps of a span set. More... | |
TimestampTz | tstzspanset_start_timestamptz (const SpanSet *ss) |
Return the start timestamptz of a span set. More... | |
Set * | tstzspanset_timestamps (const SpanSet *ss) |
Return the set of timestamps of a span set. More... | |
bool | tstzspanset_timestamptz_n (const SpanSet *ss, int n, TimestampTz *result) |
Return in the last argument the n-th timestamptz of a span set. More... | |
TimestampTz | tstzspanset_upper (const SpanSet *ss) |
Return the upper bound of a timestamptz span set. More... | |
Accessor functions for set and span types.