hybridse::vm::EngineOptions
#include <engine.h>
An options class for controlling engine behaviour.
Summary
set_keep_ir(bool flag)
void Set if support to store ir results into SqlContext.
is_keep_ir() const
bool Return if support to store ir results into SqlContext.
set_compile_only(bool flag)
void
is_compile_only() const
bool Return if only support to compile physical plan.
set_plan_only(bool flag)
void
is_plan_only() const
bool
max_sql_cache_size() const
uint32_t Return the maximum number of entries we can hold for compiling cache.
set_max_sql_cache_size(uint32_t size)
void Set the maxinum number of cache entries.
set_performance_sensitive(bool flag)
void
is_performance_sensitive() const
bool Return if the engine is performance sensitive.
set_cluster_optimized(bool flag)
EngineOptions * Set if the engine support cluster optimization.
is_cluster_optimzied() const
bool Return if the engine support cluster optimization.
set_batch_request_optimized(bool flag)
EngineOptions * Set if the engine supoort batch request optimization.
is_batch_request_optimized() const
bool Return if the engine support batch request optimization.
set_enable_expr_optimize(bool flag)
EngineOptions * Set if the engine can support expression optimization.
is_enable_expr_optimize() const
bool Return if the engine support expression optimization.
set_enable_batch_window_parallelization(bool flag)
EngineOptions * Set if the engine can support batch window parallelization.
bool Return if the engine support batch window parallelization.
set_enable_spark_unsaferow_format(bool flag)
EngineOptions * Set if the engine can support spark unsafe row format.
is_enable_spark_unsaferow_format() const
bool Return if the engine can support can support spark unsafe row format.
hybridse::vm::JitOptions & Return JitOptions.
Public Functions
function EngineOptions
function set_keep_ir
Set if support to store ir results into SqlContext.
function is_keep_ir
Return if support to store ir results into SqlContext.
function set_compile_only
Set if only support to compile SQL.
If set true, the engine won't generate runner plan as well.
function is_compile_only
Return if only support to compile physical plan.
function set_plan_only
Set if the engine only generate physical plan.
If set true, the engine won't build llvm jit.
function is_plan_only
function max_sql_cache_size
Return the maximum number of entries we can hold for compiling cache.
function set_max_sql_cache_size
Set the maxinum number of cache entries.
function set_performance_sensitive
Set if the engine is performance sensitive.
Normally, the engine can support more abilities under performance un-sensitive mode.
function is_performance_sensitive
Return if the engine is performance sensitive.
function set_cluster_optimized
Set if the engine support cluster optimization.
function is_cluster_optimzied
Return if the engine support cluster optimization.
function set_batch_request_optimized
Set if the engine supoort batch request optimization.
function is_batch_request_optimized
Return if the engine support batch request optimization.
function set_enable_expr_optimize
Set if the engine can support expression optimization.
function is_enable_expr_optimize
Return if the engine support expression optimization.
function set_enable_batch_window_parallelization
Set if the engine can support batch window parallelization.
function is_enable_batch_window_parallelization
Return if the engine support batch window parallelization.
function set_enable_spark_unsaferow_format
Set if the engine can support spark unsafe row format.
function is_enable_spark_unsaferow_format
Return if the engine can support can support spark unsafe row format.
function jit_options
Return JitOptions.
Last updated