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