OmniSciDB
cde582ebc3
|
#include <cstring>
#include <limits>
#include <stdexcept>
#include <type_traits>
#include "DateTruncate.h"
#include "ExtractFromTime.h"
#include "../Shared/DateTimeParser.h"
#include "../Shared/InlineNullValues.h"
#include "../Shared/funcannotations.h"
#include "../StringDictionary/StringDictionaryProxy.h"
Go to the source code of this file.
Classes | |
struct | TextEncodingDict |
struct | Array< T > |
struct | TextEncodingNone |
struct | Timestamp |
struct | GeoPoint |
struct | GeoLineString |
struct | GeoPolygon |
Simplified core of GeoJSON Polygon coordinates definition. More... | |
struct | GeoMultiPolygon |
Simplified core of GeoJSON MultiPolygon coordinates definition. More... | |
struct | Column< T > |
struct | Column< TextEncodingDict > |
struct | ColumnList< T > |
struct | ColumnList< TextEncodingDict > |
struct | TableFunctionManager |
Macros | |
#define | EXTENSION_INLINE_HOST extern "C" RUNTIME_EXPORT ALWAYS_INLINE HOST |
#define | EXTENSION_NOINLINE_HOST extern "C" RUNTIME_EXPORT NEVER_INLINE HOST |
#define | EXTENSION_INLINE extern "C" RUNTIME_EXPORT ALWAYS_INLINE DEVICE |
#define | EXTENSION_NOINLINE extern "C" RUNTIME_EXPORT NEVER_INLINE DEVICE |
#define | TEMPLATE_INLINE ALWAYS_INLINE DEVICE |
#define | TEMPLATE_NOINLINE NEVER_INLINE DEVICE |
#define | FUNC_NAME (std::string(__func__).substr(0, std::string(__func__).find("__"))) |
#define | ERROR_STRING(MSG) |
#define | TABLE_FUNCTION_ERROR(MSG) table_function_error(ERROR_STRING(MSG)) |
#define | ERROR_MESSAGE(MSG) error_message(ERROR_STRING(MSG)) |
Functions | |
EXTENSION_NOINLINE int8_t * | allocate_varlen_buffer (int64_t element_count, int64_t element_size) |
EXTENSION_NOINLINE_HOST void | set_output_row_size (int64_t num_rows) |
EXTENSION_NOINLINE_HOST void | TableFunctionManager_set_output_row_size (int8_t *mgr_ptr, int64_t num_rows) |
EXTENSION_NOINLINE_HOST int8_t * | TableFunctionManager_get_singleton () |
EXTENSION_NOINLINE_HOST int32_t | table_function_error (const char *message) |
EXTENSION_NOINLINE_HOST int32_t | TableFunctionManager_error_message (int8_t *mgr_ptr, const char *message) |
template<> | |
DEVICE TextEncodingDict | inline_null_value () |
template<> | |
DEVICE Timestamp | inline_null_value () |
template<> | |
CONSTEXPR DEVICE void | set_null< Timestamp > (Timestamp &t) |
#define ERROR_MESSAGE | ( | MSG | ) | error_message(ERROR_STRING(MSG)) |
Definition at line 64 of file heavydbTypes.h.
#define ERROR_STRING | ( | MSG | ) |
Definition at line 59 of file heavydbTypes.h.
#define EXTENSION_INLINE extern "C" RUNTIME_EXPORT ALWAYS_INLINE DEVICE |
Definition at line 46 of file heavydbTypes.h.
#define EXTENSION_INLINE_HOST extern "C" RUNTIME_EXPORT ALWAYS_INLINE HOST |
Definition at line 43 of file heavydbTypes.h.
#define EXTENSION_NOINLINE extern "C" RUNTIME_EXPORT NEVER_INLINE DEVICE |
Definition at line 47 of file heavydbTypes.h.
#define EXTENSION_NOINLINE_HOST extern "C" RUNTIME_EXPORT NEVER_INLINE HOST |
Definition at line 44 of file heavydbTypes.h.
#define FUNC_NAME (std::string(__func__).substr(0, std::string(__func__).find("__"))) |
Definition at line 57 of file heavydbTypes.h.
#define TABLE_FUNCTION_ERROR | ( | MSG | ) | table_function_error(ERROR_STRING(MSG)) |
Definition at line 63 of file heavydbTypes.h.
Referenced by column_list_safe_row_sum__cpu_template(), and ct_sleep1__cpu_().
#define TEMPLATE_INLINE ALWAYS_INLINE DEVICE |
Definition at line 48 of file heavydbTypes.h.
#define TEMPLATE_NOINLINE NEVER_INLINE DEVICE |
Definition at line 49 of file heavydbTypes.h.
EXTENSION_NOINLINE int8_t* allocate_varlen_buffer | ( | int64_t | element_count, |
int64_t | element_size | ||
) |
|
inline |
Definition at line 127 of file heavydbTypes.h.
References TextEncodingDict::value.
Definition at line 354 of file heavydbTypes.h.
Definition at line 577 of file heavydbTypes.h.
References set_null().
EXTENSION_NOINLINE_HOST void set_output_row_size | ( | int64_t | num_rows | ) |
Referenced by column_list_row_sum__cpu_(), column_list_safe_row_sum__cpu_template(), ct_binding_column2__cpu_template(), ct_binding_column__cpu_template(), ct_binding_columnlist__cpu_template(), ct_binding_dict_encoded2__cpu_1(), ct_binding_dict_encoded3__cpu_1(), ct_binding_dict_encoded4__cpu_1(), ct_binding_dict_encoded5__cpu_1(), ct_binding_dict_encoded6__cpu_1(), ct_binding_scalar_multiply__cpu_template(), ct_binding_str_equals__cpu_(), ct_binding_str_length__cpu_(), ct_binding_template__cpu_template(), ct_named_output__cpu_template(), ct_no_arg_runtime_sizing__cpu_template(), ct_require__cpu_(), ct_require_and__cpu_(), ct_require_mgr(), ct_require_or_str__cpu_(), ct_require_str__cpu_(), ct_require_str_diff__cpu_(), ct_require_templating__cpu_template(), ct_require_text_enc_dict__cpu_(), ct_scalar_1_arg_runtime_sizing__cpu_template(), ct_sleep1__cpu_(), ct_string_to_chars__cpu_(), row_copier2__cpu__(), and sort_column_limit__cpu_template().
EXTENSION_NOINLINE_HOST int32_t table_function_error | ( | const char * | message | ) |
EXTENSION_NOINLINE_HOST int32_t TableFunctionManager_error_message | ( | int8_t * | mgr_ptr, |
const char * | message | ||
) |
EXTENSION_NOINLINE_HOST int8_t* TableFunctionManager_get_singleton | ( | ) |
EXTENSION_NOINLINE_HOST void TableFunctionManager_set_output_row_size | ( | int8_t * | mgr_ptr, |
int64_t | num_rows | ||
) |
Referenced by TableFunctionManager::set_output_row_size().