OmniSciDB
085a039ca4
|
#include <heavydbTypes.h>
Public Member Functions | |
void | set_output_row_size (int64_t num_rows) |
int32_t | error_message (const char *message) |
TableFunctionManager (const TableFunctionExecutionUnit &exe_unit, Executor *executor, std::vector< const int8_t * > &col_buf_ptrs, std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner, bool is_singleton) | |
size_t | get_ncols () const |
size_t | get_nrows () const |
void | check_thread_id () const |
void | set_output_column (int32_t index, int8_t *ptr) |
void | allocate_output_buffers (int64_t output_num_rows) |
const char * | get_error_message () const |
void | set_error_message (const char *msg) |
bool | isSingleton () const |
~TableFunctionManager () | |
Static Public Member Functions | |
static TableFunctionManager * | get_singleton () |
static TableFunctionManager *& | get_singleton () |
Public Attributes | |
std::unique_ptr < QueryMemoryInitializer > | query_buffers |
Private Member Functions | |
void | lock () |
void | unlock () |
Static Private Member Functions | |
static void | set_singleton (TableFunctionManager *instance) |
Private Attributes | |
const TableFunctionExecutionUnit & | exe_unit_ |
Executor * | executor_ |
std::vector< const int8_t * > & | col_buf_ptrs_ |
std::shared_ptr < RowSetMemoryOwner > | row_set_mem_owner_ |
std::vector< int64_t * > | output_col_buf_ptrs |
size_t | output_num_rows_ |
std::vector< int8_t * > | output_column_ptrs |
bool | is_singleton_ |
std::thread::id | thread_id_ |
std::string | error_message_ |
Definition at line 650 of file heavydbTypes.h.
|
inline |
Definition at line 57 of file TableFunctionManager.h.
References get_ncols(), isSingleton(), output_col_buf_ptrs, output_column_ptrs, and set_singleton().
|
inline |
Definition at line 176 of file TableFunctionManager.h.
References isSingleton(), and set_singleton().
|
inline |
Definition at line 102 of file TableFunctionManager.h.
References QueryMemoryDescriptor::addColSlotInfo(), align_to_int64(), CHECK, CHECK_EQ, check_thread_id(), col_buf_ptrs_, CPU, exe_unit_, executor_, get_ncols(), output_col_buf_ptrs, output_column_ptrs, output_num_rows_, query_buffers, query_mem_desc, row_set_mem_owner_, QueryMemoryDescriptor::setOutputColumnar(), Column< T >::size(), TableFunction, TableFunctionExecutionUnit::target_exprs, and toString().
|
inline |
Definition at line 87 of file TableFunctionManager.h.
References thread_id_.
Referenced by allocate_output_buffers(), get_error_message(), set_error_message(), and set_output_column().
|
inline |
Definition at line 659 of file heavydbTypes.h.
References TableFunctionManager_error_message().
|
inline |
Definition at line 162 of file TableFunctionManager.h.
References check_thread_id(), and error_message_.
|
inline |
Definition at line 82 of file TableFunctionManager.h.
References exe_unit_, and TableFunctionExecutionUnit::target_exprs.
Referenced by allocate_output_buffers(), set_output_column(), and TableFunctionManager().
|
inline |
|
inlinestatic |
Definition at line 182 of file TableFunctionManager.h.
|
inlinestatic |
Definition at line 651 of file heavydbTypes.h.
References TableFunctionManager_get_singleton().
Referenced by ct_sleep1__cpu_(), ct_sleep2(), and set_singleton().
|
inline |
Definition at line 174 of file TableFunctionManager.h.
References is_singleton_.
Referenced by TableFunctionManager(), and ~TableFunctionManager().
|
inlineprivate |
Definition at line 188 of file TableFunctionManager.h.
References TableFunctionManager_singleton_mutex.
Referenced by set_singleton().
|
inline |
Definition at line 167 of file TableFunctionManager.h.
References check_thread_id(), and error_message_.
|
inline |
Definition at line 95 of file TableFunctionManager.h.
References CHECK, check_thread_id(), get_ncols(), and output_column_ptrs.
|
inline |
Definition at line 655 of file heavydbTypes.h.
References TableFunctionManager_set_output_row_size().
Referenced by ct_add_size_and_mul_alpha(), ct_copy_and_add_size(), ct_cursor_named_args__cpu_(), ct_pushdown_projection__cpu_template(), ct_pushdown_stats__cpu_template(), ct_scalar_named_args__cpu_(), ct_sleep2(), ct_sparse_add(), ct_string_concat__cpu_(), ct_substr__cpu_(), ct_synthesize_new_dict__cpu_(), ct_test_preflight_multicursor_qe227__cpu_(), ct_test_preflight_singlecursor_qe227__cpu_(), ct_throw_if_gt_100__cpu_template(), ct_timestamp_add_offset(), ct_timestamp_column_list_input(), ct_timestamp_extract(), ct_timestamp_truncate(), ct_union_pushdown_projection__cpu_template(), ct_union_pushdown_stats__cpu_template(), generate_random_strings__cpu_(), generate_series__cpu_1(), Mandelbrot::mandelbrot_cpu_template(), and GeoRaster< T, Z >::outputDenseColumns().
|
inlinestaticprivate |
Definition at line 191 of file TableFunctionManager.h.
References CHECK, get_singleton(), and lock().
Referenced by TableFunctionManager(), and ~TableFunctionManager().
|
inlineprivate |
Definition at line 189 of file TableFunctionManager.h.
References TableFunctionManager_singleton_mutex.
|
private |
Definition at line 207 of file TableFunctionManager.h.
Referenced by allocate_output_buffers().
|
private |
Definition at line 221 of file TableFunctionManager.h.
Referenced by get_error_message(), and set_error_message().
|
private |
Definition at line 204 of file TableFunctionManager.h.
Referenced by allocate_output_buffers(), and get_ncols().
|
private |
Definition at line 205 of file TableFunctionManager.h.
Referenced by allocate_output_buffers().
|
private |
Definition at line 217 of file TableFunctionManager.h.
Referenced by isSingleton().
|
private |
Definition at line 211 of file TableFunctionManager.h.
Referenced by allocate_output_buffers(), and TableFunctionManager().
|
private |
Definition at line 215 of file TableFunctionManager.h.
Referenced by allocate_output_buffers(), set_output_column(), and TableFunctionManager().
|
private |
Definition at line 213 of file TableFunctionManager.h.
Referenced by allocate_output_buffers(), and get_nrows().
std::unique_ptr<QueryMemoryInitializer> TableFunctionManager::query_buffers |
Definition at line 55 of file TableFunctionManager.h.
Referenced by allocate_output_buffers().
|
private |
Definition at line 209 of file TableFunctionManager.h.
Referenced by allocate_output_buffers().
|
private |
Definition at line 219 of file TableFunctionManager.h.
Referenced by check_thread_id().