|
MobilityDB 1.3
|
Basic functions for temporal types of any subtype. More...
#include "temporal/temporal.h"#include <assert.h>#include <float.h>#include <limits.h>#include <utils/float.h>#include <meos.h>#include <meos_internal.h>#include "temporal/doxygen_meos.h"#include "temporal/lifting.h"#include "temporal/postgres_types.h"#include "temporal/temporal_boxops.h"#include "temporal/temporal_tile.h"#include "temporal/tinstant.h"#include "temporal/tsequence.h"#include "temporal/tsequenceset.h"#include "temporal/type_parser.h"#include "temporal/type_util.h"Functions | |
| bool | tbool_end_value (const Temporal *temp) |
| Return the end value of a temporal boolean. More... | |
| Temporal * | tbool_from_base_temp (bool b, const Temporal *temp) |
| Return a temporal boolean from a boolean and the time frame of another temporal value. More... | |
| Temporal * | tbool_in (const char *str) |
| Return a temporal boolean from its Well-Known Text (WKT) representation. More... | |
| char * | tbool_out (const Temporal *temp) |
| Return the Well-Known Text (WKT) representation of a temporal boolean. More... | |
| bool | tbool_start_value (const Temporal *temp) |
| Return the start value of a temporal boolean. More... | |
| bool | tbool_value_n (const Temporal *temp, int n, bool *result) |
| Return the n-th value of a temporal boolean. More... | |
| bool * | tbool_values (const Temporal *temp, int *count) |
| Return the array of base values of a temporal boolean. More... | |
| double | tfloat_end_value (const Temporal *temp) |
| Return the end value of a temporal float. More... | |
| Temporal * | tfloat_from_base_temp (double d, const Temporal *temp) |
| Return a temporal float from a float and the time frame of another temporal value. More... | |
| Temporal * | tfloat_in (const char *str) |
| Return a temporal float from its Well-Known Text (WKT) representation. More... | |
| double | tfloat_max_value (const Temporal *temp) |
| Return the maximum value of a temporal float. More... | |
| double | tfloat_min_value (const Temporal *temp) |
| Return the minimum value of a temporal float. More... | |
| char * | tfloat_out (const Temporal *temp, int maxdd) |
| Return the Well-Known Text (WKT) representation of a temporal float. More... | |
| Temporal * | tfloat_scale_value (const Temporal *temp, double width) |
| Return a temporal float whose value dimension is scaled by a value. More... | |
| Temporal * | tfloat_shift_scale_value (const Temporal *temp, double shift, double width) |
| Return a temporal number whose value dimension is shifted and scaled by two values. More... | |
| Temporal * | tfloat_shift_value (const Temporal *temp, double shift) |
| Return a temporal integer whose value dimension is shifted by a value @csqlfn Tnumber_shift_value() More... | |
| double | tfloat_start_value (const Temporal *temp) |
| Return the start value of a temporal float. More... | |
| bool | tfloat_value_n (const Temporal *temp, int n, double *result) |
| Return the n-th value of a temporal float. More... | |
| double * | tfloat_values (const Temporal *temp, int *count) |
| Return the array of base values of a temporal float. More... | |
| int | tint_end_value (const Temporal *temp) |
| Return the end value of a temporal integer. More... | |
| Temporal * | tint_from_base_temp (int i, const Temporal *temp) |
| Return a temporal integer from an integer and the time frame of another temporal value. More... | |
| Temporal * | tint_in (const char *str) |
| Return a temporal integer from its Well-Known Text (WKT) representation. More... | |
| int | tint_max_value (const Temporal *temp) |
| Return the maximum value of a temporal integer. More... | |
| int | tint_min_value (const Temporal *temp) |
| Return the minimum value of a temporal integer. More... | |
| char * | tint_out (const Temporal *temp) |
| Return the Well-Known Text (WKT) representation of a temporal integer. More... | |
| Temporal * | tint_scale_value (const Temporal *temp, int width) |
| Return a temporal integer whose value dimension is scaled by a value. More... | |
| Temporal * | tint_shift_scale_value (const Temporal *temp, int shift, int width) |
| Return a temporal integer whose value dimension is shifted and scaled by two values. More... | |
| Temporal * | tint_shift_value (const Temporal *temp, int shift) |
| Return a temporal integer whose value dimension is shifted by a value @csqlfn Tnumber_shift_value() More... | |
| int | tint_start_value (const Temporal *temp) |
| Return the start value of a temporal integer. More... | |
| bool | tint_value_n (const Temporal *temp, int n, int *result) |
| Return the n-th value of a temporal integer. More... | |
| int * | tint_values (const Temporal *temp, int *count) |
| Return the array of base values of a temporal integer. More... | |
| text * | ttext_end_value (const Temporal *temp) |
| Return a copy of the end value of a temporal text. More... | |
| Temporal * | ttext_from_base_temp (const text *txt, const Temporal *temp) |
| Return a temporal text from a text and the time frame of another temporal value. More... | |
| Temporal * | ttext_in (const char *str) |
| Return a temporal text from its Well-Known Text (WKT) representation. More... | |
| text * | ttext_max_value (const Temporal *temp) |
| Return a copy of the maximum value of a temporal text. More... | |
| text * | ttext_min_value (const Temporal *temp) |
| Return a copy of the minimum value of a temporal text. More... | |
| char * | ttext_out (const Temporal *temp) |
| Return the Well-Known Text (WKT) representation of a temporal text. More... | |
| text * | ttext_start_value (const Temporal *temp) |
| Return a copy of the start value of a temporal text. More... | |
| bool | ttext_value_n (const Temporal *temp, int n, text **result) |
| Return a copy of the n-th value of a temporal text. More... | |
| text ** | ttext_values (const Temporal *temp, int *count) |
| Return the array of copies of base values of a temporal text. More... | |
Basic functions for temporal types of any subtype.