Struct TableFunctionManager

struct TableFunctionManager

Public 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()

Public Members

std::unique_ptr<QueryMemoryInitializer> query_buffers

Public Static Functions

static TableFunctionManager *get_singleton()
static TableFunctionManager *&get_singleton()

Private Functions

void lock()
void unlock()

Private Members

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_

Private Static Functions

static void set_singleton(TableFunctionManager *instance)