Class TableFunctionExecutionContext

class TableFunctionExecutionContext

Public Functions

TableFunctionExecutionContext(std::shared_ptr<RowSetMemoryOwner> row_set_mem_owner)
TableFunctionExecutionContext(const TableFunctionExecutionContext&)
TableFunctionExecutionContext &operator=(const TableFunctionExecutionContext&)
ResultSetPtr execute(const TableFunctionExecutionUnit &exe_unit, const std::vector<InputTableInfo> &table_infos, const std::shared_ptr<CompilationContext> &compilation_context, const ColumnFetcher &column_fetcher, const ExecutorDeviceType device_type, Executor *executor, bool is_pre_launch_udtf)

Private Functions

void launchPreCodeOnCpu(const TableFunctionExecutionUnit &exe_unit, const std::shared_ptr<CpuCompilationContext> &compilation_context, std::vector<const int8_t *> &col_buf_ptrs, std::vector<int64_t> &col_sizes, const size_t elem_count, Executor *executor)
ResultSetPtr launchCpuCode(const TableFunctionExecutionUnit &exe_unit, const std::shared_ptr<CpuCompilationContext> &compilation_context, std::vector<const int8_t *> &col_buf_ptrs, std::vector<int64_t> &col_sizes, std::vector<const int8_t *> &input_str_dict_proxy_ptrs, const size_t elem_count, std::vector<int8_t *> &output_str_dict_proxy_ptrs, Executor *executor)
ResultSetPtr launchGpuCode(const TableFunctionExecutionUnit &exe_unit, const std::shared_ptr<GpuCompilationContext> &compilation_context, std::vector<const int8_t *> &col_buf_ptrs, std::vector<int64_t> &col_sizes, std::vector<const int8_t *> &input_str_dict_proxy_ptrs, const size_t elem_count, std::vector<int8_t *> &output_str_dict_proxy_ptrs, const int device_id, Executor *executor)

Private Members

std::shared_ptr<RowSetMemoryOwner> row_set_mem_owner_