OmniSciDB  c1a53651b2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExecutionOptions Struct Reference

#include <CompilationOptions.h>

Public Member Functions

void setNoExplainExecutionOptions (bool no_validation=false)
 

Static Public Member Functions

static ExecutionOptions defaults ()
 

Public Attributes

bool output_columnar_hint
 
bool keep_result
 
bool allow_multifrag
 
bool just_explain
 
bool allow_loop_joins
 
bool with_watchdog
 
bool jit_debug
 
bool just_validate
 
bool with_dynamic_watchdog
 
unsigned dynamic_watchdog_time_limit
 
bool find_push_down_candidates
 
bool just_calcite_explain
 
double gpu_input_mem_limit_percent
 
bool allow_runtime_query_interrupt
 
double running_query_interrupt_freq
 
unsigned pending_query_interrupt_freq
 
bool optimize_cuda_block_and_grid_sizes
 
size_t max_join_hash_table_size = std::numeric_limits<size_t>::max()
 
ExecutorType executor_type = ExecutorType::Native
 
std::vector< size_t > outer_fragment_indices {}
 

Detailed Description

Definition at line 80 of file CompilationOptions.h.

Member Function Documentation

static ExecutionOptions ExecutionOptions::defaults ( )
inlinestatic

Definition at line 102 of file CompilationOptions.h.

Referenced by RelAlgExecutor::getJoinInfo(), QueryRunner::QueryRunner::getRelAlgDag(), and QueryRunner::anonymous_namespace{QueryRunner.cpp}::run_select_query_with_filter_push_down().

102  {
103  return ExecutionOptions{/*output_columnar_hint=*/false,
104  /*keep_result=*/false,
105  /*allow_multifrag=*/true,
106  /*just_explain=*/false,
107  /*allow_loop_joins=*/false,
108  /*with_watchdog=*/true,
109  /*jit_debug=*/false,
110  /*just_validate=*/false,
111  /*with_dynamic_watchdog=*/false,
112  /*dynamic_watchdog_time_limit=*/0,
113  /*find_push_down_candidates=*/false,
114  /*just_calcite_explain=*/false,
115  /*=gpu_input_mem_limit_percent=*/1.0,
116  /*allow_runtime_query_interrupt=*/false,
117  /*running_query_interrupt_freq=*/0.5,
118  /*pending_query_interrupt_freq=*/1000,
119  /*optimize_cuda_block_and_grid_sizes*/ false};
120  }

+ Here is the caller graph for this function:

void ExecutionOptions::setNoExplainExecutionOptions ( bool  no_validation = false)
inline

Definition at line 121 of file CompilationOptions.h.

References just_calcite_explain, just_explain, and just_validate.

Referenced by RelAlgExecutor::handleOutOfMemoryRetry().

121  {
122  just_explain = false;
123  just_calcite_explain = false;
124  if (no_validation) {
125  just_validate = false;
126  }
127  }

+ Here is the caller graph for this function:

Member Data Documentation

bool ExecutionOptions::allow_multifrag

Definition at line 83 of file CompilationOptions.h.

Referenced by Executor::createKernels().

bool ExecutionOptions::allow_runtime_query_interrupt
unsigned ExecutionOptions::dynamic_watchdog_time_limit
double ExecutionOptions::gpu_input_mem_limit_percent
bool ExecutionOptions::jit_debug

Definition at line 87 of file CompilationOptions.h.

bool ExecutionOptions::keep_result
size_t ExecutionOptions::max_join_hash_table_size = std::numeric_limits<size_t>::max()

Definition at line 98 of file CompilationOptions.h.

Referenced by RelAlgExecutor::executeRelAlgStep().

bool ExecutionOptions::optimize_cuda_block_and_grid_sizes
std::vector<size_t> ExecutionOptions::outer_fragment_indices {}
unsigned ExecutionOptions::pending_query_interrupt_freq

Definition at line 96 of file CompilationOptions.h.

double ExecutionOptions::running_query_interrupt_freq

Definition at line 95 of file CompilationOptions.h.

bool ExecutionOptions::with_dynamic_watchdog
bool ExecutionOptions::with_watchdog

The documentation for this struct was generated from the following file: