hybridse::vm::EngineOptions

#include <engine.h>

An options class for controlling engine behaviour.

Summary

Public functions

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

bool Return if only support to compile physical plan.

set_plan_only(bool flag)

void

is_plan_only() const

bool

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.

bool Return if the engine is performance sensitive.

EngineOptions * Set if the engine support cluster optimization.

bool Return if the engine support cluster optimization.

EngineOptions * Set if the engine supoort batch request optimization.

bool Return if the engine support batch request optimization.

EngineOptions * Set if the engine can support expression optimization.

bool Return if the engine support expression optimization.

EngineOptions * Set if the engine can support batch window parallelization.

bool Return if the engine support batch window parallelization.

EngineOptions * Set if the engine can support spark unsafe row format.

bool Return if the engine can support can support spark unsafe row format.

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